Merge pull request #155 from PierreR/patch-1

Use explicit undef in else case
This commit is contained in:
Ashley Penney 2014-03-27 13:57:43 -04:00
commit 0b540dbb86

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,