Nick Chappell
5f2b0ff8da
Merge branch 'pr/27/server_check_plugin_defined_type'
...
Merged in from: https://github.com/Icinga/puppet-icinga2/pull/27
2014-10-10 22:13:39 -07:00
Steven Bambling
556aab7259
updating checkplugin_libdir for centos machies
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:30:49 -07:00
Steven Bambling
075ca2a4bf
adding new parameter for checkplugin_libdir to keep backwards compatibility
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:30:49 -07:00
Steven Bambling
715a5d1a88
adding parameters for disabled features
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:20 -07:00
Steven Bambling
fb55aca0d5
adding default features to the paras.pp
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:20 -07:00
Olivier FONTANNAUD
2826c0fa9f
Refactor debmon support
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 22:26:07 -07:00
ofontannaud
4dd15a17e7
Add debmon support
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 22:26:07 -07:00
Steven Bambling
8671d25f98
fixing typo with Determines
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Taken from: https://github.com/Icinga/puppet-icinga2/pull/22
2014-10-02 20:36:17 -07:00
Steven Bambling
c410696090
adding ability to enable command argument processing via nrpe client
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Taken from: https://github.com/Icinga/puppet-icinga2/pull/22
2014-10-02 20:35:13 -07:00
Steven Bambling
eba945d237
style guide fixes
...
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:10 -07:00
Alessandro Franceschi
529cbb380a
Fix for wrong package name in Debian 7
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Taken from: https://github.com/Icinga/puppet-icinga2/pull/9
refs #7264 , https://dev.icinga.org/issues/7264
2014-09-17 20:52:53 -07:00
Alessandro Franceschi
abc978ce41
Added Debian 7 support
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Taken from: https://github.com/Icinga/puppet-icinga2/pull/9
refs #7264 , https://dev.icinga.org/issues/7264
2014-09-17 20:51:11 -07:00
Nick Chappell
e32a5806c3
Added support for installing packages on Icinga 2 servers that will make the mail command available. Without it, Icinga 2 can't send out notifications. Also added a parameter to controller whether the packages will get installed; added a note in the README about the parameter.
...
refs #7212 : https://dev.icinga.org/issues/7212
2014-09-15 20:26:51 -07:00
Nick Chappell
be65a35280
Use the operatingsystemmajrelease fact instead of operatingsystemelease for the sub-case statements in params.pp.
2014-09-13 21:54:46 -07:00
Nick Chappell
e6bb09d79b
Make support for CentOS 7 explicit; add sub-case statements for CentOS 6 and 7 and Ubuntu 12.04 and 14.04; fail if we're on any CentOS release other than 6 or 7 or Ubuntu 12.04 or 14.04.
2014-09-13 20:10:11 -07:00
Nick Chappell
cc57f33ac1
Whitespace cleanup.
2014-09-13 19:46:24 -07:00
Nick Chappell
b7c6046ec5
Removed mentions of Red Hat from comments since it's not officially supported.
2014-09-13 19:28:38 -07:00
Nick Chappell
c33c71b64a
Removed Debian references from the comments.
2014-09-13 16:50:41 -07:00
Nick Chappell
3e2b330dd6
Add parameters for the server and client package installations to specify '--no-install-recommends' on Ubuntu 14.04 and 12.04 systems, then use the parameter in the server and client plugin package installs.
...
This will prevent Nagios 3 from being installed and started, as nagios3 and related packages frequently come along as recommended packages for many of the Nagios plugin packages on Debian/Ubuntu systems.
2014-09-13 15:32:30 -07:00
Nick Chappell
e88c4014ec
Replaced the Debian/Ubuntu regex with just 'Ubuntu' as a string, since Debian isn't officially supported yet.
2014-09-12 20:32:49 -07:00
Nick Chappell
cf20a52ba0
Removed RedHat mentions, since it's not technically supported.
2014-09-12 20:25:32 -07:00
Thomas Weißschuh
13f0031b30
fully qualify facts
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Fully quality instances of the $operatingsystem Facter fact.
Originally from: https://github.com/Icinga/puppet-icinga2/pull/6
refs #7190 , https://dev.icinga.org/issues/7190
2014-09-11 22:49:55 -07:00
Thomas Weißschuh
56618bee69
liddir -> libdir
...
Signed-off-by: Nick Chappell <nick@intronic.org>
Fixes a typo by changing instances of 'liddir' to 'libdir'.
Originally from https://github.com/Icinga/puppet-icinga2/pull/6
refs #7189 , https://dev.icinga.org/issues/7189
2014-09-11 22:48:40 -07:00
Nick Chappell
a12585bc7c
Make the default value of the server_install_nagios_plugins value a boolean version true instead of a string version 'true'.
2014-09-06 17:51:40 -07:00
Nick Chappell
3b6e1a38bc
Added nagios-nrpe-plugin to the client plugin package list for Ubuntu 12.04.
2014-08-21 22:12:30 -07:00
melanie
599e7dea30
add db_port parameter to match the documentation
...
refs https://github.com/Icinga/puppet-icinga2/pull/2
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-08-21 21:55:21 -07:00
Nick Chappell
3674a4ee14
Remove the single quotes around the default value for since it's meant to be a boolean value, not a string.
2014-08-21 20:44:28 -07:00
Nick Chappell
74d407f220
Added the NRPE plugin to the plugin package list that's used for NRPE installs on Ubuntu 14.04.
2014-08-17 14:22:27 -07:00
Nick Chappell
507fc377ff
Added a parameter for picking whether to install the Nagios plugins packages on nodes with the icinga2::server class applied.
2014-07-20 17:04:25 -07:00
Nick Chappell
125f29a811
Added the package to Ubuntu 12.04 and 14.04 that contains the NRPE plugin, check_nrpe.
2014-07-08 18:53:34 -07:00
Nick Chappell
33ff28b86d
Add parameters for Nagios plugin pacakges and install them with a package resource in the icinga2::server::packages class so we can get the Nagios plugin packages Icinga 2 servers.
2014-07-05 22:00:20 -07:00
Nick Chappell
d354aaffcd
Added parameters for /etc/icinga2/objects/ and its subfolders.
2014-07-05 16:33:10 -07:00
Nick Chappell
9c83a449e0
Added a subsection for server service parameters and case statement to pick the Icinga 2 daemon name based on the OS; added a service resource for the Icinga 2 daemon; uncommented the squiggly arrows so the icinga2::server::service class gets applied.
2014-07-05 15:58:05 -07:00
Nick Chappell
995f4877a7
Added a subsection for server service parameters.
2014-07-05 15:56:55 -07:00
Nick Chappell
061fffb235
Added parameters that will get used in directory resources for /etc/icinga2/pki/ and /etc/icinga2/scripts/.
2014-07-05 15:17:37 -07:00
Nick Chappell
8d6deb2a16
Added file and directory owner, group and mode parameters.
2014-07-05 15:06:41 -07:00
Nick Chappell
1d3b9a1942
Added server config parameter subsection.
2014-07-05 13:57:47 -07:00
Nick Chappell
a799e3184c
Whitespace.
2014-07-05 12:45:22 -07:00
Nick Chappell
01f3a09473
Added client package parameters.
2014-07-05 12:38:24 -07:00
Nick Chappell
a1d7f73cb5
Added client service parameters.
2014-07-05 12:35:17 -07:00
Nick Chappell
e39572b2d6
Added client parameters.
2014-07-05 12:34:58 -07:00
Nick Chappell
82ed5e4ce8
Added client parameters section.
2014-07-05 12:33:53 -07:00
Nick Chappell
5a704bff36
Move the common package parameters into the right subsection.
2014-07-05 12:32:37 -07:00
Nick Chappell
9825a61032
Add common package parameter ssection.
2014-07-05 12:31:48 -07:00
Nick Chappell
ddac1242b5
Remove the package provider parameters from the server section; create a new common parameters section.
2014-07-05 12:31:16 -07:00
Nick Chappell
a7f1bf9c54
Reorganized parameters.
2014-07-05 12:21:41 -07:00
Nick Chappell
b7c593e63a
Made new section and subsection headers since we're going to add client parameters soon.
2014-07-05 12:20:31 -07:00
Nick Chappell
d750ebd738
Moved the logic to determine the path of the DB schema to the main icinga2::server class.
2014-07-03 20:35:52 -07:00
Nick Chappell
4fa10d3d32
Added Postgres schema loading; added database connection info parameters.
2014-07-02 19:54:25 -07:00
Nick Chappell
cd067dced4
Use the right paths for the schema files on Debian/Ubuntu systems.
2014-07-02 19:03:00 -07:00