Commit graph

342 commits

Author SHA1 Message Date
Nick Chappell
3c44c16ac1 Changed the default target directory for CheckerComponent objects to the features-available directory. 2015-01-24 21:18:53 -08:00
Nick Chappell
232d8bea75 Merged in from: https://github.com/Icinga/puppet-icinga2/pull/59
Squashed commit of the following:

commit 3485ced372df47d22c5495f188746a767448b301
Merge: 9ddb696 cd0cd09
Author: Nick Chappell <nick@intronic.org>
Date:   Sat Jan 24 21:05:50 2015 -0800

    Merge branch '7227' of https://github.com/cropalato/puppet-icinga2 into cropalato-7227

commit cd0cd09733c0881e62b57cef871fa7898e47c186
Author: Ricardo Melo <ricardo.melo@gameloft.com>
Date:   Tue Dec 2 15:09:49 2014 -0500

    * fixed default parameter value

commit 1a01e8f68dd8ac2f6bbf8ffa040673d97bec9280
Author: ricardo@cropalato.com.br <ricardo@cropalato.com.br>
Date:   Tue Nov 25 18:01:18 2014 -0500

    * fixed typo.

commit e23aafc87877617ee1faba1b9d4b4c595d84ae8e
Author: ricardo@cropalato.com.br <ricardo@cropalato.com.br>
Date:   Tue Nov 25 17:44:58 2014 -0500

    Adding CheckerComponent Object. #7227
2015-01-24 21:11:45 -08:00
Nick Chappell
a829771fd6 Fix typos. 2015-01-24 20:45:25 -08:00
Nick Chappell
0a9dd7dff3 Squashed commit of the following:
commit d0bbdbd2011b4941150d3aff00306e7b7cc15b02
Merge: 65c7422 e12b55c
Author: Nick Chappell <nick@intronic.org>
Date:   Sat Jan 24 20:25:50 2015 -0800

    Merge branch '7228' of https://github.com/cropalato/puppet-icinga2 into cropalato-7228

commit e12b55cf8c2ca266572d809a540ce9064e3d97b2
Merge: 58b2cd8 ad3b05d
Author: Ricardo Melo <ricardo.melo@gameloft.com>
Date:   Mon Jan 12 11:42:58 2015 -0500

    Merge branch '7228' of https://github.com/cropalato/puppet-icinga2 into 7228

commit 58b2cd8f2dc4a06b1450bb246c83d484b29903b9
Author: ricardo@cropalato.com.br <ricardo@cropalato.com.br>
Date:   Tue Nov 25 18:22:51 2014 -0500

    Added enable_ha parameter.

    * fixed default parameter value

    Fix the exec resource commands so they use the new commands in 2.2 to enable/disable features instead of the old ones from 2.1 and before.

    refs#7714 : https://dev.icinga.org/issues/7714

    Fixed a bug where features were not actually being enabled/disabled because the order of the words in the subcommands was wrong.

    refs#7916 : https://dev.icinga.org/issues/7916

    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

    CHANGELOG update for https://dev.icinga.org/issues/7856

    refs #7856 : https://dev.icinga.org/issues/7856

    Added a README note about the refresh_icinga2_service parameter.

    refs#7856 : https://dev.icinga.org/issues/7856

    CHANGELOG release version date.

    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

    CHANGELOG update for https://dev.icinga.org/issues/7856

    refs #7856 : https://dev.icinga.org/issues/7856

    Added a README note about the refresh_icinga2_service parameter.

    refs#7856 : https://dev.icinga.org/issues/7856

    CHANGELOG release version date.

    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

    Changelog update.

    refs#8156: https://dev.icinga.org/issues/8156

    Removed an extra .each line.

    Adding EndPoint Object. #7232

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

    refs#7232: https://dev.icinga.org/issues/7232

    * fixed typo

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

    refs#7232: https://dev.icinga.org/issues/7232

    * fixed typo

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

    refs#7232: https://dev.icinga.org/issues/7232

    * fixed default parameter value

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

    refs#7232: https://dev.icinga.org/issues/7232

    Fixed a typo in the ERB template for the Endpoint object. 'Endpoint' should only have a capital E, not a capital P.

    Fixed typo in file path.

    Changelog update.

    Adding IcingaStatusWriter object. #7230

    * fixed typo

    Changelog update.

    Adding FileLogger object. #7229.

    * fixed default parameter value

    Changelog update.

    typo.

    updating validation of interval to allow resending of alerts to be disabled

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

    refs#8153: https://dev.icinga.org/issues/8153

    fixing typo in interval name in templates

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

    refs#8153: https://dev.icinga.org/issues/8153

    Adding IcingaStatusWriter object. #7230

    * fixed typo

    Changelog update.

    Adding FileLogger object. #7229.

    * fixed default parameter value

    typo.

    Changelog update.

    Adding support for RedHat

    Changelog update.

    Updated metadata.json to reflect that Red Hat is supported.

    Updated the version number in metadata.json to reflect the current version.

    Typo.

    Added a Gemfile that has gems listed for basic Puppet unit tests.

    Added a .gitignore rule.

    Added a Rake file with a unit_tests task that runs the lint task.

    Added some config options for puppet-lint.

    Added an ApiListener object defined type.

    refs#7231 : https://dev.icinga.org/issues/7231

    Changelog update.

    Fixed typo in README.md

    Add a target_file_ensure parameter to the ApiListener object defined type.

    Added a full variable scope.

    Fix C/C++ style comments so they use # instead.

    Use 2 spaces instead of a tab character.

    Removed a trailing space.

    Removed trailing whitespace.

    Fixed whitespace alignment in the icinga2::server::config class.

    Fixed whitespace alignment in the icinga2::server::install class.

    Disable puppet-lint variable scope checks.

    Disable puppet-lint class autoloader layout checks.

    Fixing target_dir defult value.

