diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 04:56:03 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-09-19 04:56:03 +0000 |
| commit | 533a0229e494d67891d8e52d54bf537635cc80de (patch) | |
| tree | 1a23b1d486f3b61f06616d445f6311fdb253ce81 /lib/puppet | |
| parent | 94f5865e4156a744e3d75a94ea337a07a0cfb82e (diff) | |
| download | puppet-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
Diffstat (limited to 'lib/puppet')
| -rwxr-xr-x | lib/puppet/provider/package/aptitude.rb | 3 |
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 |
