Commit graph

112 commits

Author SHA1 Message Date
Steven Bambling
4b269e4b25 adding erb template for use with adding notifications to host define
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/43

refs#7676: https://dev.icinga.org/issues/7676
2014-11-13 21:50:33 -08:00
Steven Bambling
4e5c31b955 removeing timeperiod_ reference from params from template
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:23:01 -08:00
Steven Bambling
ae65c9766b updating erb to use timeperiod methods
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:22:00 -08:00
Steven Bambling
a8eb0b841b fixing typo in import and extra >
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:20:59 -08:00
Steven Bambling
12bd1a9f44 adding define and template to generate timeperiods
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:20:42 -08:00
Ricardo Melo
09db5bba18 Adding notification object. #2716
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/36

refs#7216: https://dev.icinga.org/issues/7216
2014-11-11 21:10:37 -08:00
Ricardo Melo
4dfe6fa664 added default value to arguments, env and vars and moved check to the template.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:39:10 -07:00
Ricardo Melo
6af3b7b9ae * fixed typos, changed default values and changed parameters validation.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:39:10 -07:00
Ricardo Melo
f9a4feb746 Add a EventCommand object defined type, refs#7215
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:38:59 -07:00
Ricardo Melo
d55c055682 added default value to arguments, env and vars and moved check to the template.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:19:06 -07:00
Ricardo Melo
537735a486 * fixed typos and mistakes. thanks nickchappell.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:18:43 -07:00
Ricardo Melo
f0415a6c5a + Adding notificationcommand object
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:17:16 -07:00
Ricardo Melo
f1b88abebf * fixed #7213
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from Github PR29: https://github.com/Icinga/puppet-icinga2/pull/29

refs#7213: https://dev.icinga.org/issues/7213
2014-10-18 19:42:08 -07:00
Nick Chappell
7d9525bdd5 Whitespace cleanup. 2014-10-14 22:00:29 -07:00
Nick Chappell
b6271837e3 Fix little typos. 2014-10-14 21:59:09 -07:00
Melanie Gault
80c87b0ad1 add dependency and apply dependency objects
Signed-off-by: Nick Chappell <nick@intronic.org>

Icinga refs#7219: https://dev.icinga.org/issues/7219
2014-10-14 21:52:18 -07:00
Melanie Gault
54812010e0 assign where / ignore where : icinga2 do not start if there are multiple conditions
Signed-off-by: Melanie Gault <melanie.gault@ville-noumea.nc>
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/25

refs#7308: https://dev.icinga.org/issues/7308
2014-10-10 22:23:50 -07:00
Steven Bambling
2e8770f9cb feature to create/add graphitewriter configurtion
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/24
2014-10-02 21:02:01 -07:00
Steven Bambling
6efc2931cd fixing missing parameter name
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/22
2014-10-02 20:35:43 -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
Nick Chappell
6d0b759fa6 Added a SyslogLogger object, accompanying ERB template and README additions.
refs#7234: https://dev.icinga.org/issues/7234
2014-09-15 21:07:42 -07:00
Nick Chappell
cc57f33ac1 Whitespace cleanup. 2014-09-13 19:46:24 -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
73190ad008 Added an ERB template to create servicegroup object files. 2014-09-07 16:31:20 -07:00
Nick Chappell
840d1dfa3f Camel case UserGroup, like what's in the Icinga docs. 2014-08-24 18:22:06 -07:00
Nick Chappell
66b3f17744 Added a missing = to the pager parameter of the user object ERB template. 2014-08-24 18:16:46 -07:00
Nick Chappell
7b59ae8a95 Remove a - from the <%- end -%> so that we do render trailing whitespace; otherwise, enable_notifications and the next rendered parameter get put on the same line and cause an error when the Icinga 2 daemon starts up. 2014-08-24 18:16:21 -07:00
Nick Chappell
c70857e802 Removed a duplicate enable_notifications rendering in the user object ERB tempalte. 2014-08-24 17:59:28 -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
928b09bb90 Correct the object name in the Postgres IDO connection object ERB template. 2014-08-23 13:45:13 -07:00
Nick Chappell
8f6fa5b70d Added an ERB template to render Postgres IDO connection object definitions. 2014-08-22 22:26:58 -07:00
Nick Chappell
6ead21b5e1 Don't name the object with the @object_name variable, since IDO MySQL connection objects have to have 'mysql-ido' as the object's name. 2014-08-22 22:26:25 -07:00
Nick Chappell
742f790f7b Added an ERB template to render MySQL IDO connection object definitions. 2014-08-22 18:30:15 -07:00
melanie
b7c360ef21 object_user.conf.erb missed = on period parameter
refs #6983

Signed-off-by: Nick Chappell <nick@intronic.org>
2014-08-21 21:27:22 -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
5272c38a38 Added a closing end tag. 2014-08-02 22:07:23 -07:00
Nick Chappell
ae0ca7e7f5 Added a skeleton user object and accompanying ERB template. 2014-08-02 22:01:15 -07:00
Nick Chappell
7de5eee88c Moved the check_command block to be before the vars block, since the vars block for a service apply will usually be setting variables for the check_command. 2014-07-31 09:25:39 -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