FAQ

On 09/05/2012 11:37 PM, jcbollinger wrote:

class { "mymodule":
# parameters follow...
myparam => 'custom value'
}

Yes, it looks very much like a resource declaration. No, I don't think
that was a good design decision, but the prevailing opinion at
PuppetLabs is different, or was when parametrized classes were added.
It's a shame you cannot define multiple instances of parametrized
classes with different parameters :(

Anyway, how should I approach adding dynamic content into node's
manifest, using a define maybe?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 9 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedSep 5, '12 at 6:19p
activeSep 11, '12 at 5:00p
posts9
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2021 Grokbase