module-icingaweb2/spec
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
..
classes Change sql_schema_location if using git 2016-02-10 20:47:13 +00:00
defines Add spec tests for config::roles 2015-06-10 10:49:02 +02:00
spec_helper.rb Fix rspec errors 2015-02-20 21:38:20 +01:00