summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2008-09-09 20:57:33 +0000
committerSol Jerome <solj@ices.utexas.edu>2008-09-09 20:57:33 +0000
commitcd78f764f64ea2984c6382a20b7ffd7d44345995 (patch)
treea1996016abd97cc0e4ea3ec3e74d6c343c9e12f8 /src/lib/Client
parentdd36b243507feb8a76c8b7dc99779594a2848d23 (diff)
downloadbcfg2-cd78f764f64ea2984c6382a20b7ffd7d44345995.tar.gz
bcfg2-cd78f764f64ea2984c6382a20b7ffd7d44345995.tar.bz2
bcfg2-cd78f764f64ea2984c6382a20b7ffd7d44345995.zip
Make APT use purge to remove extra services.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4909 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 871cc7830..6106b4085 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -98,7 +98,7 @@ class APT(Bcfg2.Client.Tools.PkgTool):
if len(packages) > 0:
self.logger.info('Removing packages:')
self.logger.info(pkgnames)
- if self.cmd.run("apt-get remove -y --force-yes %s" % pkgnames)[0] == 0:
+ if self.cmd.run("apt-get purge -y --force-yes %s" % pkgnames)[0] == 0:
self.modified += packages
self.RefreshPackages()
self.extra = self.FindExtraPackages()