comparing variabled should use double quotes (interestingly, it does work with only one too)

This commit is contained in:
nadir 2012-12-18 22:31:00 +01:00
parent 4718ae27c9
commit 3a473dafd5

View 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",