I'm missing something. I've never been able to include classes via hiera
via the hiera_include('classes') command. Any insight?
If I call :
# /opt/puppetlabs/bin/puppet agent -t --debug > /tmp/debug
Yields:
> Error: Could not retrieve catalog from remote server: Error 500 on SERVER:
> Server Error: Evaluation Error: Error while evaluating a Function Call,
> undefined method `downcase' for nil:NilClass at
> /etc/puppetlabs/code/environments/development/manifests/site.pp:1:1 on node
> mycomputer.domain.com
> Warning: Not using cache on failed catalog
> Error: Could not retrieve catalog; skipping run
I've never had any trouble with putting "include ::ntp" inside the default
node class.
When site.pp looks like this:
hiera_include('classes')
node default {
}
cat /etc/puppetlabs/code/environments/development/hieradata/common.yaml
---
magic_word : '%{::environment}/hieradata/common.yaml'
magic_word_common : 'common.yaml was consulted'
magic_word_environment : '%{::environment}'
classes:
- ntp
...[etc]
Thx in advance.
puppetserver 4.9.4
puppet agent on mycomputer: 4.10.0
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/ddeb4852-8dce-46b5-9d5b-92912ce39290%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.