Hi!  I think I've gone through the hiera install process correctly, but
still getting:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
undefined method `empty?' for false:FalseClass at
/etc/puppetlabs/puppet/modules/common/manifests/accounts.pp:27 on node

# gem list

*** LOCAL GEMS ***

activerecord (2.3.14)
activesupport (2.3.14)
ar-extensions (0.9.5)
builder (2.1.2)
dalli (1.1.2)
hiera (0.2.0)
hiera-puppet (0.2.0)
multi_json (1.0.3)
puppet-module (0.3.4)
rack (1.1.3)
rake (0.8.7)
rubygems-update (1.8.12)
sinatra (1.2.6)
stomp (1.1.9)
tilt (1.3.3)

and I downloaded the tar file and uncompressed it in the right place
according to
http://puppetlabs.com/blog/first-look-installing-and-using-hiera/

I can using the command line:
# hiera ntpserver
10.73.206.12

but not as a puppet module (see error above)

I've found that if i remove the yaml backend from my hiera.yaml, the puppet
run is successful, i.e. it doesn't complain, however it doesn't read from
my YAML hiera files!

Any advice would be greatly appreciated!

Thanks,
Guy

P.S. - my hiera.yaml looks like:
:backends: - yaml
           - puppet

:logger: console

:hierarchy: - 10-host/%{fqdn}
            - 20-env/%{env}
            - 30-genv/%{mserv_genv}
            - 40-tier-dc/%{mserv_tier}-%{mserv_dc}
            - 50-dc/%{mserv_dc}
            - 60-app/%{mserv_app}
            - 70-country/%{mserv_loc}
            - common
:yaml:
   :datadir: /etc/puppetlabs/puppet/hieradata

:puppet:
   :datasource: data

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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