puppet 3 and hiera

131 views
Skip to first unread message

llo...@oreillyauto.com

unread,
Jul 27, 2012, 3:03:15 PM7/27/12
to puppet...@googlegroups.com
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.


Reply all
Reply to author
Forward
0 new messages