On Dec 7, 3:58 pm, I wrote:
> In the first place, your definition is a bit screwey in that it cannot
> be instantiated more than once (you would get a duplicate resource
> error on File['sshd_config']).  A definition creates a resource *type*
> but you're using it as if it created a single resource.

The *right* way to do this, by the way, involves making that a class
instead of a definition.  I am not inclined to recommend parameterized
classes to anyone, however, and to change from a definition to an
unparameterized class would take more work and be more disruptive than
would the approach I described in my previous post.


John

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to