diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-10 10:53:15 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-10 10:53:25 -0400 |
commit | e3aef58231971efb1116aaa7ad0f3c6846301bc8 (patch) | |
tree | 6f0878ed40f96766ba67673e4c2e31ade3b16cd1 /src/lib | |
parent | 3232277c559352a9f1398519729b1027d908f33d (diff) | |
download | bcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.tar.gz bcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.tar.bz2 bcfg2-e3aef58231971efb1116aaa7ad0f3c6846301bc8.zip |
set important on yum/apt config generated by Packages
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/__init__.py | 11 |
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() |