Commit graph

111 commits

Author SHA1 Message Date
Nick Chappell
63b6869428 Removed groups from the list of needed parameters in the host ERB template since the groups variable is already getting rendered. 2014-07-26 18:41:55 -07:00
Nick Chappell
04ceee6270 Added rendering of vars; removed it from the list of parameters that need to be added. 2014-07-26 18:41:27 -07:00
Nick Chappell
f5a9300606 Added a note about IPv6 addresses in host object defined types. 2014-07-26 18:27:29 -07:00
Nick Chappell
f70ef5135e Added a subsection for the icinga2::object::host defined type's usage. 2014-07-26 18:27:04 -07:00
Nick Chappell
97c2ce350b Added a subsection for object defined type usage. 2014-07-26 18:26:35 -07:00
Nick Chappell
9436c5b686 Added rendering of the address6 value, if the parameter for an IPv6 address is set. 2014-07-26 18:21:38 -07:00
Nick Chappell
c5d1b96fdf Changed default value of the IPv6 address parameter to undef so that we don't get address6 set in a host definition to an IPv4 address that facter returns. 2014-07-26 18:20:59 -07:00
Nick Chappell
cf3c05ddc9 Removed 2 parameters from the comment list that are already added. 2014-07-26 18:07:36 -07:00
Nick Chappell
999964f09a Added a list of parameters that still need to be added to the ::object::host class as comments. 2014-07-26 18:06:28 -07:00
Nick Chappell
e099b9c1d3 Renamed the objects file and directory. 2014-07-26 17:08:47 -07:00
Nick Chappell
bf8cde0053 Renamed objects:: class to object:: since each defined type is for a single object type. 2014-07-26 17:07:03 -07:00
Nick Chappell
1927d0377e Added a hostgroup defined type. 2014-07-20 20:40:22 -07:00
Nick Chappell
211bea4877 Merge branch 'develop' into feature/object_defined_types
Merging in develop so that we can get the icinga2::client --> icinga2::nrpe class rename and the parameter to control whether or not the plugins packages get installed via the icinga2::server class.
2014-07-20 19:43:14 -07:00
Nick Chappell
c869877158 Merge branch 'refactor/rename_client_to_nrpe' into develop 2014-07-20 19:37:55 -07:00
Nick Chappell
bdf994929f Deleted the duplicate client.pp and client/ directories. 2014-07-20 17:37:57 -07:00
Nick Chappell
f4e07050fc Renamed the icinga2::client class to icinga2::nrpe; this is mainly to accomodate other potential tyes of clients in the future, like NSCA or the Icinga 2 agent. 2014-07-20 17:35:20 -07:00
Nick Chappell
8d10c5c871 Merge branch 'develop' into refactor/rename_client_to_nrpe
Merge the develop branch in so we can get the parameter that allows us to not install the plugin packages via the ::server class.
2014-07-20 17:23:11 -07:00
Nick Chappell
2430995a0b Merge branch 'fix/duplicate_plugin_package_resources' into develop 2014-07-20 17:11:20 -07:00
Nick Chappell
3231bcb2a8 Added notes in the README about how to stop the icinga2::server class from installing the plugins packages. 2014-07-20 17:10:58 -07:00
Nick Chappell
4d5c93d32a Wrapped the server plugin install in an if statement so that installing the plugins packages depends on the parameter being set to true. 2014-07-20 17:05:11 -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
8e873c51d4 Add rendering of the groups = [] parameter into the host object ERB template. 2014-07-10 21:57:46 -07:00
Nick Chappell
a8640bef22 Added an array for a groups parameter and a hash for a vars parameter. 2014-07-10 21:04:51 -07:00
Nick Chappell
441216a3c4 Added parameters to specify the target file's owner, group and mode. 2014-07-10 19:44:49 -07:00
Nick Chappell
8054821d60 Merge branch 'feature/object_defined_types' into develop 2014-07-09 22:21:13 -07:00
Nick Chappell
0437d4d69a Added a basic defined type for Icinga 2 host objects; added an accompanying template.
This is really basic now. I'll add more parameters to it later on.
2014-07-09 22:20:08 -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
c3f549c19d Merge branch 'feature/documentation' into develop 2014-07-06 17:21:33 -07:00
Nick Chappell
e56c2e4ff8 Added a note about how the ::server and ::client classes can be used separately. 2014-07-06 17:21:22 -07:00
Nick Chappell
615c4894fd Added distro links. 2014-07-06 17:18:17 -07:00
Nick Chappell
845a81906b Added a basic client usage example. 2014-07-06 17:17:34 -07:00
Nick Chappell
f0014ca6c7 Added commas to the ends of the last parameters in the list. 2014-07-06 17:17:08 -07:00
Nick Chappell
6cdb4bb580 Moved some usage stuff out of the requirements section and instead added some example Puppet code that shows how to set up a Postgres database. 2014-07-06 17:10:11 -07:00
Nick Chappell
e7f85ba5f6 Added basic server usage section. 2014-07-06 17:04:10 -07:00
Nick Chappell
33bae0af54 Added sections for server and client usage. 2014-07-06 17:03:35 -07:00
Nick Chappell
3b4f001586 Added general requirements section text. 2014-07-06 16:58:03 -07:00
Nick Chappell
c8e7303bb6 Added server requirements section text. 2014-07-06 16:57:39 -07:00
Nick Chappell
b4e02dd323 Added explanation and links to the things the module sets up. 2014-07-06 16:56:19 -07:00
Nick Chappell
6f4e42d04d Renamed section. 2014-07-06 16:37:59 -07:00
Nick Chappell
efd8e125ed Added a 'Requirements' section and 'Other Requirements' subsection. 2014-07-06 16:03:49 -07:00
Nick Chappell
dd33eb4c49 Added a usage placeholder section. 2014-07-06 16:01:24 -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
5ce282fdc8 Added an empty class file for icinga2::objects so that we can keep all of the object types in their own subclass and directory hierarchy. 2014-07-05 18:12:36 -07:00
Nick Chappell
70e0f29dfc Added directories for template, constant and apply objects. 2014-07-05 18:10:37 -07:00
Nick Chappell
98022e2910 Add directory resources for /etc/icinga2/objects and subdirectories underneath it for each object type outlined on: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#icinga2#object-types. 2014-07-05 16:35:16 -07:00
Nick Chappell
e20a06194c Add the objects/ directory as one to recursively include when looking for ojbect definitions. 2014-07-05 16:34:12 -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
616784a032 Added a directory resource for /etc/icinga2/zones.d/. 2014-07-05 15:49:28 -07:00