Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
On Jul 23, 2010, at 3:37 PM, John T. Guthrie wrote: > Do I need to create a "wrapper" class for the define instantiation like this: > > class def_inst { >definetest::optfile { > "file1": > fname => "foo"; > "file2": >fname => "bar"; >} > } > > And

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread John T. Guthrie
On 07/23/2010 03:26 PM, Rob McBroom wrote: > On Jul 23, 2010, at 3:04 PM, John T. Guthrie wrote: > > >> What would be the LDAP equivalent of the following AST configuration: >> >> node "test" { >>definetest::optfile { >>"file1": >>fname => "foo"; >>"file2": >>

Re: [Puppet Users] instantiating defines in LDAP

2010-07-23 Thread Rob McBroom
On Jul 23, 2010, at 3:04 PM, John T. Guthrie wrote: > What would be the LDAP equivalent of the following AST configuration: > > node "test" { >definetest::optfile { >"file1": >fname => "foo"; >"file2": >fname => "bar"; >} > } So you want to list in

[Puppet Users] instantiating defines in LDAP

2010-07-23 Thread John T. Guthrie
Hello all, We are in the middle of converting our nodes to LDAP. One question that I am having that I have not been able to find anywhere is how does one instantiate a define in an LDAP node. That is, suppose that I have the following class: class definetest { define optfile(fname) {