diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-04 01:00:03 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-04 01:00:03 +0000 |
commit | 7bf3ab5025a43bf25e868aaee6c80f5b42a87163 (patch) | |
tree | e5393e19ba85592f36e78ec9f1cf0347f7090876 /src | |
parent | b529c65861eb298dacb5353d53382f1718fa7edc (diff) | |
download | bcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.tar.gz bcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.tar.bz2 bcfg2-7bf3ab5025a43bf25e868aaee6c80f5b42a87163.zip |
Fix owner and group names that contain dashes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2781 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py index 9169e2409..5d0ebb2ac 100644 --- a/src/lib/Server/Plugins/Cfg.py +++ b/src/lib/Server/Plugins/Cfg.py @@ -70,7 +70,7 @@ class FileEntry(Bcfg2.Server.Plugin.FileBacked): class ConfigFileEntry(object): '''ConfigFileEntry is a repository entry for a single file, containing all data for all clients.''' - info = re.compile('^owner:(\s)*(?P<owner>\w+)|group:(\s)*(?P<group>\w+)|' + + info = re.compile('^owner:(\s)*(?P<owner>\S+)|group:(\s)*(?P<group>\S+)|' + 'perms:(\s)*(?P<perms>\w+)|encoding:(\s)*(?P<encoding>\w+)|' + '(?P<paranoid>paranoid(\s)*)|interpolate:(\s)*(?P<interpolate>\w+)(\s)*$') |