Skip to content

Commit

Permalink
fix voxpupuli#251 set groups default to undef for object servicegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
lbetz authored and n00by committed Apr 26, 2018
1 parent fed9751 commit c122ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/object/servicegroup.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
$ensure = present,
$servicegroup_name = $title,
$display_name = undef,
$groups = [],
$groups = undef,
$assign = [],
$ignore = [],
$template = false,
Expand All @@ -60,9 +60,9 @@
validate_bool($template)
validate_absolute_path($target)
validate_string($order)
validate_array ( $groups )

if $display_name { validate_string ( $display_name ) }
if $groups { validate_array ( $groups ) }


# compose attributes
Expand Down

0 comments on commit c122ef7

Please sign in to comment.