I'm finding the way to import a file or a class stored in string in
ruby manifest.
I have tried following code to parse the class having packages and
services.
pp = Puppet::Parser::Parser.new(development)
pp.string = class webhttpd{package { 'httpd': ensure = installed, }
service { 'httpd':
Have a look at external node classifiers, I believe this is a more
appropriate approach for what you are trying to accomplish:
http://docs.puppetlabs.com/guides/external_nodes.html
On Wed, Mar 23, 2011 at 7:47 AM, junaid_malik junaidmali...@gmail.comwrote:
I'm finding the way to import a file