Commit graph

58 commits

Author SHA1 Message Date
Steven Bambling
66d9d95ee2 re pointing default param's
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:20 -07:00
Steven Bambling
fb55aca0d5 adding default features to the paras.pp
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:20 -07:00
Steven Bambling
664d918edf making the server watch for enabled features/modules
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
7acbb29fad removing maillog
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
e846110b8d wrong icinga ver
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
aa72b8e1dd fixing typo
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
a0fb8f8a09 updating parameter names and define call
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
829c22d1cd adding default features and rename class
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
f4ae2a4232 renaming files
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Steven Bambling
a087d65bba adding class and define to enable icinga features/modules with icinga2-enable-feature command to create symlinks
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 23:12:19 -07:00
Olivier FONTANNAUD
2826c0fa9f Refactor debmon support
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 22:26:07 -07:00
Olivier FONTANNAUD
e35c11aa21 Refactor debmon repository feature
rename use_debmon to use_debmon_repo, merge debmon_repo class to install class

Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 22:26:07 -07:00
ofontannaud
4dd15a17e7 Add debmon support
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-10-09 22:26:07 -07:00
Steven Bambling
811aee0280 syntax fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:10 -07:00
Steven Bambling
6ad22d4f96 sytle guide 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
70e0f29dfc Added directories for template, constant and apply objects. 2014-07-05 18:10:37 -07:00
Nick Chappell
98022e2910 Add directory resources for /etc/icinga2/objects and subdirectories underneath it for each object type outlined on: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#icinga2#object-types. 2014-07-05 16:35:16 -07:00
Nick Chappell
995f4877a7 Added a subsection for server service parameters. 2014-07-05 15:56:55 -07:00
Nick Chappell
616784a032 Added a directory resource for /etc/icinga2/zones.d/. 2014-07-05 15:49:28 -07:00
Nick Chappell
5d5209883e Added a directory resource for /etc/icinga2/scripts/. 2014-07-05 15:48:49 -07:00
Nick Chappell
01bab8b187 Added a directory resource for /etc/icinga2/pki/. 2014-07-05 15:47:37 -07:00
Nick Chappell
414849941d Added a directory resource for /etc/icinga2/features-enabled. 2014-07-05 15:47:04 -07:00
Nick Chappell
6489063193 Added a file resource for /etc/icinga2/features-available/. 2014-07-05 15:43:00 -07:00
Nick Chappell
42af2a2f95 Added a file resource for /etc/icinga2/conf.d/. 2014-07-05 15:41:47 -07:00
Nick Chappell
5a6e78d47d Added a file resource for /etc/icinga2/icinga2.conf. 2014-07-05 15:36:56 -07:00
Nick Chappell
82a3cf983c Added a directory resource for /etc/icinga2/. 2014-07-05 15:24:13 -07:00
Nick Chappell
c1483d1034 Include the ::server class, not the ::params class. 2014-07-05 13:51:36 -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