My puppet master is behind a proxy and unable to connect to a gem repo, so 
I used a different machine to fetch hiera and hiera-puppet gems, and the 
hiera-puppet source tarball.

I then did a gem install on them, and I made sure that hiera was in the 
path, and extracted the hiera-puppet sources into my modulepath.

I ran puppet agent on the master (as suggested by a comment on 
http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ ) and I 
also did a service puppetmaster restart.

I set up a basic hierarchy, with just a common layer for right now, and I 
added some variables to it.

When I do a puppet run, I get the following error:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: no 
such file to load -- hiera

Did I miss a step, or am I doing something wrong?

I am using puppet 2.7.14 on Lucid for my puppet master, and the agent in 
question is running 2.7.16 on Precise.

My hiera.yaml is:
---
:hierarchy:
  - common
:backends:
  - yaml
:yaml:
  :datadir: '/etc/puppet/environments/%{environment}/hieradata'

-- 
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/-/fq1TjFDBu9QJ.
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