hi > def restart > unless @resource[:hasrestart] == :false > super > else > service(@resource[:name], "restart") > end > end
btw, this should be: > def restart > unless @resource[:hasrestart] == :true > super > else > service(@resource[:name], "restart") > end > end but a much nicier version will come. greets pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en -~----------~----~----~----~------~----~------~--~---
