Open bastelfreak opened 8 years ago
The quickest fix that came up my mind: The three file resources in the userparameter.pp should also require the user/group zabbix.
@bastelfreak You mean that the userparameter.pp should also create the zabbix user/group if it isn't created yet?
AH, not directly, but thats a good idea and any maybe better than my own.
The user and group resurce is already in the moduke, I thought about using:
require => [User['zabbix'], Group['zabbix]]
in the userparameter.pp. But I'm not sure if this will create a dependency cycle, I had no time to test it. Maybe we could use create_resource() function here to define the user/group in the userparameter.pp as well.
Hi, my profile contains this:
results in:
using the latest commit of the module, zabbix 2.4, puppet 3.8.6.