Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zabbix:agent error with module puppet-systemd > 3.3.0 #799

Closed
lduriez opened this issue Oct 4, 2021 · 1 comment
Closed

Zabbix:agent error with module puppet-systemd > 3.3.0 #799

lduriez opened this issue Oct 4, 2021 · 1 comment

Comments

@lduriez
Copy link

lduriez commented Oct 4, 2021

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 6.24.0
  • Distribution: Amazon Linux 2 & CentOS 7
  • Module version: 9.1.0

How to reproduce (e.g Puppet code you use)

puppet-zabbix 9.1.0 et puppet-systemd > 3.3.0

What are you seeing

When apply zabbix::agent classes I had the following error :

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Class[Systemd]: expects a value for parameter 'accounting' (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/startup.pp, line: 40, column: 5) (file: /etc/puppetlabs/code/environments/production/modules/zabbix/manifests/agent.pp, line: 439)

When downgraded to puppet-systemd 3.3.0 the error disappear.

In puppet-systemd version 3.4.0 they adding an enhancement about "accounting" I think that's the failure point.

@root-expert
Copy link
Member

@lduriez master branch of this module should be fixing this issue.

@ekohl ekohl closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants