Skip to content

Commit 8469f32

Browse files
Updated 'UNSET' to undef for external_nodes and node_terminus settings
1 parent df02b1a commit 8469f32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

manifests/master.pp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
$group_id = undef,
5858
$modulepath = $::puppet::params::modulepath,
5959
$manifest = $::puppet::params::manifest,
60-
$external_nodes = 'UNSET',
61-
$node_terminus = 'UNSET',
60+
$external_nodes = undef,
61+
$node_terminus = undef,
6262
$hiera_config = $::puppet::params::hiera_config,
6363
$environmentpath = $::puppet::params::environmentpath,
6464
$environments = $::puppet::params::environments,
@@ -229,7 +229,7 @@
229229
value => $environmentpath,
230230
}
231231

232-
if $external_nodes != 'UNSET'{
232+
if $external_nodes != undef {
233233
ini_setting {'puppetmasterencconfig':
234234
ensure => present,
235235
setting => 'external_nodes',
@@ -242,7 +242,7 @@
242242
value => 'exec'
243243
}
244244
}
245-
elsif $node_terminus != 'UNSET'{
245+
elsif $node_terminus != undef {
246246
ini_setting {'puppetmasternodeterminus':
247247
ensure => present,
248248
setting => 'node_terminus',

0 commit comments

Comments
 (0)