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
If you write your bash script in Ruby (maybe ask chatgpt to do it) and put
it in your class in the folder lib/facter your next puppet run will
automatically update the facts and it will be available.
Best you read this page;
https://www.puppet.com/docs/puppet/6/custom_facts.html
On Thursday, 3