comparing variabled should use double quotes (interestingly, it does work with only one too)
This commit is contained in:
parent
4718ae27c9
commit
3a473dafd5
1 changed files with 3 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue