summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-19 04:56:03 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-09-19 04:56:03 +0000
commit533a0229e494d67891d8e52d54bf537635cc80de (patch)
tree1a23b1d486f3b61f06616d445f6311fdb253ce81
parent94f5865e4156a744e3d75a94ea337a07a0cfb82e (diff)
downloadpuppet-533a0229e494d67891d8e52d54bf537635cc80de.tar.gz
puppet-533a0229e494d67891d8e52d54bf537635cc80de.tar.xz
puppet-533a0229e494d67891d8e52d54bf537635cc80de.zip
applying patch from #275. aptitude -q works fine on my testing release, but apparently stable does not support it
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1623 980ebf18-57e1-0310-9a29-db15c13687c0
-rwxr-xr-xlib/puppet/provider/package/aptitude.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/provider/package/aptitude.rb b/lib/puppet/provider/package/aptitude.rb
index e95f484f6..80574bd88 100755
--- a/lib/puppet/provider/package/aptitude.rb
+++ b/lib/puppet/provider/package/aptitude.rb
@@ -7,7 +7,8 @@ Puppet::Type.type(:package).provide :aptitude, :parent => :apt do
ENV['DEBIAN_FRONTEND'] = "noninteractive"
def aptcmd(arg)
- aptitude(arg)
+ # Apparently aptitude hasn't always supported a -q flag.
+ aptitude(arg.gsub(/-q/,""))
end
end