Re: [Puppet-dev] creating a class with resources in it dynamically

2012-11-13 Thread R.I.Pienaar
- Original Message - > From: "R.I.Pienaar" > To: puppet-dev@googlegroups.com > Sent: Tuesday, November 13, 2012 6:22:15 PM > Subject: [Puppet-dev] creating a class with resources in it dynamically > > hello, > > I want to be able to do create a bunc

[Puppet-dev] creating a class with resources in it dynamically

2012-11-13 Thread R.I.Pienaar
hello, I want to be able to do create a bunch of resources inside a class ie. a bit like create_resources with with the additional step of also creating the class. A simple bit of testing inside a node block using inline_template: compiler = scope.compiler klass = Puppet::Parser