-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Userparameter with Foreman #117
Comments
Hello! |
No, I'm waiting for. |
Actually I found a solution.
So I've created module on puppet master class nrzabbix($data){
create_resources(zabbix::userparameters, $data)
} Then in foreman UI I've imported newly created module. It has only one smart parameter data which could be overridden in foreman For example my UserParameter for montoring mongodb is described as mongo:
source: puppet:///modules/nrzabbix/mongo.conf And content of nrzabbix/files/mongo.conf is
Then I've added this class to certain config group for my mongodb servers. ---
classes:
nrzabbix:
data:
mongo:
source: puppet:///modules/nrzabbix/mongo.conf On a host:
and
Hope this could help |
Thank you for this reply. You could use this class: 'zabbix::userparameter.pp' instead of creating your own. Can I update the readme for using userparameters with this information you provided? Thanks! |
@dj-wasabi, of course you could! |
Hi, class zabbix::userparameter.pp has no smart class parameter Foreman 1.9.2 |
class zabbix::userparameterf($data) { This work as expected |
I'm using your puppet module in my environment. I haven't a lot of experience with puppet, but I'm using the foreman's web interface to manager my configurations.
My questions is:
How to configure userparameter using the web interface?
For example:
userparameter=pje.available,/usr/local/sbin/test_pje
Thank you
The text was updated successfully, but these errors were encountered: