On Mon, Jan 10, 2011 at 11:19:03AM -0800, trey85stang wrote:
> Bruce,  I think what you are saying is clicking now.
> 
> Now does puppet allow any variable substitution?

I do urge you to stop thinking in terms of scripts.  It doesn't map well
onto the way that Puppet works.  If you mean "How do I apply the same
changes to multiple nodes, with different values for each host?", then
one answer is to put the common actions into a class and set different
variable values in each node declaration.  Alternatively, put them into
a "define" and pass different parameters each time you call it.  You can
also use defines to repeate the same actions/changes with multiple
values within a single context (e.g. a node).  You should be able to
find examples in the online documentation.


-- 
Bruce

I must admit that the existence of Disneyland (which I know is real)
proves that we are not living in Judea in AD 50. -- Philip K. Dick

Attachment: signature.asc
Description: Digital signature

Reply via email to