Hi.
Previously we were using Puppet Enterprise and Hiera to provide class
parameters. For each node, we have a yaml file in /puppet/hieradata for
each node and also a global.yaml file. I have now moved to Foreman and
have moved the put the hiera.yaml, and hieradata folder in the same place.
However, when I look at the YAML output for a particular node on Foreman,
it is not picking up the parameters from the YAML file. Is there something
special I need to do to tell Foreman to use Hiera for data (and Foreman as
my ENC)?
Anyway help much appreciated.
Regards,
Tom
If you're following the standard hiera setup, In your site.pp i think you
need to specify "hiera_include('classes')"
https://docs.puppetlabs.com/hiera/1/puppet.html#assigning-classes-to-nodes-with-hiera-hierainclude
ยทยทยท
On Friday, April 17, 2015 at 11:27:33 AM UTC-5, Tom Arnautovic wrote:
>
> Hi.
>
> Previously we were using Puppet Enterprise and Hiera to provide class
> parameters. For each node, we have a yaml file in /puppet/hieradata for
> each node and also a global.yaml file. I have now moved to Foreman and
> have moved the put the hiera.yaml, and hieradata folder in the same place.
> However, when I look at the YAML output for a particular node on Foreman,
> it is not picking up the parameters from the YAML file. Is there something
> special I need to do to tell Foreman to use Hiera for data (and Foreman as
> my ENC)?
>
> Anyway help much appreciated.
>
> Regards,
>
> Tom
>
>