This is running on Puppet 3.8.1
On Tuesday, June 23, 2015 at 10:52:45 AM UTC+1, Alexander Dacre wrote:
>
> Hi,
>
> I'm in the process of deploying my first Puppet instance with hiera and
> environments but I'm having some difficulties. Configuration files listed
> below with the host names removed.
>
> [me@puppet puppet]$ cat /etc/puppet/hiera.yaml
> ---
> :backends:
> - yaml
> :yaml:
> :datadir: "/etc/puppet/environments/%{::environment}"
> :hierarchy:
> - "nodes/%{::fqdn}"
>
> [me@puppet puppet]$ cat
> /etc/puppet/environments/production/nodes/servers-fqdn.yaml
> ---
> ntp::restrict:
> -
> ntp::autoupdate: false
> ntp::enable: true
> ntp::servers:
> - 0.us.pool.ntp.org iburst
> - 1.us.pool.ntp.org iburst
> - 2.us.pool.ntp.org iburst
> - 3.us.pool.ntp.org iburst
>
> [me@puppet puppet]$ cat
> /etc/puppet/environments/production/manifests/site.pp
> hiera_include('classes')
>
>
> Seems to work from the command line:
>
> [me@puppet puppet]$ sudo hiera ntp::servers ::fqdn=servers-fqdn
> ::environment=production
> ["0.us.pool.ntp.org iburst",
> "1.us.pool.ntp.org iburst",
> "2.us.pool.ntp.org iburst",
> "3.us.pool.ntp.org iburst"]
>
> But not on the agents?
>
> Any suggestions on what I;m doing wrong?
>
> Thanks,
> Alex
>
--
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/35f87fc7-4778-4d5f-94b7-4b08d466f489%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.