Hi,

After some years of writing puppet modules, I think the ensure_resource behaviour (from stdlib) should be the default behaviour for all resources.

This will simplify the code, and made Puppet more accessible for beginners.

Ref. https://forge.puppet.com/puppetlabs/stdlib/readme#ensure_resource
Takes a resource type, title, and a hash of attributes that describe the resource(s). If the resource already exists, but does not match the specified parameters, this function attempts to recreate the resource, leading to a duplicate resource definition error.

So I think I'm not the first to ask for this, so why not ?

Best regards

--
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/571039f1-c85f-198b-dcf2-689e38d208f0%40quake.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to