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

how use zabbix::userparams ? #2

Closed
0utsider opened this issue May 31, 2014 · 2 comments
Closed

how use zabbix::userparams ? #2

0utsider opened this issue May 31, 2014 · 2 comments

Comments

@0utsider
Copy link

Hi,

I use zabbix::userparams in node definition like that:
node test {
include zabbix::agent
zabbix::userparams { 'mysql.conf':
content => 'UserParameter=mysql.ping,mysqladmin -uroot ping | grep -c alive',
}

and when run puppet aggent -t got error:
Error: Could not apply complete catalog: Found 1 dependency cycle:
(File[/mysql.conf.conf] => Service[zabbix-agent] => File[/mysql.conf.conf])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz

I try use zabbix:userparams without inslude zabbix::agent, but got error:

Error: Failed to apply catalog: Could not find dependency Service[zabbix-agent] for File[/mysql.conf.conf] at /etc/puppet/modules/zabbix/manifests/userparameters.pp:60

How use this to work correctly ?

@dj-wasabi
Copy link
Contributor

Hi, "suff" has made an fix/pull request, see #3 . So it should work now.

@0utsider
Copy link
Author

0utsider commented Jun 1, 2014

Hi,

My friend pull request (#3) when I speak with him about this.
Closed

@0utsider 0utsider closed this as completed Jun 1, 2014
dj-wasabi pushed a commit that referenced this issue Mar 9, 2016
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

2 participants