Skip to content

Commit

Permalink
correct problem when registration_collective parameter is undef
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Vigara committed Sep 4, 2013
1 parent 13ad4c0 commit 1f4672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/server.cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ classesfile = /var/lib/puppet/state/classes.txt
# Registration
registerinterval = <%= scope.lookupvar('mcollective::node::registerinterval') %>
registration = <%= scope.lookupvar('mcollective::node::registration') %>
<% if scope.lookupvar('mcollective::node::registration_collective') %>
<% if scope.lookupvar('mcollective::node::registration_collective') != :undef %>
registration_collective = <%= scope.lookupvar('mcollective::node::registration_collective') %>
<%- end %>

0 comments on commit 1f4672d

Please sign in to comment.