Commit graph

91 commits

Author SHA1 Message Date
c2e6690c3c Use absolute path for mysql executable 2016-08-19 11:11:14 +02:00
Tom De Vylder
b7a4de5138 Lintian fixes 2016-07-04 11:31:29 +02:00
Tom De Vylder
3096ea1e7d Bump puppet-lint version 2016-07-04 11:28:06 +02:00
Stefan Kleindl
5a786c6d49 Add possibility to set auth_backend to ldap
next to the already existing possibilities db and external. If auth_backend is set
to ldap an ldap ressource and an ldap authentication configuration is generated.

Also support for ldap encryption is added.
2016-05-12 16:10:51 +02:00
Khanh Ngo
475e0c9cfc Add extra clause for Debian/Ubuntu in db initialization step 2016-04-18 17:29:43 +02:00
Khanh Ngo
41c46bdf02 Switch initialize to true in icingaweb2 setup 2016-04-18 17:28:33 +02:00
Robert Waffen
3f25a733a1 Extend Documentation
- add docu about the monitoring module
- add hint to initialize, what the credentials are.
- add real world example
2016-04-14 12:45:49 +02:00
CV
85fcd131ee Module graphite is not getting enabled
When usting the mod::graphite class the module is not getting enabled. As in mod::monitoring this should be done.
2016-03-15 17:38:35 +01:00
Tom De Vylder
037e355e38 Fix merge duplication issue 2016-02-23 10:06:44 +01:00
Eric Zounes
167a752af7 Add parameters to the monitoring module class for more flexibility. 2016-02-23 09:59:40 +01:00
Stefan Kleindl
eb61819522 add parameter manage_user
which defines if user and group should be managed by this module. This gives
you the possibility to manage the user and group with another module or
manually.

The default value is set to true so it doesn't change the existent behaviour
of this module.
2016-02-16 09:41:02 +01:00
Peter Souter
a6cb42215a Fixes permissions on config files
Before ini_file was used to create the files, but the permissions were incorrect and you'd get an error message: ![Error](https://cloud.githubusercontent.com/assets/1064715/13003982/91bfc7ea-d170-11e5-9eb4-4fc135140f83.png)
2016-02-12 10:11:23 +00:00
Peter Souter
96211d89d1 Change sql_schema_location if using git
The git clone does not create the docs folder, so this fails:

```
/Stage[main]/Icingaweb2::Initialize/Exec[create db scheme]/returns: sh: /usr/share/doc/icingaweb2/schema/mysql.schema.sql: No such file or directory
==> default: Error: mysql --defaults-file='/root/.my.cnf' icingaweb2 < /usr/share/doc/icingaweb2/schema/mysql.schema.sql returned 1 instead of one of [0]
```

This checks if the user is using the git installation method, then changes to the location of the correct schema.

Also adds spec to check this logic
2016-02-10 20:47:13 +00:00
Eric Zounes
4fa1812fbd Set template parameters to undef and don't create ini settings unless they're set. 2016-01-13 09:40:49 +01:00
Eric Zounes
84ece824e8 Update the Graphite module class.
- Add parameters to the icingaweb2 graphite module class to manage the
  template parameters.
- Set the metric_prefix parameter to undef by default since this option
  has been removed from newer version of the module.
