Displaying 3 results from an estimated 3 matches for "safeevalu".
Did you mean:
safeeval
2013 Mar 06
0
"Cannot find definition Class" and "Could not find class" hiccups after manifest/module update - once for every agent
...by/site_ruby/1.8/puppet/parser/functions.rb:146:in
`function_include''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:31:in `send''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:31:in `evaluate''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:25:in `evaluate''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `each''
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/astarray.rb:20:in `evaluate''
/usr/lib/ruby/site_ruby/1.8/puppet/par...
2012 Oct 26
8
Puppet 3.0 rspec and custom resources
...by-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast/resource.rb:25:in
`collect''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast/resource.rb:25:in
`evaluate''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast.rb:62:in
`safeevaluate''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast/astarray.rb:25:in
`evaluate''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0.1/lib/puppet/parser/ast/astarray.rb:20:in
`each''
/home/nrhuff/.rvm/gems/ruby-1.8.7-p358/gems/puppet-3.0...
2012 Jul 05
1
Ruby DSL parameterized classes and defaults
...st, :arguments => { :param1 => "blah" } do
end
I call from Puppet DSL:
class {"test":
}
I get this as an error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet::Parser::AST::Resource failed with error NoMethodError: undefined
method `safeevaluate'' for "blah":String at
/data/puppet/nbenns/modules/atg/manifests/init.pp:56 on node <removed>
If I add the parameter in its fine.
If :arguments => { :param1 => "blah" } isn''t used as :arguments => {
paramname => default value }
then what...