puppet: Use hiera variables in the resources.ini template

refs #6842
This commit is contained in:
Eric Lippmann 2014-12-15 10:54:56 +01:00
parent 33e25fd145
commit 6974b18755
1 changed files with 8 additions and 8 deletions

View File

@ -3,18 +3,18 @@ type = db
db = mysql db = mysql
host = localhost host = localhost
port = 3306 port = 3306
password = icingaweb username = <%= @db_user %>
username = icingaweb password = <%= @db_pass %>
dbname = icingaweb dbname = <%= @db_name %>
[icingaweb-pgsql] [icingaweb-pgsql]
type = db type = db
db = pgsql db = pgsql
host = localhost host = localhost
port = 5432 port = 5432
password = icingaweb username = <%= @db_user %>
username = icingaweb password = <%= @db_pass %>
dbname = icingaweb dbname = <%= @db_name %>
[ido-mysql] [ido-mysql]
type = db type = db
@ -34,10 +34,10 @@ password = icinga2
username = icinga2 username = icinga2
dbname = icinga2 dbname = icinga2
[internal_ldap] [local-ldap]
type = ldap type = ldap
hostname = localhost hostname = localhost
port = 389 port = 389
root_dn = "ou=people, dc=icinga, dc=org" root_dn = "ou=people,dc=icinga,dc=org"
bind_dn = "cn=admin,cn=config" bind_dn = "cn=admin,cn=config"
bind_pw = admin bind_pw = admin