2016-01-13 09:40:49 +01:00
Jan Collijs
01a885a027 Bugfix: removed unused parameter web_root 2016-01-05 16:18:48 +01:00
Jan Collijs
af33ea765f Feature: added monitoring module 2016-01-05 16:14:58 +01:00
Jan Collijs
0cc89ec9fd Bugfix: only create db scheme once when tables are not yet deployed 2016-01-04 15:05:38 +01:00
Jan Collijs
df99507221 Feature: initialize database if preferred so a working icingaweb2 instance can be started automatically 2015-12-14 16:40:11 +01:00
Sebastian Brückner
df2c66896a Update graphite module on each puppet run 2015-11-22 14:07:49 +01:00
Tom De Vylder
27020366a5 Apt module isn't a requirement, removing reference 2015-11-10 23:56:20 +01:00
Tom De Vylder
d36b13f668 Reformat documentation 2015-11-10 23:38:24 +01:00
Tom De Vylder
2fc036ce9d Bump version to 1.0.6 2015-11-10 22:58:56 +01:00
Markus Frosch
559ab7753d Avoid Ruby 1.8 breaking specs 2015-10-30 10:58:28 +01:00
Markus Frosch
f0d392476c Enable metadata linting 2015-10-30 10:35:24 +01:00
Markus Frosch
7be6514c4a Document class for lint 2015-10-30 10:30:57 +01:00
Markus Frosch
4ca1f7b125 Update travis definitions 2015-10-30 10:20:10 +01:00
Markus Frosch
d91e8bdd4c Sync basic module settings with icinga-icinga2 2015-10-30 10:20:01 +01:00
Michael Friedrich
06301fc668 Add .mailmap and AUTHORS file 2015-10-29 23:00:14 +01:00
Alexandre Beche
4a88d7325f Allowing to purge the confiruration directory 2015-10-26 22:43:45 +01:00
Tom De Vylder
a8eeb9c2ac TravisCI: allow puppet 2.7 to fail 2015-10-20 09:41:18 +02:00
Eric Zounes
144be24450 Add ldap auth define type. 2015-10-20 09:41:18 +02:00
Tom De Vylder
944e648ce5 Bump version to 1.0.5 2015-08-04 13:47:16 +02:00
Tom De Vylder
cea9ac0df3 Fix puppet forge metadata warning 2015-08-04 13:46:56 +02:00
Tom De Vylder
83c934f003 Remove duplicate parameter 2015-07-29 11:33:25 +02:00
Tom De Vylder
baa024b7f5 Bump version to 1.0.4 2015-06-24 10:06:37 +02:00
Tom De Vylder
19732e2b84 Bump supported OS versions 2015-06-24 10:06:12 +02:00
Josh Beard
236d009a43 Add support for Scientific Linux in Yum repo
This commit uses the $::operatingsystemmajrelease fact for managing the
Yum repository on Scientific Linux.  Yum's "$releasever" resolves to
"6.6" (major.minor) on Scientific Linux, where it resolves to "major" or
"major(.server)?" on RedHat.  That causes the repo to fail on Scientific
Linux.

The other solution would be to add symlinks for major.minor in the
upstream Yum repo.  E.g. 6.6 => 6
2015-06-12 14:10:20 -06:00
Tom De Vylder
4a292671d2 Lintian fixes 2015-06-10 12:19:02 +02:00
Markus Frosch
4bbf9aefa6 Add spec tests for config::roles 2015-06-10 10:49:02 +02:00
Markus Frosch
cad60a9899 Validate role_name in config::roles 2015-06-10 10:49:02 +02:00
Markus Frosch
60ef67d9da Avoid resource duplication in config::roles 2015-06-10 10:49:02 +02:00
Timo Goebel
2cb4e0f46d remove settings when value is not set 2015-06-10 10:48:59 +02:00
Tom De Vylder
9425df2002 Bump version to 1.0.3 2015-05-07 10:56:21 +02:00
Tom De Vylder
1e5b911d77 Document requirements 2015-05-07 10:50:38 +02:00
Tom De Vylder
24d4cf8679 Bump version to 1.0.2 2015-05-07 10:42:24 +02:00
Tom De Vylder
e86db566c3 Meet Puppet Forge requirements 2015-05-07 10:42:05 +02:00
Tom De Vylder
238fc2f0b9 Bump version to 1.0.1 2015-05-07 10:36:43 +02:00
Tom De Vylder
81a6daa46d Add module usage documentation 2015-05-07 10:35:04 +02:00
Tom De Vylder
7071b9fdab Bump version to 1.0.0 2015-05-07 10:28:11 +02:00