Sure. My mistake came from thinking that a class whose resources all had
variable titles, like file { "/path/$varname":, could be called multiple
times as long as each call had a unique value for the variable. Once that
bit was sorted I wrote my users type nearly identically to Keiran's
example. Eventually I made it a sub-type (terminology?) in that it went
from being just users to users::adduser because I found a need for a
singleton file in the users class and I could call the class indirectly
from inside the type with include users.
On Sunday, December 30, 2012 10:54:36 PM UTC-5, Stuart Cracraft wrote:
>
> J slavetonagios:
>
> Can you give the group more detail about how it helped you?
>
> Stuart
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/0xaHPDmlVcwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.