Use explicit undef in else case
This is better than leaving it "unset".
This commit is contained in:
parent
24906d1bca
commit
d6b11cd502
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ define concat::fragment(
|
|||
# if it looks line ensure => /target syntax was used, fish that out
|
||||
if ! ($_ensure in ['', 'present', 'absent', 'file' ]) {
|
||||
$ensure_target = $_ensure
|
||||
} else {
|
||||
$ensure_target = undef
|
||||
}
|
||||
|
||||
# the file type's semantics only allows one of: ensure => /target, content,
|
||||
|
|
Loading…
Reference in a new issue