Commit graph

467 commits

Author SHA1 Message Date
Ricardo Melo
e32ccdd660 * fixed #7284
Signed-off-by: Nick Chappell <nick@intronic.org>

This commit fixes the module version number in metadata.json so it conforms to the semantic versioning scheme: http://semver.org/spec/v2.0.0.html

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

refs #7284 : https://dev.icinga.org/issues/7284
2014-09-19 13:04:35 -07:00
Ricardo Melo
e3fee21aa6 * fixing jason syntax error.
Signed-off-by: Nick Chappell <nick@intronic.org>

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

refs #7283: https://dev.icinga.org/issues/7283
2014-09-19 08:46:40 -07:00
Nick Chappell
d2340f82e3 Correct a typo with the operatingsystemmajrelease fact name. 2014-09-18 21:08:55 -07:00
Nick Chappell
afbde53c2e Use the operatingsystemmajrelease fact for CentOS and Ubuntu in metadata.json. 2014-09-18 21:08:18 -07:00
Nick Chappell
76669d249e README additions for the icinga2::conf type. 2014-09-18 20:22:24 -07:00
Alessandro Franceschi
8f5a201bc1 Added generic icinga2::conf define @7273
Signed-off-by: Nick Chappell <nick@intronic.org>

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

Refs #7273: https://dev.icinga.org/issues/7273
2014-09-18 19:47:54 -07:00
Nick Chappell
fa1c6fccaf Added a contributing section with instructions for how to submit pull requests on GitHub. 2014-09-18 10:49:33 -07:00
Nick Chappell
01171a5edb Changelog update. 2014-09-17 21:14:49 -07:00
Alessandro Franceschi
61cf42e679 Fix on metadata #7264
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/9

refs #7264, https://dev.icinga.org/issues/7264
2014-09-17 20:53:00 -07:00
Alessandro Franceschi
529cbb380a Fix for wrong package name in Debian 7
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/9

refs #7264, https://dev.icinga.org/issues/7264
2014-09-17 20:52:53 -07:00
Alessandro Franceschi
abc978ce41 Added Debian 7 support
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/9

refs #7264, https://dev.icinga.org/issues/7264
2014-09-17 20:51:11 -07:00
Nick Chappell
9686e7127a Make the 'true' bold for additional emphasis. 2014-09-17 15:06:03 -07:00
Nick Chappell
0d903933c8 Added a note to the README about PuppetDB being required in order to use the icinga2::object defined types as exported resources. 2014-09-17 15:02:33 -07:00
Nick Chappell
a550eb873c Fixed a typo. 2014-09-17 14:58:00 -07:00
Michael Friedrich
c11dd6ea00 Update .mailmap and AUTHORS 2014-09-17 23:12:01 +02: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
e32a5806c3 Added support for installing packages on Icinga 2 servers that will make the mail command available. Without it, Icinga 2 can't send out notifications. Also added a parameter to controller whether the packages will get installed; added a note in the README about the parameter.
refs #7212: https://dev.icinga.org/issues/7212
2014-09-15 20:26:51 -07:00
Nick Chappell
f083178772 Switch around the CentOS download links in the README since version 7 is what is available on the main site and you have to go to the wiki for 6.x download links. 2014-09-13 22:05:12 -07:00
Nick Chappell
8f6207adfc Added blurbs to the README about required Puppet and Facter versions. 2014-09-13 22:03:17 -07:00
Nick Chappell
9c4103dc48 CHANGELOG entry for CentOS 7 support. 2014-09-13 22:01:42 -07:00
Nick Chappell
6dab72d505 Added a mention of CentOS 7 support to the README. 2014-09-13 21:59:41 -07:00
Nick Chappell
2c267c1f29 Add CentOS 7 as a supported OS to metadata.json. 2014-09-13 21:57:47 -07:00
Nick Chappell
be65a35280 Use the operatingsystemmajrelease fact instead of operatingsystemelease for the sub-case statements in params.pp. 2014-09-13 21:54:46 -07:00
Nick Chappell
e6bb09d79b Make support for CentOS 7 explicit; add sub-case statements for CentOS 6 and 7 and Ubuntu 12.04 and 14.04; fail if we're on any CentOS release other than 6 or 7 or Ubuntu 12.04 or 14.04. 2014-09-13 20:10:11 -07:00
Nick Chappell
cc57f33ac1 Whitespace cleanup. 2014-09-13 19:46:24 -07:00
Nick Chappell
b7c6046ec5 Removed mentions of Red Hat from comments since it's not officially supported. 2014-09-13 19:28:38 -07:00
Nick Chappell
e8d39f7085 Remove the commented out server_db_schema_path parameter from the parameter list, since it's being used internally inside of the icinga2::server class now. 2014-09-13 19:05:48 -07:00
Nick Chappell
c33c71b64a Removed Debian references from the comments. 2014-09-13 16:50:41 -07:00
Nick Chappell
3e2b330dd6 Add parameters for the server and client package installations to specify '--no-install-recommends' on Ubuntu 14.04 and 12.04 systems, then use the parameter in the server and client plugin package installs.
This will prevent Nagios 3 from being installed and started, as nagios3 and related packages frequently come along as recommended packages for many of the Nagios plugin packages on Debian/Ubuntu systems.
2014-09-13 15:32:30 -07:00
Nick Chappell
f317165248 Merge branch 'master' of git.icinga.org:puppet-icinga2 2014-09-12 20:33:09 -07:00
Nick Chappell
e88c4014ec Replaced the Debian/Ubuntu regex with just 'Ubuntu' as a string, since Debian isn't officially supported yet. 2014-09-12 20:32:49 -07:00
Nick Chappell
cf20a52ba0 Removed RedHat mentions, since it's not technically supported. 2014-09-12 20:25:32 -07:00
Nick Chappell
1a2696a22f Changelog updates. 2014-09-12 09:00:34 -07:00
Thomas Weißschuh
13f0031b30 fully qualify facts
Signed-off-by: Nick Chappell <nick@intronic.org>

Fully quality instances of the $operatingsystem Facter fact.

Originally from: https://github.com/Icinga/puppet-icinga2/pull/6

refs #7190, https://dev.icinga.org/issues/7190
2014-09-11 22:49:55 -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
e6a0db39a7 Added a note on how the vars parameter for host objects should be specified. 2014-09-07 16:48:37 -07:00
Nick Chappell
210c8fd7fc Added a subsection to the host object section for notes on specific parameters; included a note on how the group parameter should be specified. 2014-09-07 16:47:34 -07:00
Nick Chappell
d40443c4f0 Added a usage example to the README section on host ojects. 2014-09-07 16:43:52 -07:00
Nick Chappell
b3ad2d0b57 Added a section to the README for servicegroup objects with a usage example. 2014-09-07 16:32:02 -07:00
Nick Chappell
73190ad008 Added an ERB template to create servicegroup object files. 2014-09-07 16:31:20 -07:00
Nick Chappell
52da440fa5 Added a servicegroup object defined type. 2014-09-07 16:31:03 -07:00
Nick Chappell
c6bb94e5ee Bump the version of the apt module that's required by metadata.json. 2014-09-07 16:30:44 -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