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
This commit is contained in:
parent
5fdadb955d
commit
c5dc8ff5fc
1 changed files with 1 additions and 1 deletions
|
@ -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'],
|
||||
|
|
Loading…
Reference in a new issue