I just installed puppet 3 (3.0.0-0.1rc3puppetlabs1) on a 32bit Ubuntu 12.04 
'server' VM. I used the packages for the install.

I then copied over my existing modules and manifests from my production 
2.7.x puppet master, and also my hiera.yaml and hieradata/*.

When I run puppet agent --test I get the following:

Error: Puppet::Parser::AST::Resource failed with error NoMethodError: 
undefined method `empty_answer' for Hiera::Backend:Module at 
/etc/puppet/environments/test/manifests/nodes/puppet_nodes.pp:47 on node 
ll-puppet-master-vm

The line in question is:

  class { 'basenode':
    is_puppet_master => true;
  }



Basenode is:

class basenode (
  $is_puppet_master = false,
  $apt_host = 'repo.domain.com'
  ) {
...
}

For the module, hiera is not explicitly used.

Also,

root@ll-puppet-master-vm:/usr/lib/ruby/1.8/puppet/parser/functions# ls 
hiera*
hiera_array.rb  hiera_hash.rb  hiera_include.rb  hiera.rb

Am I missing something?

Thanks.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/BN3tA57HB1AJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to