Commit graph

16 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
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
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
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