commit ad3b05dd39bba6b5f82211cccbb0aca209bd777e
Author: Ricardo Melo <ricardo.melo@gameloft.com>
Date:   Mon Jan 12 11:25:57 2015 -0500

    Fixing target_dir defult value.

commit 0cdb176f6920dde33b91207ac3ecb0457de7fb08
Merge: 88b3fb1 f238155
Author: Ricardo Melo <ricardo.melo@gameloft.com>
Date:   Mon Jan 12 11:19:57 2015 -0500

    Merge remote-tracking branch 'upstream/develop' into 7228

commit 88b3fb1e3ed4d5d7a2c98b0e43e10ee4e1dbc1b2
Author: Ricardo Melo <ricardo.melo@gameloft.com>
Date:   Tue Dec 2 15:14:21 2014 -0500

    * fixed default parameter value

commit d369b81f8472c5931b8a073cc26518bf1ecb84a4
Author: ricardo@cropalato.com.br <ricardo@cropalato.com.br>
Date:   Tue Nov 25 18:22:51 2014 -0500

    Added enable_ha parameter.

commit 6bf34cb4af2322020c7553016af17b84effd6dc3
Author: ricardo@cropalato.com.br <ricardo@cropalato.com.br>
Date:   Tue Nov 25 18:07:52 2014 -0500

    Adding NotificationComponent Object. #7228.
2015-01-24 20:45:09 -08:00
Nick Chappell
099b308c4d Merged in support for Red Hat operating systems.
Merged in from: https://github.com/Icinga/puppet-icinga2/pull/83/
2015-01-24 20:07:40 -08:00
Nick Chappell
9b3abbd2ff Removed the require => parameters on the file resources for check plugins since a check plugin command definition won't necessarily require the Nagios monitoring plugin packages. 2015-01-15 20:57:10 -08:00
Nick Chappell
cc37203123 Merge branch 'checkplugin_source_inline' of https://github.com/arioch/puppet-icinga2 into arioch-checkplugin_source_inline
Merged from: https://github.com/Icinga/puppet-icinga2/pull/77

refs#8239: https://dev.icinga.org/issues/8239
2015-01-15 20:26:23 -08:00
Tom De Vylder
5d6fc45ed4 Add inline checkplugin file distribution method 2015-01-14 13:10:08 +01:00
Nick Chappell
1cbc668788 Merge branch 'lazyfrosch/empty-classes' of https://github.com/lazyfrosch/puppet-icinga2 into lazyfrosch-lazyfrosch/empty-classes
Merged from: https://github.com/Icinga/puppet-icinga2/pull/74
2015-01-13 20:41:10 -08:00
Nick Chappell
6d1cee2b30 Merge branch 'fix_ipaddress_param' of https://github.com/arioch/puppet-icinga2 into arioch-fix_ipaddress_param
Merged from: https://github.com/Icinga/puppet-icinga2/pull/75

refs#8203: https://dev.icinga.org/issues/8203
2015-01-13 20:28:21 -08:00
Tom De Vylder
34725fba7e Fix default host object address for systemd's predictable interfaces 2015-01-13 13:32:37 +01:00
Markus Frosch
ee008782f7 Remove classes that are empty
We do not need them, there are just a distraction...

Refs #8197
2015-01-13 13:10:52 +01:00
Nick Chappell
98c598ce16 Fixed whitespace alignment in the icinga2::server::install class. 2015-01-10 17:35:06 -08:00
Nick Chappell
8a8bf24400 Fixed whitespace alignment in the icinga2::server::config class. 2015-01-10 17:34:45 -08:00
Nick Chappell
2a3a2c5d0f Removed trailing whitespace. 2015-01-10 17:12:57 -08:00
Nick Chappell
a2a1ec11e0 Removed a trailing space. 2015-01-10 17:06:01 -08:00
Nick Chappell
700c24261e Use 2 spaces instead of a tab character. 2015-01-10 17:05:34 -08:00
Nick Chappell
09d6a8c9d2 Fix C/C++ style comments so they use # instead. 2015-01-10 17:04:43 -08:00
Nick Chappell
ec23b00b12 Added a full variable scope. 2015-01-10 16:59:17 -08:00
Nick Chappell
73c91649e0 Add a target_file_ensure parameter to the ApiListener object defined type. 2015-01-10 16:51:38 -08:00
Nick Chappell
a807ffe90a Added an ApiListener object defined type.
refs#7231 : https://dev.icinga.org/issues/7231
2015-01-06 22:44:48 -08:00
Nick Chappell
19b2055630 Merge branch 'feature/rhel6support' of https://github.com/alexxxxx/puppet-icinga2 into feature/pr-68-redhat-support
Merged from: https://github.com/Icinga/puppet-icinga2/pull/68

