[Puppet Users] Puppet 3.1, Hiera and a class parameter called service

2013-04-17 Thread Matthias Saou
Hi, I'm trying to clean up some manifests by moving class parameters which I change globally to Hiera lookups. I've been fighting with a boolean parameter for the last hour. My class has a parameter called $service, to enable/disable its service (duh!). When I try to set mymodule::service:

Re: [Puppet Users] Puppet 3.1, Hiera and a class parameter called service

2013-04-17 Thread Keith Burdis
Perhaps try using the str2bool function from puppetlabs-stdlib [1]. - Keith [1] https://github.com/puppetlabs/puppetlabs-stdlib On 17 Apr 2013 18:09, Matthias Saou matth...@saou.eu wrote: Hi, I'm trying to clean up some manifests by moving class parameters which I change globally to Hiera