Displaying 3 results from an estimated 3 matches for "known_resource_typ".
Did you mean:
known_resource_types
2010 Dec 09
1
Calling class defines in pure ruby DSL
Let''s say I have a define in class ''foo'' called ''foo::bar'':
define foo::bar ($var1, $var2) {
...
}
Then I have a ruby hostclass
hostclass :foo do
...
}
I see I can successfully set the parameters by doing:
environment.known_resource_types.definitions[''foo::bar''].set_arguments :var1 => ''val1'', :var2 => ''val2''
But this raises two problems.
1) foo::bar doesn''t exist in known_resource_types.definitions unless you add it manually or it exists in the same rb file as t...
2010 Oct 04
3
Upgrade to 2.6.1 appears to break puppetmaster
...`__send__''
/usr/lib/ruby/1.8/racc/parser.rb:152:in `yyparse''
/usr/lib/ruby/1.8/puppet/parser/parser_support.rb:181:in `parse''
/usr/lib/ruby/1.8/puppet/resource/type_collection.rb:165:in
`perform_initial_import''
/usr/lib/ruby/1.8/puppet/node/environment.rb:84:in `known_resource_types''
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize''
/usr/lib/ruby/1.8/puppet/node/environment.rb:81:in `known_resource_types''
/usr/lib/ruby/1.8/puppet/resource/type_collection_helper.rb:5:in
`known_resource_types''
/usr/lib/ruby/1.8/puppet/parser/compiler.rb:423:...
2010 Aug 25
18
Puppet hangs
Hello,
we have one puppet server managing approx servers, all FreeBSD.
The problem is that the puppet clients all hangs, one by one,
eventually. They will run for anything between an hour up to a week.
But eventually the all hang.
We really like puppet and want to keep using it. But the way it is now
is completely unusable. We''ve tried many versions, from 24.x, and now
2.6.1rc1. But