What I like to do in situations like this:
service { 'httpd':
name => $service_name,
enable => $service_enable,
}
if $service_ensure {
Service['httpd'] { ensure => $service_ensure }
}
It looks like an override, but it does work in the same class iff the
respective pr
On Monday, January 13, 2014 6:27:17 AM UTC-8, jcbollinger wrote:
> All class parameters must have values assigned, whether by explicit
> declaration or by default value (or by automated data binding, but that
> requires Puppet 3). Undef is not a value. In fact "not a value" is
> practically i
On Friday, January 10, 2014 5:04:50 PM UTC-6, Jeffrey Lewis wrote:
>
> Hello,
>
> I apologize in advance if this question is redundant.
>
> I'm using puppet version 2.7.11 (because that's what Ubuntu 12.04 LTS has
> to offer) and I'd like to override a class default parameter with 'undef'.
> F