Graphe des révisions

35 commits

Auteur SHA1 Message Date
Alexandre Beche
05f479d4f8 Fixing hash ordering in erb templates
Signed-off-by: Alexandre Beche <alexandre.beche@gmail.com>
2015-01-13 16:35:31 +01:00
Nick Chappell
ce3bd25fe9 Removed an extra .each line. 2015-01-03 22:29:30 -08:00
Nicolas Bigler
cab5245c14 Update object_host.conf.erb
Added routine for cases where the value of a vars variable is a hash.

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

refs#8156: https://dev.icinga.org/issues/8156
2015-01-03 21:36:25 -08:00
Nick Chappell
633e4faef9 Use %> instead of -%> at the end of some ERB tags so that trailing whitespace isn't surpressed. Surpressing the trailing whitespace caused problems where there was one more parameters listed after each other. Each parameter would get squashed onto a single line, causing a syntax error when Icinga2 parsed the object file.
refs#7715: https://dev.icinga.org/issues/7715
2014-11-18 22:16:42 -08:00
Nick Chappell
6234216847 Change instances of 'enable_flap_detection' to 'enable_flapping'. This is a result of https://dev.icinga.org/issues/6870, which fixed the incorrect parameter name being used in the documentation.
refs# 7712 : https://dev.icinga.org/issues/7712
2014-11-17 21:37:06 -08:00
Nick Chappell
cc57f33ac1 Whitespace cleanup. 2014-09-13 19:46:24 -07:00
Nick Chappell
9139c8fc23 Get rid of the needed parameters list since we have all of them in the template now. 2014-07-26 21:20:15 -07:00
Nick Chappell
d9695544ad Added an icon_image_alt parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:19:21 -07:00
Nick Chappell
e16704399e Added an icon_image parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:18:38 -07:00
Nick Chappell
3e84b13e5b Added an action_url parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:18:01 -07:00
Nick Chappell
a99d56aab2 Added a notes_url parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:16:05 -07:00
Nick Chappell
b366738fd9 Added a notes parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:15:01 -07:00
Nick Chappell
16a558c534 Added a volatile parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:14:20 -07:00
Nick Chappell
6809afc9b9 Added a flapping_threshold parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:12:29 -07:00
Nick Chappell
7942e8a3b7 Added an event_command parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:10:25 -07:00
Nick Chappell
8012897f6b Added an enable_perfdata parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:08:09 -07:00
Nick Chappell
6981ccf12d Added an enable_flap_detection parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:53:07 -07:00
Nick Chappell
3f1b1847be Added an enable_event_handler parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:50:26 -07:00
Nick Chappell
55c81ab2a1 Added an enable_passive_checks parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:47:24 -07:00
Nick Chappell
5c5d88eee6 Added an enable_active_checks parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:45:48 -07:00
Nick Chappell
ad45f44542 Added an enable_notifications parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:41:31 -07:00
Nick Chappell
6ecbc1c942 Removed quotes because the max_check_attempts, check_interval and retry_interval values aren't supposed to be quoted. 2014-07-26 20:28:30 -07:00
Nick Chappell
f28dcf90a6 Added a retry_interval parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:19:41 -07:00
Nick Chappell
ca7438d798 Added a check_interval parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:16:56 -07:00
Nick Chappell
b9a64802f8 Added a check_period parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:15:55 -07:00
Nick Chappell
211208fcdf Fix typos so that the variable names match. 2014-07-26 20:15:04 -07:00
Nick Chappell
7b51e2d4f2 Added a max_check_attempts parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 19:10:44 -07:00
Nick Chappell
6dad69c02a Added a check_command parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 18:59:25 -07:00
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
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
cf3c05ddc9 Removed 2 parameters from the comment list that are already added. 2014-07-26 18:07:36 -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
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