Commit graph

24 commits

Author SHA1 Message Date
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
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
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
af33ea765f Feature: added monitoring module 2016-01-05 16:14:58 +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
Markus Frosch
559ab7753d Avoid Ruby 1.8 breaking specs 2015-10-30 10:58:28 +01:00
Markus Frosch
4bbf9aefa6 Add spec tests for config::roles 2015-06-10 10:49:02 +02:00
Tom De Vylder
2c2db8bd5c Add module deployment 2015-05-07 10:24:35 +02:00
Tom De Vylder
2b634be4a5 Add module nagvis 2015-04-27 10:52:44 +02:00
Tom De Vylder
b2817fc85f Add module graphite 2015-04-22 15:24:44 +02:00
Tom De Vylder
3274e9fc70 Add module businessprocess 2015-04-22 13:42:09 +02:00
Tom De Vylder
21d9633d5b Add modules directory 2015-04-22 13:02:05 +02:00
Markus Frosch
38ae5fd0fb Update spec for role fix 2015-04-07 14:22:22 +02:00
Tom De Vylder
bd977c220d Add tests for d91ca349 2015-04-06 16:56:30 +02:00
Tom De Vylder
4e1c7a6ef3 Add RHEL/CentOS package repository management 2015-02-23 17:27:33 +01:00
Tom De Vylder
cde6245491 Add template variables 2015-02-20 22:37:11 +01:00
Tom De Vylder
2f701621ae Fix rspec errors 2015-02-20 21:38:20 +01:00
Tom De Vylder
fcceebcfcf Manage apache vhost 2015-02-20 15:51:20 +01:00
Tom De Vylder
ceda2c941a Configure $config_user, $config_group 2015-02-20 14:07:05 +01:00
Tom De Vylder
a5b6188f3f Style fixes 2015-02-20 13:10:02 +01:00
Tom De Vylder
f51e3f0a40 Create $web_root directory 2015-02-20 12:53:54 +01:00
Tom De Vylder
ccead4cbf8 Add unit tests 2015-02-20 10:42:31 +01:00