Profile `icingaweb2_dev': add config file 'resources.ini'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-09 15:15:53 +02:00
parent 1e511a0e3a
commit 858e7c2f9e
2 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,26 @@
[icingaweb-mysql]
type = db
db = mysql
host = localhost
port = 3306
password = icingaweb
username = icingaweb
dbname = icingaweb
[icingaweb-pgsql]
type = db
db = pgsql
host = localhost
port = 5432
password = icingaweb
username = icingaweb
dbname = icingaweb
[ido-icinga2]
type = db
db = mysql
host = localhost
port = 3306
password = icinga2
username = icinga2
dbname = icinga2

View File

@ -8,7 +8,7 @@ class icingaweb2_dev {
pgsql::database::populate { 'icingaweb':
username => 'icingaweb',
password => 'icinga',
password => 'icingaweb',
schemafile => '/vagrant/etc/schema/accounts.pgsql.sql',
}
@ -53,7 +53,8 @@ class icingaweb2_dev {
icingaweb2::config { 'authentication': }
icingaweb2::config { 'resources':
replace => false,
source => 'puppet:///modules/icingaweb2_dev',
replace => false,
}
icingaweb2::config::module { [ 'backends', 'config', 'instances' ]: }