On 9 April 2013 17:18, joe <[email protected]> wrote:
> You can include a parameterized class as long as all it's parameters have
> default values.
or you use hiera or an External Node Classifier to automagically set the
variables that don't have defaults or override that ones you need to.
>
>
> On Monday, April 8, 2013 3:10:03 PM UTC-6, Shantanu wrote:
>>
>>
>> The parameterized classes guide mentions that a parameterized class is
>> declared using following syntax [1]:
>>
>> class {'classname': }
>>
>>
>> But the puppetlabs postgresql
>> module<https://github.com/puppetlabs/puppet-postgresql#setup>mentions that a
>> parameterized class '
>> postgresql::server<https://github.com/puppetlabs/puppet-postgresql/blob/master/manifests/server.pp>'
>> can be declared using 'include' syntax [2].
>>
>> So is 'include' syntax supported for parameterized classes now?
>>
>> --
>> Shantanu
>>
>>
>> 1.
>> http://docs.puppetlabs.com/**guides/parameterized_classes.**html<http://docs.puppetlabs.com/guides/parameterized_classes.html>
>> 2.
>> https://github.com/puppetlabs/**puppet-postgresql#setup<http://github.com/puppetlabs/puppet-postgresql#setup>
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.