diff options
author | Micah Anderson <micah@riseup.net> | 2010-12-18 15:47:11 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-12-18 15:47:11 -0500 |
commit | c5dc8ff5fc7762fc81871f71bed54daaee1f8707 (patch) | |
tree | 7d4e09f454c7a931ce0fd2dd2ebce681e783df60 | |
parent | 5fdadb955d1a09b2b54cf9c746a9501b9400cd59 (diff) |
add -q to the apt-get invocation in upgrade_package.pp, also switch to using -y instead of --force-yes. this way we are acting in the same way as the dist_upgrade class
-rw-r--r-- | manifests/upgrade_package.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/upgrade_package.pp b/manifests/upgrade_package.pp index ceb8ca3..9202624 100644 --- a/manifests/upgrade_package.pp +++ b/manifests/upgrade_package.pp @@ -22,7 +22,7 @@ define apt::upgrade_package ($version = "") { } } - exec { "apt-get --force-yes -o DPkg::Options::=--force-confold install ${name}${version_suffix}": + exec { "apt-get -q -y -o 'DPkg::Options::=--force-confold' install ${name}${version_suffix}": onlyif => [ "grep-status -F Status installed -a -P $name -q", "apt-show-versions -u $name | grep -q upgradeable" ], require => [ Exec['apt_updated'], |