Commit graph

172 commits

Author SHA1 Message Date
Nick Chappell
52da440fa5 Added a servicegroup object defined type. 2014-09-07 16:31:03 -07:00
Nick Chappell
2e44972f70 Changed the DB schema file paths for RHEL/CentOS. 2014-09-07 14:29:34 -07:00
Nick Chappell
d4794afa95 For Ubuntu systems, switch to adding the Icinga PPA instead of the release snapshot apt repo. 2014-09-07 14:01:17 -07:00
Nick Chappell
bbb2ed10f4 Remove Debian from the regex since it's not a supported distro yet. 2014-09-07 13:41:57 -07:00
Nick Chappell
200645b4cc Added validation to the icinga2::object::usergroup class' parameters. 2014-09-06 18:50:27 -07:00
Nick Chappell
b83450af91 Added validation to the icinga2::object::user class' parameters. 2014-09-06 18:50:21 -07:00
Nick Chappell
c8230124ef Added validation to the icinga2::object::service class' parameters. 2014-09-06 18:50:13 -07:00
Nick Chappell
1af2287ea7 Added validation to the icinga2::object::idopgsqlconnection class' parameters. 2014-09-06 18:44:34 -07:00
Nick Chappell
db735934b5 Added validation to the icinga2::object::idomysqlconnection class' parameters. 2014-09-06 18:44:26 -07:00
Nick Chappell
ddc3395113 Added validation to the icinga2::object::hostgroup class' parameters. 2014-09-06 18:44:12 -07:00
Nick Chappell
ee68d95053 Added validation to the icinga2::object::host class' parameters. 2014-09-06 18:44:05 -07:00
Nick Chappell
4e1cec7439 Added validation to the icinga2::object::apply_service_to_host class' parameters. 2014-09-06 18:43:50 -07:00
Nick Chappell
c95e81d2c3 Added validation to the icinga2::nrpe::plugin class' parameters. 2014-09-06 18:04:50 -07:00
Nick Chappell
2a150f33e9 Added validation to the icinga2::nrpe::command class' parameters. 2014-09-06 18:04:42 -07:00
Nick Chappell
3f37faa3b6 Added validation to nrpe.pp's parameters. 2014-09-06 18:04:15 -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
8ce71724ad Add some more validation of parameters to the icinga2::server's parameters. 2014-09-06 17:51:04 -07:00
Nick Chappell
fe21de08f0 Remove duplicate enable_notifications parameter that was added. 2014-08-24 18:14:50 -07:00
Nick Chappell
9ec7f5ca9c Name user object files after the defined type instance's name instead of the FQDN of the machine. 2014-08-24 17:59:58 -07:00
Nick Chappell
2c6d82895c Added an enable_notifications parameter to the user object defined type. 2014-08-24 17:48:28 -07:00
Nick Chappell
7a21694ab2 Added a usergroup defined type and accompanying ERB tempalte. 2014-08-24 17:25:42 -07:00
Nick Chappell
cb477311a9 Add a - between the su and postgres so that we inherit the Postgres user's environment and don't try to run the command with /root as the working directory. 2014-08-24 12:25:06 -07:00
Nick Chappell
f9f7cc5ad9 Use && in between the shell commands in the exects so that if any of the commands inside fail, the entire exec resource will fail.
With ; in between each shell command, the command chain would continue on even if one of the commands returned a non-0 exit status. Because this would make Puppet think the entire exec resource succeeded, Puppet would continue on configuring the rest of the resources in icinga2::server and all of its subclasses. With && in between each subcommand, the execs will fail if any of the subcommands fail and Puppet will skip the rest of the module's resources, not leaving things in a bad state.
2014-08-24 12:07:46 -07:00
Nick Chappell
3596f236ce Whitespace cleanup. 2014-08-23 17:39:36 -07:00
Nick Chappell
552072ec3b Added a defined type for Postgres IDO connection object definitions. 2014-08-22 22:26:42 -07:00
Nick Chappell
15e9555f64 Added a defined type for MySQL IDO connection object definitions. 2014-08-22 18:29:46 -07:00
Nick Chappell
eea0b20565 Remove language referring to Ubuntu Saucy and the snapshots repo since neither of those are being used or supported. 2014-08-22 10:52:06 -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
Nick Chappell
9dc73da5db Whitespace cleanup in manifests/server.pp 2014-08-21 22:07:01 -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
Adam Stephens
de61c1a14f make manage_repos parameter work 2014-08-18 09:31:31 -04: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
d5fa1e655a Added a states parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:16:58 -07:00
Nick Chappell
6ad25eee99 Added a types parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:15:57 -07:00
Nick Chappell
086a300b1f Added a period parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:14:02 -07:00
Nick Chappell
92e7a4f5e7 Added an enable_notifications parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:27:46 -07:00
Nick Chappell
7b5f7a994f Added a groups parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:26:36 -07:00
Nick Chappell
f9193d14f7 Added a vars parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:24:26 -07:00
Nick Chappell
89b3e25e9a Added a pager parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:23:28 -07:00
Nick Chappell
d5173611f4 Added an email parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:20:29 -07:00
Nick Chappell
341f66433e Added a display_name parameter to the user object and rendering of it to the ERB template. 2014-08-02 22:28:34 -07:00
Nick Chappell
90ffb35e20 Added an object_username parameter. 2014-08-02 22:03:38 -07:00
Nick Chappell
ae0ca7e7f5 Added a skeleton user object and accompanying ERB template. 2014-08-02 22:01:15 -07:00
Nick Chappell
2b766285b2 Added an object defined type for applying services to hosts; also included an ERB template to render the object files. 2014-07-30 22:34:55 -07:00
Nick Chappell
06cd9ece88 Added a parameter and default value for the ignore_where parameter; added it to the service object ERB template. 2014-07-29 17:21:10 -07:00
Nick Chappell
e498643750 Remove trailing whitespace. 2014-07-29 08:33:32 -07:00
Nick Chappell
5f614ce97d Added a parameter and default value for the icon_image_alt parameter; added it to the service object ERB template. 2014-07-28 21:06:28 -07:00
Nick Chappell
90f256fea0 Added a parameter and default value for the icon_image parameter; added it to the service object ERB template. 2014-07-28 21:05:39 -07:00
Nick Chappell
81c52e9862 Added a parameter and default value for the action_url parameter; added it to the service object ERB template. 2014-07-28 21:04:54 -07:00