Closed 0none closed 3 years ago
There are two possible solutions:
Which solution do we prefer? @bastelfreak @0none
It's being addressed here #742 . Not ready though
it looks ready now, ran into the same problem and tested master from this module and it is working again.
Affected Puppet, Ruby, OS and module versions/distributions
Any additional information you'd like to impart
This is really just a heads-up. In a recent commit on the puppet module "systemd" which is a dependency for this module, the code that creates the resource
Exec[systemctl-daemon-reload]
is dropped. This causes any node that has the zabbix::agent class to fail with the error message listed below.Commit in question: https://github.com/camptocamp/puppet-systemd/commit/97dd16fa32886b5b0f77a6f38a4953d4c1511c0e
How to reproduce (e.g Puppet code you use)
Check out master branch of camptocamp/systemd, deploy node with
class { 'zabbix::agent' ...
configured.What are you seeing
Failure to compile catalog, since the resource
Exec[systemctl-daemon-reload]
is missing.What behaviour did you expect instead
The dependency being met.
Output log
2021-02-23T14:18:26.858+01:00 ERROR [qtp1804988349-2269] [puppetserver] Puppet Could not find resource 'Exec[systemctl-daemon-reload]' for relationship from 'File[/etc/systemd/system/zabbix-agent.service]' on node ((redacted))