diff options
author | Micah Anderson <micah@riseup.net> | 2010-12-18 14:01:11 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-12-18 14:01:11 -0500 |
commit | 5fdadb955d1a09b2b54cf9c746a9501b9400cd59 (patch) | |
tree | 974b0b4125c9eb717871eb405d49f41e31ca71d8 /manifests | |
parent | 575e4ab9ccfc9933a35f79deba8651b7eec8a0cb (diff) |
switch aptitude to apt-get, since aptitude will sometimes automatically do things that are unrelated to the task at hand, such as deinstalling automatically installed packages, which can be undesirable behavior
Diffstat (limited to 'manifests')
-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 358bd9e..ceb8ca3 100644 --- a/manifests/upgrade_package.pp +++ b/manifests/upgrade_package.pp @@ -22,7 +22,7 @@ define apt::upgrade_package ($version = "") { } } - exec { "aptitude -y install ${name}${version_suffix}": + exec { "apt-get --force-yes -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'], |