Hi guys,
I'm having problems migrating from 3.8 to 4.2...
# puppet agent -tv --tags snmp --noop
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Evaluation Error: Error while evaluating a Function Call, Error
from DataBinding 'hiera' while looking up 'yum::conf::stage':
(<unknown>): sequence entries are not allowed here at line 13 column 25
at
/etc/puppetlabs/code/environments/production/modules/yum/manifests/init.pp:11:3
on node kickstart.neogov.net
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
# cat /etc/puppetlabs/code/hiera.yaml
---
:backends:
- yaml
:yaml:
:datadir: "/etc/puppetlabs/code/environments/%{environment}/hieradata"
:hierarchy:
- "host/%{::fqdn}"
- "domain/%{::domain}"
- useraccounts
- "osfamily/%{::family}"
- common
Now, if I state a wrong hiera directory, for example hiera_data, my
manifests start working again, but without Hiera, agent wants to make
changes to defaults...
So, my question is - any ideas why do I get this error?
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/561D1910.4020409%40gmail.com.
For more options, visit https://groups.google.com/d/optout.