[Puppet Users] Re: what are the constraints on the contents of 'imported ' files

2010-11-22 Thread jcbollinger
On Nov 20, 1:53 pm, "russell.fulton" wrote: > one question can you have more than one instance of a parameterised > module?  I am guessing the answer is no.  I could not find an explicit > answer in the docs. I think you're asking about parameterized *classes*, as the Puppet terminology goes. T

[Puppet Users] Re: what are the constraints on the contents of 'imported ' files

2010-11-20 Thread russell.fulton
Thanks very much John. I had indeed been thinking of import as being like include. As it happens I have completely reworked this stuff and now the monitor module just deals with specifying what packages and users are pushed out. It also now imports a two defines which deal with all the config st

[Puppet Users] Re: what are the constraints on the contents of 'imported ' files

2010-11-19 Thread jcbollinger
On Nov 18, 7:09 pm, "russell.fulton" wrote: > I am trying to import a hash definition from a separate file but this > fails whereas including the text verbatim in the original manifest > works fine: > > class monitor ($master, $interface)  { > > #  import "masters.pp" > >    $sensor_rule_categori