From 5c581e13092bda33165845fa4df16a7e2855e000 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 4 May 2012 10:56:41 -0400 Subject: add essentialpkgs to all Source objects --- src/lib/Bcfg2/Server/Plugins/Packages/Apt.py | 1 - src/lib/Bcfg2/Server/Plugins/Packages/Source.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-1-g7c22