Re: [Puppet Users] Call puppet define from Hiera

2023-08-31 Thread Martin Alfke
You either need a appconfig/manifests/init.pp class, or you can make use of stdlib::manage class and add the defined type to hiera See examples in https://dev.to/betadots/puppet-is-yaml-2e32 > On 28. Aug 2023, at 21:23, Ben Parry wrote: > > Puppeteers, > > I am bashing my head against a wall t

[Puppet Users] Call puppet define from Hiera

2023-08-28 Thread Ben Parry
Puppeteers, I am bashing my head against a wall try to call a custom defined resource (I think that's the right terminology) from Heira. I've created a class (appconfig) and within that I have used Puppet PDK to create a define to create an application config file (loadconf). It works perfect