コミットグラフ

32 のコミット

作成者 SHA1 メッセージ 日付
Steven Bambling
811aee0280 syntax fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:10 -07:00
Nick Chappell
201ac76d69 Added a link to the Launchpad page for the Icinga PPA. 2014-09-22 21:59:38 -07:00
Nick Chappell
0598e74f56 Typo. 2014-09-22 21:50:16 -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
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
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
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
cf20a52ba0 Removed RedHat mentions, since it's not technically supported. 2014-09-12 20:25:32 -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
cb477311a9 Add a - between the su and postgres so that we inherit the Postgres user's environment and don't try to run the command with /root as the working directory. 2014-08-24 12:25:06 -07:00
Nick Chappell
f9f7cc5ad9 Use && in between the shell commands in the exects so that if any of the commands inside fail, the entire exec resource will fail.
With ; in between each shell command, the command chain would continue on even if one of the commands returned a non-0 exit status. Because this would make Puppet think the entire exec resource succeeded, Puppet would continue on configuring the rest of the resources in icinga2::server and all of its subclasses. With && in between each subcommand, the execs will fail if any of the subcommands fail and Puppet will skip the rest of the module's resources, not leaving things in a bad state.
2014-08-24 12:07:46 -07:00
Nick Chappell
eea0b20565 Remove language referring to Ubuntu Saucy and the snapshots repo since neither of those are being used or supported. 2014-08-22 10:52:06 -07:00
Adam Stephens
de61c1a14f make manage_repos parameter work 2014-08-18 09:31:31 -04:00
Nick Chappell
4d5c93d32a Wrapped the server plugin install in an if statement so that installing the plugins packages depends on the parameter being set to true. 2014-07-20 17:05:11 -07:00
Nick Chappell
33ff28b86d Add parameters for Nagios plugin pacakges and install them with a package resource in the icinga2::server::packages class so we can get the Nagios plugin packages Icinga 2 servers. 2014-07-05 22:00:20 -07:00
Nick Chappell
42f1429e14 Load the DB schema as the Icinga 2 DB user so that the tables are owned by the DB user instead of the 'postgres' DB user. 2014-07-04 20:32:31 -07:00
Nick Chappell
e0248a653c Comments. 2014-07-04 12:43:25 -07:00
Nick Chappell
30a2941a08 Added an exec to load the MySQL IDO module. 2014-07-03 22:40:02 -07:00
Nick Chappell
cea6ab147e Added an exec to enable the Postgres IDO module. 2014-07-03 22:30:56 -07:00
Nick Chappell
44c98f5fee Added exec to load the MySQL schema. 2014-07-03 20:37:48 -07:00
Nick Chappell
16ce34d7a0 Changed includes and a variable name. 2014-07-03 20:36:38 -07:00
Nick Chappell
87318a1722 Replace the hard-coded path for the SQL schema file with the variable from params.pp. 2014-07-02 21:54:19 -07:00
Nick Chappell
4fa10d3d32 Added Postgres schema loading; added database connection info parameters. 2014-07-02 19:54:25 -07:00
Nick Chappell
8d400511a1 Create skeleton case statement for DB schema loading later on. 2014-07-02 19:32:24 -07:00
Nick Chappell
51a408af92 Install the DB connector package. 2014-06-29 23:05:37 -07:00
Nick Chappell
876878cd52 Install the Icinga 2 pacakge. 2014-06-29 21:45:32 -07:00
Nick Chappell
d0a23c9889 Added package repo installation for RHEL/CentOS and Debian/Ubuntu. 2014-06-29 21:06:38 -07:00
Nick Chappell
a7d81822f8 Added skeleton sublcasses to the icinga2::server::install class. 2014-06-28 22:18:24 -07:00
Nick Chappell
f7da4468b6 Added lightweight anchor pattern to the icinga2::server::install class. 2014-06-28 22:05:37 -07:00
Nick Chappell
ba90a87f8c Added skeleton icinga2::server classes and subclasses. 2014-06-27 21:40:02 -07:00