Displaying 1 result from an estimated 1 matches for "broker_url".
2013 May 09
0
loading custom type
...ound that I can do this:
service = Puppet::Type.type(:service).new(:name=>''qpidd'')
service.provider.start
I would like to be able to do the same thing with my custom types, e.g.
broker = Puppet::Type.type(:broker).new(:service_name=>"qpidd_#{area_id}",
:url=>@broker_url)
or
exch = Puppet::Type.type(:exchange).new(:name=>''test'')
but in both cases, I get:
undefined method `new'' for nil:NilClass (NoMethodError)
so I checked the Puppet::MetaType::Manager @types, and my custom type
doesn''t show up in the list of known types....