diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-04 10:56:41 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-05-04 10:56:41 -0400 |
commit | 5c581e13092bda33165845fa4df16a7e2855e000 (patch) | |
tree | 9d709f9fbc790d4cd49ec474d667b5fba5035959 /src/lib/Bcfg2 | |
parent | a0fa9103721e6c165902d5db2e9b7b6cc2c30d5a (diff) | |
download | bcfg2-5c581e13092bda33165845fa4df16a7e2855e000.tar.gz bcfg2-5c581e13092bda33165845fa4df16a7e2855e000.tar.bz2 bcfg2-5c581e13092bda33165845fa4df16a7e2855e000.zip |
add essentialpkgs to all Source objects
Diffstat (limited to 'src/lib/Bcfg2')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Apt.py | 1 | ||||
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Source.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py b/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py index cbe2b4f2c..49e9d417b 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Apt.py @@ -12,7 +12,6 @@ class AptCollection(Collection): class AptSource(Source): basegroups = ['apt', 'debian', 'ubuntu', 'nexenta'] ptype = 'deb' - essentialpkgs = set() def __init__(self, basepath, xsource, config): Source.__init__(self, basepath, xsource, config) diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py index f005d41ec..ada04c067 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Source.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Source.py @@ -41,6 +41,7 @@ class Source(Bcfg2.Server.Plugin.Debuggable): self.basepath = basepath self.xsource = xsource self.config = config + self.essentialpkgs = set() try: self.version = xsource.find('Version').text |