You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Info: Applying configuration version '1484052344'
Error: Could not find user zabbix
Error: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/owner: change from www-data to zabbix failed: Could not find user zabbix
Error: Could not find group zabbix
Error: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web]/group: change from root to zabbix failed: Could not find group zabbix
Notice: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web/zabbix.conf.php]: Dependency File[/etc/zabbix/web] has failures: true
Warning: /Stage[main]/Zabbix::Web/File[/etc/zabbix/web/zabbix.conf.php]: Skipping because of failed dependencies
I believe the zabbix user comes from the zabbix package install, not from this class. Can you double check to make sure the rpm/deb/whatever did not have an issue running the post-install/upgrade script, or that additional manual efforts were not taken afterward that would affect that?
In my case I use distributed zabbix. 4 multiple-node zabbix. In the node I have only Zabbix Web frontend zabbix-frontend-php installed. That package appears to won't create zabbix user.
For now, you will want to manage the user/group as resources in your manifest. I'm not particularly well versed in this module, so I am not sure if those resources can be effectively managed by the module or not, or when that might be added.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
distributed zabbix web fronted only.
What are you seeing
Any additional information you'd like to impart
https://github.com/voxpupuli/puppet-zabbix/blob/master/manifests/web.pp#L349-L355
changing owner and group from zabbix to www-data solves the issue.
The text was updated successfully, but these errors were encountered: