Hi,

in order to extend cucumber-puppet to support parameterised classes, I
need to create a node object from a parameterised class.

At the moment my code does sth like this:

node = Puppet::Node.new(@facts['hostname'], :classes => @klass)
node.merge(@facts)
@catalog = Puppet::Resource::Catalog.find(node.name, :use_node => node)

Where and how would I have to add the class's parameters?

cheers,

Nikolay

--
"It's all part of my Can't-Do approach to life." Wally

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to