diff --git a/README.md b/README.md index 8e6164d..beb7ded 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,9 @@ At this stage, the module is being redeveloped and being built to the latest sta ## Features - if FQDN equals the specified `ng_nagios_server`, nagios server with all required specs is installed, else only nagios client packages and the target specs -- an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates. +- an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates. +- contacts and contactgroups are separated and filled in via define +- hostgroups are filled in via define, hosts are added dynamically - configures all required directories for server and clients and sets proper permissions and selinux contexts - configures the main nagios configuration file and sets values as (pre)configured per values in params, which can be overwritten. - if `ng_include_nrpe`is set to `true`, the confdroid_nrpe module is automatically applied on clients ([confdroid_nrpe](https://sourcecode.confdroid.com/confdroid/confdroid_nrpe) must be in the catalogue then) diff --git a/manifests/nagios/resources/resource_df.pp b/manifests/nagios/resources/resource_df.pp index 3de1356..63ab23e 100644 --- a/manifests/nagios/resources/resource_df.pp +++ b/manifests/nagios/resources/resource_df.pp @@ -9,9 +9,9 @@ ############################################################################# define confdroid_nagios::nagios::resources::resource_df ( - Optional[String] 'nagios'_arg_name = undef, - Optional[String] 'nagios'_arg_value = undef, - Optional[String] 'nagios'_arg_comment = undef, + Optional[String] $ng_user_arg_name = undef, + Optional[String] $ng_user_arg_value = undef, + Optional[String] $ng_user_arg_comment = undef, String $ng_resource_rule_erb = 'confdroid_nagios/nagios/resource_cfg_rule.erb', ) {