diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-15 15:18:16 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-15 15:18:16 +0100 |
commit | 75cf15b7c722d980d393fb81ffc85cf0b37ef6da (patch) | |
tree | 623e40dbcfa1f5a98392f6ea1e6e7f1e565c74c6 /manifests | |
parent | a084ac642c4ee7258356dc108acdcc4bfe614d49 (diff) | |
download | puppet-apt-75cf15b7c722d980d393fb81ffc85cf0b37ef6da.tar.gz puppet-apt-75cf15b7c722d980d393fb81ffc85cf0b37ef6da.tar.bz2 |
Fix packages dependency.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/upgrade_package.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/upgrade_package.pp b/manifests/upgrade_package.pp index 1c5cd95..8056286 100644 --- a/manifests/upgrade_package.pp +++ b/manifests/upgrade_package.pp @@ -8,6 +8,11 @@ define apt::upgrade_package ($version = "") { default => "=${version}", } + package { ['apt-show-versions', 'dctrl-tools']: + ensure => installed, + require => undef, + } + 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 => [ |