[Puppet Users] puppet ignoring hiera

2015-06-18 Thread Peter Berghold
I'm sure I've forgotten something here, but in a Vagrant VM I have set up a
test environment to test some stuff before bringing into my Puppet
environment.

Here's my puppet.conf file.  Very minimal:
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
hiera_config = /etc/puppet/hiera.yaml

[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY

Here is the hiera.yaml file:
---
:backends:
  - yaml
:hierarchy:
  - defaults
  - nodes/%{fqdn}
  - %{clientcert}
  - %{environment}
  - global

:yaml:
# datadir is empty here, so hiera uses its defaults:
# - /var/lib/hiera on *nix
# - %CommonAppData%\PuppetLabs\hiera\var on Windows
# When specifying a datadir, make sure the directory exists.
  :datadir: /etc/puppet/hiera

and here is the global.yaml
---
classes:
  - puppet::agent

Pretty simple stuff.   However the puppet::agent class is not being applied
to any of the hosts during agent run.

So... what am I missing here?

-- 
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/CAArvnv2y58pdpxcsvbozrnieig%3D9yqz-bWEispH7sFxact1Xhw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] puppet ignoring hiera

2015-06-18 Thread Craig Dunn
On Thu, Jun 18, 2015 at 4:34 PM, Peter Berghold salty.cowd...@gmail.com wrote:

 So... what am I missing here?

hiera_include('classes') in site.pp?


-- 
Enviatics | Automation and configuration management
http://www.enviatics.com | @Enviatics
Puppet Training http://www.enviatics.com/training/

-- 
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/CACxdKhH8_pNJtCNqYXH_XEUMa3YUJQud4newy8eqxCnvnXHa%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.