diff options
Diffstat (limited to 'src/lib/Bcfg2/Server/Admin')
-rw-r--r-- | src/lib/Bcfg2/Server/Admin/Compare.py | 2 | ||||
-rw-r--r-- | src/lib/Bcfg2/Server/Admin/Pull.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Compare.py b/src/lib/Bcfg2/Server/Admin/Compare.py index 78b30120a..b5e3c3c01 100644 --- a/src/lib/Bcfg2/Server/Admin/Compare.py +++ b/src/lib/Bcfg2/Server/Admin/Compare.py @@ -14,7 +14,7 @@ class Compare(Bcfg2.Server.Admin.Mode): def __init__(self, setup): Bcfg2.Server.Admin.Mode.__init__(self, setup) - self.important = {'Path': ['name', 'type', 'owner', 'group', 'perms', + self.important = {'Path': ['name', 'type', 'owner', 'group', 'mode', 'important', 'paranoid', 'sensitive', 'dev_type', 'major', 'minor', 'prune', 'encoding', 'empty', 'to', 'recursive', diff --git a/src/lib/Bcfg2/Server/Admin/Pull.py b/src/lib/Bcfg2/Server/Admin/Pull.py index 1ddb9c2ad..acbb44e9e 100644 --- a/src/lib/Bcfg2/Server/Admin/Pull.py +++ b/src/lib/Bcfg2/Server/Admin/Pull.py @@ -73,7 +73,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore): new_entry = {'type': etype, 'name': ename} for plugin in self.bcore.pull_sources: try: - (owner, group, perms, contents) = \ + (owner, group, mode, contents) = \ plugin.GetCurrentEntry(client, etype, ename) break except Bcfg2.Server.Plugin.PluginExecutionError: @@ -84,7 +84,7 @@ class Pull(Bcfg2.Server.Admin.MetadataCore): try: data = {'owner': owner, 'group': group, - 'perms': perms, + 'mode': mode, 'text': contents} except UnboundLocalError: print("Unable to build entry. " |