refs#7346: https://dev.icinga.org/issues/7346
2015-01-04 18:01:31 -08:00
Steven Bambling
ec665c146f updating validation of interval to allow resending of alerts to be disabled
Merged from: https://github.com/Icinga/puppet-icinga2/pull/70

refs#8153: https://dev.icinga.org/issues/8153
2015-01-04 17:54:18 -08:00
Ricardo Melo
fc138d20f7 * fixed default parameter value 2015-01-04 17:54:14 -08:00
ricardo@cropalato.com.br
9ed54ac1c4 Adding FileLogger object. #7229. 2015-01-04 17:54:14 -08:00
Ricardo Melo
152fc7e065 * fixed typo 2015-01-04 17:54:14 -08:00
ricardo@cropalato.com.br
38d1ac911a Adding IcingaStatusWriter object. #7230 2015-01-04 17:54:14 -08:00
Nick Chappell
21ad7c2433 Fixed typo in file path. 2015-01-04 15:28:34 -08:00
Ricardo Melo
c8d2286428 * fixed default parameter value
Merged from: https://github.com/Icinga/puppet-icinga2/pull/63

refs#7232: https://dev.icinga.org/issues/7232
2015-01-04 15:28:29 -08:00
ricardo@cropalato.com.br
6646b3b392 Adding EndPoint Object. #7232
Merged from: https://github.com/Icinga/puppet-icinga2/pull/63

refs#7232: https://dev.icinga.org/issues/7232
2015-01-04 15:27:52 -08:00
Alexandre Beche
bb523a9dc6 Adding support for RedHat 2014-12-12 15:44:28 +01:00
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
bde5178ed1 Fixed a bug where features were not actually being enabled/disabled because the order of the words in the subcommands was wrong.
refs#7916 : https://dev.icinga.org/issues/7916
2014-12-01 19:48:55 -08:00
Nick Chappell
00cfa7abf8 Fix the exec resource commands so they use the new commands in 2.2 to enable/disable features instead of the old ones from 2.1 and before.
refs#7714 : https://dev.icinga.org/issues/7714
2014-11-25 21:27:00 -08:00
Nick Chappell
17d230eb2b Added a parameter that controls whether non-Puppet managed object files get purged. 2014-11-21 21:49:26 -08:00
Nick Chappell
13e1100d0c Fix the target_file_dir parameters so they're consistent with the other object defined types. 2014-11-21 21:24:05 -08:00
Nick Chappell
1f92973f8c Fix the in-manifest links to the docs pages for some of the object types. 2014-11-21 21:20:48 -08:00
Nick Chappell
c10da22594 Merge branch '7226' of github.com:cropalato/puppet-icinga2 into feature/checkresultreader_object-7226
Adds a CheckResultReader object

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

refs# 7226: https://dev.icinga.org/issues/7226
2014-11-21 21:14:02 -08:00
ricardo@cropalato.com.br
b15b7fbaaa Adding CompatLogger object. #7225.
Signed-off-by: Nick Chappell <nick@intronic.org>

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

refs#7225: https://dev.icinga.org/issues/7225
2014-11-21 21:00:26 -08:00
ricardo@cropalato.com.br
cb88b96207 Adding CheckResultReader object. #7226. 2014-11-20 19:09:25 -05: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
Nick Chappell
5cd1e2e53c Correct variable name mismatches. 2014-11-17 21:29:20 -08:00
Nick Chappell
3493c739d0 Merge branch 'cropalato-7222' 2014-11-17 21:26:35 -08:00
Nick Chappell
96ddda697b Merge branch 'cropalato-7223' 2014-11-17 21:20:06 -08:00
ricardo@cropalato.com.br
58edf35726 Merge remote-tracking branch 'upstream/master' into 7222 2014-11-17 06:25:50 -05:00
ricardo@cropalato.com.br
e31c1464de Merge remote-tracking branch 'upstream/master' into 7223 2014-11-17 06:25:22 -05:00
ricardo@cropalato.com.br
dd6cc24543 Merge remote-tracking branch 'upstream/master' into 7224 2014-11-17 06:23:52 -05:00
ricardo@cropalato.com.br
4cb5d19265 Fixed typo 2014-11-17 06:21:39 -05:00
ricardo@cropalato.com.br
ffba0ae38d Fixed typo 2014-11-17 06:17:31 -05:00