summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Packages/__init__.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/__init__.py b/src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
index e4793a28d..4b625c336 100644
--- a/src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
+++ b/src/lib/Bcfg2/Server/Plugins/Packages/__init__.py
@@ -73,11 +73,12 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
def create_config(self, entry, metadata):
""" create yum/apt config for the specified host """
- attrib = {'encoding': 'ascii',
- 'owner': 'root',
- 'group': 'root',
- 'type': 'file',
- 'perms': '0644'}
+ attrib = dict(encoding='ascii',
+ owner='root',
+ group='root',
+ type='file',
+ perms='0644',
+ important='true')
collection = self._get_collection(metadata)
entry.text = collection.get_config()