Re: [Puppet-dev] if statement not being parsed when trying to select omit the ensure parameter from a resource.

2014-08-04 Thread David Schmitt
On 2014-08-02 06:19, Thom Luxford wrote: The intention is for the the service running state after boot to be optionally handled by puppet. Omitting the ensure parameter does this, but why can't I add it when I need it like this? service { "$my_module::params::myServiceName": if $::my_servic

[Puppet-dev] if statement not being parsed when trying to select omit the ensure parameter from a resource.

2014-08-04 Thread Thom Luxford
The intention is for the the service running state after boot to be optionally handled by puppet. Omitting the ensure parameter does this, but why can't I add it when I need it like this? service { "$my_module::params::myServiceName": if $::my_service_ensure_running != 'undef' { ensu