diff --git a/doc/_index.html b/doc/_index.html index e1f88fb..1246ffa 100644 --- a/doc/_index.html +++ b/doc/_index.html @@ -98,6 +98,11 @@ +
The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.
+An array of packages to be installed on the Nagios server.
+An array of packages to be installed on the Nagios clients.
+The ensure value for all packages. Default is ‘present’.
-10 -11 -12 -13 -14 -15 16 17 18 @@ -155,16 +203,41 @@ inherited by all classes except defines. 22 23 24 -25+25 +26 +27 +28 +29 +30 +31 +32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48
# File 'manifests/params.pp', line 10
+ # File 'manifests/params.pp', line 16
class confdroid_nagios::params (
# main
- String $ng_nagios_server = 'nagios.example.net',
-
+ String $ng_nagios_server = 'nagios.example.net',
+ Array $ng_reqpackages_server = ['nagios','nagios-devel'],
+ Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
+ String $ng_pkg_ensure = 'present',
) {
# Default facts
@@ -173,6 +246,21 @@ class confdroid_nagios::params (
$os_name = $facts['os']['name']
$os_release = $facts['os']['release']['major']
+# service
+ $ng_service = 'nagios'
+ $ae_service = 'httpd'
+
+# directories
+ $ng_main_dir = '/etc/nagios'
+ $ng_conf_d_dir = "${ng_main_dir}/conf.d"
+ $ng_objects_dir = "${ng_main_dir}/objects"
+ $ng_private_dir = "${ng_main_dir}/private"
+ $ng_usr_incl = '/usr/include/nagios'
+ $ng_lib_dir = '/usr/lib64/nagios'
+ $ng_log_dir = '/var/log/nagios'
+ $ng_log_archives = "${ng_log_dir}/archives"
+ $ng_spool_dir = '/var/spool/nagios'
+
# includes must be last
include confdroid_nagios::main::config
}
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
index 70ddf83..0bf930a 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
@@ -64,7 +64,7 @@