summaryrefslogtreecommitdiff
path: root/manifests/dist_upgrade.pp
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2012-12-18 22:31:00 +0100
committernadir <nadir-technik@nadir.org>2012-12-18 22:31:00 +0100
commit3a473dafd5887cb77b0b764dd951d9581b69f160 (patch)
tree058dae76833d4eed38b37a04f94c0b729864d4c4 /manifests/dist_upgrade.pp
parent4718ae27c9e58e97baf520629ab154bc66acda6e (diff)
comparing variabled should use double quotes (interestingly, it does work with only one too)
Diffstat (limited to 'manifests/dist_upgrade.pp')
-rw-r--r--manifests/dist_upgrade.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/dist_upgrade.pp b/manifests/dist_upgrade.pp
index 347ccc7..47b1cff 100644
--- a/manifests/dist_upgrade.pp
+++ b/manifests/dist_upgrade.pp
@@ -1,6 +1,8 @@
class apt::dist_upgrade {
- if $apt::disable_update = false { include apt::update }
+ if $apt::disable_update == false {
+ include apt::update
+ }
exec { 'apt_dist-upgrade':
command => "/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade",