Use explicit undef in else case

This is better than leaving it "unset".
This commit is contained in:
Pi3r 2014-02-25 14:54:09 +01:00
parent 24906d1bca
commit d6b11cd502

View file

@ -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,