Commit graph

37 commits

Author SHA1 Message Date
Nick Chappell
251184b944 Added refresh_icinga2_service parameters to each of the object defined types so that they can be used by themselves if the module isn't being used to also manage the Icinga 2 service.
refs# 7856 : https://dev.icinga.org/issues/7856
2014-12-01 21:39:42 -08:00
Nick Chappell
a00eecec25 Add a target_file_ensure parameter to each object type and pass it through to the underlying file resource. The parameter default values are 'file', but having the ensure => parameter of the underlying file type be settable by the user lets people do things like setting target_file_ensure to absent so that they can remove object files via Puppet (instead of manually).
refs#7716 : https://dev.icinga.org/issues/7716
2014-11-18 21:55:48 -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
Steven Bambling
9bc44f6b26 setting 4 digit octal
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
5896e2b72a style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:08 -07:00
Nick Chappell
cc57f33ac1 Whitespace cleanup. 2014-09-13 19:46:24 -07:00
Nick Chappell
c8230124ef Added validation to the icinga2::object::service class' parameters. 2014-09-06 18:50:13 -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
Nick Chappell
c9e90c6ff0 Added a parameter and default value for the notes_url parameter; added it to the service object ERB template. 2014-07-28 21:02:39 -07:00
Nick Chappell
65bd120e0d Added a parameter and default value for the notes parameter; added it to the service object ERB template. 2014-07-28 21:02:00 -07:00
Nick Chappell
40a6e5fb46 Added a parameter and default value for the volatile parameter; added it to the service object ERB template. 2014-07-28 20:57:43 -07:00
Nick Chappell
273b488c22 Added a parameter and default value for the flapping_threshold parameter; added it to the service object ERB template. 2014-07-28 20:52:23 -07:00
Nick Chappell
c715924797 Added a parameter and default value for the event_command parameter; added it to the service object ERB template. 2014-07-28 20:51:40 -07:00
Nick Chappell
d47a3ddee5 Added a parameter and default value for the enable_perfdata parameter; added it to the service object ERB template. 2014-07-28 20:50:07 -07:00
Nick Chappell
9bddcc25a0 Added a parameter and default value for the enable_flap_detection parameter; added it to the service object ERB template. 2014-07-28 20:49:27 -07:00
Nick Chappell
a22add7d56 Added a parameter and default value for the enable_event_handler parameter; added it to the service object ERB template. 2014-07-28 20:47:45 -07:00
Nick Chappell
31936ee5e7 Added a parameter and default value for the enable_passive_checks parameter; added it to the service object ERB template. 2014-07-28 20:46:44 -07:00
Nick Chappell
4b4079f7e8 Added a parameter and default value for the enable_active_checks parameter; added it to the service object ERB template. 2014-07-28 20:45:53 -07:00
Nick Chappell
91f67557eb Added a parameter and default value for the enable_notifications parameter; added it to the service object ERB template. 2014-07-28 20:43:38 -07:00
Nick Chappell
a1aa063e42 Added a parameter and default value for the retry_interval parameter; added it to the service object ERB template. 2014-07-28 20:42:53 -07:00
Nick Chappell
f2c44a9e1b Added a parameter and default value for the check_interval parameter; added it to the service object ERB template. 2014-07-28 20:42:05 -07:00
Nick Chappell
83bea379db Added a parameter and default value for the check_period parameter; added it to the service object ERB template. 2014-07-28 20:38:12 -07:00
Nick Chappell
b5251ef8c6 Added a parameter and default value for the max_check_attempts parameter; added it to the service object ERB template. 2014-07-28 20:37:03 -07:00
Nick Chappell
022abb8cdf Added a parameter and default value for the check_command parameter; added it to the service object ERB template. 2014-07-28 19:30:55 -07:00
Nick Chappell
948b5b68aa Added a parameter and default value for the vars parameter; added it to the service object ERB template. 2014-07-28 19:26:39 -07:00
Nick Chappell
90d22283aa Added a parameter and default value for the groups parameter; added it to the service object ERB template. 2014-07-28 19:24:39 -07:00
Nick Chappell
a66de2fe38 Removing the name parameter from the lists of parameters to add since it's part of the template and defined type already. 2014-07-28 19:23:48 -07:00
Nick Chappell
ec0a3b1bd5 Added a parameter and default value for the host_name parameter; added it to the service object ERB template. 2014-07-28 19:22:00 -07:00
Nick Chappell
3b931c2068 Added a parameter and default value for the display_name parameter; added it to the service object ERB template. 2014-07-28 19:17:11 -07:00
Nick Chappell
2419d0d58f Added a parameter for a template that can be imported; added it to the service object ERB template. 2014-07-28 19:15:10 -07:00
Nick Chappell
e0de7f8c45 Added an object_servicename parameter; this isn't part of the service object spec on the Icinga 2 docs, but I use it internally in the template. 2014-07-28 19:12:32 -07:00
Nick Chappell
99465d00b7 Added a list of parameters that need to be added to the service object defined type manifest. 2014-07-28 19:07:50 -07:00
Nick Chappell
b592b93b58 Added file parameters and default values for the service object defined type. 2014-07-28 18:59:09 -07:00
Nick Chappell
b6c832524b Added a skeleton defined type for service objects. 2014-07-28 18:57:07 -07:00