puppet-logrotate
puppet-logrotate copied to clipboard
Proposal for introducing create_resources
- Add simple version in main class that allows creating logrotate rules in Hiera with:
classes:
- logrotate
logrotate::rules:
'syslog':
[...]
I've not written any documentation or anything more for now. I wanted to know your opinion about this feature before going any further.
#43 handles this too, and uses a pattern that seems to be more popular/common.
#43 adds hiera support but does not allow one to take advantage of deep_merge
behavior that could be provided by using hiera_hash
function.