summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-10 10:53:15 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-10 10:53:25 -0400
commite3aef58231971efb1116aaa7ad0f3c6846301bc8 (patch)
tree6f0878ed40f96766ba67673e4c2e31ade3b16cd1 /src
parent3232277c559352a9f1398519729b1027d908f33d (diff)
downloadbcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.tar.gz
bcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.tar.bz2
bcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.zip
set important on yum/apt config generated by Packages
Diffstat (limited to 'src')
-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()