diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/upgrade_package.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/upgrade_package.pp b/manifests/upgrade_package.pp index 9f280c6..1c5cd95 100644 --- a/manifests/upgrade_package.pp +++ b/manifests/upgrade_package.pp @@ -10,7 +10,10 @@ define apt::upgrade_package ($version = "") { exec { "aptitude -y 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'], + require => [ + Exec['apt_updated'], + Package['apt-show-versions', 'dctrl-tools'], + ], } } |