diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/upgrade_package.pp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/manifests/upgrade_package.pp b/manifests/upgrade_package.pp index 99e9c2a..ecdd74f 100644 --- a/manifests/upgrade_package.pp +++ b/manifests/upgrade_package.pp @@ -1,12 +1,7 @@ define apt::upgrade_package ($version = "") { case $version { - '': { - exec { "aptitude -y install $name": - onlyif => [ "grep-status -F Status installed -a -P $name -q", "apt-show-versions -u $name | grep -q upgradeable" ], - } - } - 'latest': { + '', 'latest': { exec { "aptitude -y install $name": onlyif => [ "grep-status -F Status installed -a -P $name -q", "apt-show-versions -u $name | grep -q upgradeable" ], } |