Closed smortex closed 5 years ago
that's why there is the manage_package
parameter, would that suit your needs?
I'd like to keep the syslog-ng package management to its minimal form.
At one point I'll probably even drop it, and simply require the syslog_ng
module instead
Yup, manage_package
is surely an option :-)
Depending on ccin2p3/syslog_ng also makes a lot of sense. Feel free to ping me if I can help in this area.
According to the documentation of
ensure_resource()
of stdlib:It happens that the puppet-syslog_ng module does declare the same resource with different (meta-)parameters:
https://github.com/ccin2p3/puppet-syslog_ng/blob/master/manifests/init.pp#L28-L34
As a consequence, the catalog fails to compile:
The
ensure_packages()
function does not suffer from this, so rely on it instead ofensure_resource()
.