adds resources
This commit is contained in:
@@ -52,16 +52,16 @@ class cd_nagios::nagios::resources::resource (
|
||||
# plugins rule
|
||||
|
||||
cd_nagios::nagios::resources::resource_df { 'user_rule_plugins':
|
||||
ng_user_arg_name => "$user1$",
|
||||
ng_user_arg_name => 'user1',
|
||||
ng_user_arg_value => '/usr/lib64/nagios/plugins',
|
||||
ng_user_arg_comment => "Sets $USER1$ to be the path to the plugins",
|
||||
ng_user_arg_comment => "Sets user1 to be the path to the plugins",
|
||||
}
|
||||
|
||||
# eventhandlers rule
|
||||
cd_nagios::nagios::resources::resource_df { 'user_rule_eventhandlers':
|
||||
ng_user_arg_name => "$user2$",
|
||||
ng_user_arg_name => 'user2',
|
||||
ng_user_arg_value => '/usr/lib64/nagios/plugins/eventhandlers',
|
||||
ng_user_arg_comment => "Sets $USER1$ to be the path to the plugins",
|
||||
ng_user_arg_comment => "Sets user2 to be the path to the eventhandlers",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user