Skip to content

Instantly share code, notes, and snippets.

@shawn-sterling
Created March 26, 2014 00:29
Show Gist options
  • Save shawn-sterling/9774519 to your computer and use it in GitHub Desktop.
Save shawn-sterling/9774519 to your computer and use it in GitHub Desktop.
hiera-eyaml problem
puppet apply site.pp --noop --debug --trace --color=no
Info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
Info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/os_maj_version.rb
Info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
Info: Loading facts in /var/lib/puppet/lib/facter/facter_dot_d.rb
hostname: Unknown host
Debug: importing '/etc/puppet/environments/master/modules/role/manifests/base.pp' in environment master
Debug: Automatically imported role::base from role/base into master
Debug: importing '/etc/puppet/environments/master/modules/profile/manifests/standard.pp' in environment master
Debug: Automatically imported profile::standard from profile/standard into master
Debug: importing '/etc/puppet/environments/master/modules/repo/manifests/ma.pp' in environment master
Debug: Automatically imported repo::domain from repo/ma into master
Debug: hiera(): [eyaml_backend]: Hiera eYAML backend starting
Debug: hiera(): [eyaml_backend]: Set option: pkcs7_private_key = /etc/puppet/secure/private_key.pkcs7.pem
Debug: hiera(): [eyaml_backend]: Set option: pkcs7_public_key = /etc/puppet/environments/master/public_key.pkcs7.pem
Debug: hiera(): [eyaml_backend]: Set option: datadir = /etc/puppet/environments/master/hiera/
Debug: hiera(): [eyaml_backend]: Looking up repo::domain::url in eYAML backend
Debug: hiera(): [eyaml_backend]: Looking for data source p1.domain.net
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/p1.domain.net.eyaml, skipping
Debug: hiera(): [eyaml_backend]: Looking for data source master
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/master.eyaml, skipping
Debug: hiera(): [eyaml_backend]: Looking for data source external
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/external.eyaml, skipping
Debug: hiera(): [eyaml_backend]: Looking for data source common
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/common.eyaml, skipping
Debug: hiera(): Hiera YAML backend starting
Debug: hiera(): Looking up repo::domain::url in YAML backend
Debug: hiera(): Looking for data source p1.domain.net
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/p1.domain.net.yaml, skipping
Debug: hiera(): Looking for data source master
Debug: hiera(): Cannot find datafile /etc/puppet/environments/master/hiera/master.yaml, skipping
Debug: hiera(): Looking for data source external
Error: Error from DataBinding 'hiera' while looking up 'repo::domain::url': undefined method `read_file' for #<Hiera::Filecache:0x7fe9cb8c85e0 @cache={}> on node p1.domain.net
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:363:in `lookup_with_databinding'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:348:in `lookup_external_default_for'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:377:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:299:in `set_resource_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:107:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:60:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:62:in `exceptwrap'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:43:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:12:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:11:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25: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/relationship.rb:13: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:293:in `evaluate_ast_node'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:23:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:204:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:146:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:4
Wrapped exception:
undefined method `read_file' for #<Hiera::Filecache:0x7fe9cb8c85e0 @cache={}>
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/data_binding/hiera.rb:23:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:358:in `lookup_with_databinding'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:348:in `lookup_external_default_for'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:377:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:299:in `set_resource_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:107:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:60:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:62:in `exceptwrap'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:43:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:12:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:11:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25: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/relationship.rb:13: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:293:in `evaluate_ast_node'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:23:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:204:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:146:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:4
Wrapped exception:
undefined method `read_file' for #<Hiera::Filecache:0x7fe9cb8c85e0 @cache={}>
/usr/lib/ruby/gems/1.8/gems/hiera-1.3.2/lib/hiera/backend/yaml_backend.rb:22:in `lookup'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:68:in `datasources'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:66:in `map'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:66:in `datasources'
/usr/lib/ruby/gems/1.8/gems/hiera-1.3.2/lib/hiera/backend/yaml_backend.rb:16:in `lookup'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:182:in `lookup'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:179:in `each'
/usr/lib/ruby/site_ruby/1.8/hiera/backend.rb:179:in `lookup'
/usr/lib/ruby/site_ruby/1.8/hiera.rb:64:in `lookup'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/data_binding/hiera.rb:21:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:358:in `lookup_with_databinding'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:348:in `lookup_external_default_for'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:377:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:299:in `set_resource_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:107:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:60:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:62:in `exceptwrap'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:43:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:12:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:11:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25: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/relationship.rb:13: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:293:in `evaluate_ast_node'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:23:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:204:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:146:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:4
Error: Error from DataBinding 'hiera' while looking up 'repo::domain::url': undefined method `read_file' for #<Hiera::Filecache:0x7fe9cb8c85e0 @cache={}> on node p1.domain.net
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:363:in `lookup_with_databinding'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:348:in `lookup_external_default_for'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:377:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:376:in `set_default_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:299:in `set_resource_parameters'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:107:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:60:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/util/errors.rb:62:in `exceptwrap'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:43:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:42:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:12:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/branch.rb:11:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25:in `collect'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resource.rb:25: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/relationship.rb:13: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:198:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:183:in `evaluate_classes'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/include.rb:28:in `real_function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:144:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/functions.rb:137:in `function_include'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42:in `send'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/function.rb:42: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/block_expression.rb:15:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `each'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/block_expression.rb:10:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast.rb:62:in `safeevaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/resource/type.rb:121:in `evaluate_code'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/resource.rb:79:in `evaluate'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:293:in `evaluate_ast_node'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:112:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/parser/compiler.rb:23:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:116:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler/none.rb:6:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/util/profiler.rb:31:in `profile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:114:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:161:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:160:in `benchmark'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:113:in `compile'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/catalog/compiler.rb:46:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:201:in `find'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:204:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/apply.rb:146:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:470:in `plugin_hook'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:364:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute'
/usr/bin/puppet:4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment