I am migrating a Puppet 3.x to Puppet 7.x and am having to rewrite alot of the code.
This includes a number of custom modules and my first foray into writing custom functions/providers.
This is where I am getting stuck as there is not really a lot of information on this.
Looking at existing Puppet modules they all seem to have been written using
'Type.newtype' format,
where as the latest puppet docs state I should be using the 'resourceapi' gem/format.
looking over recent releases on the forge shows that everyone still appears to be using the old format.
What are the brains trust using and have you migrated over to resourceapi?
Would also like some better information on writing/testing custom functions other than
outdated books, URL's if anyone can point them my way.
I haven't had much luck finding anything recent and related.
Baz