]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
comparing variabled should use double quotes (interestingly, it does work with only...
authornadir <nadir-technik@nadir.org>
Tue, 18 Dec 2012 21:31:00 +0000 (22:31 +0100)
committernadir <nadir-technik@nadir.org>
Tue, 18 Dec 2012 21:31:00 +0000 (22:31 +0100)
manifests/dist_upgrade.pp

index 347ccc783097921446668a7f8ebff05fcd7fbe49..47b1cff65319d342cbc89eddb1d87003fa36cae2 100644 (file)
@@ -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",