Add config templates

This commit is contained in:
Tom De Vylder 2015-02-20 10:41:52 +01:00
parent 6bc7b1ede6
commit 4c74c59aca
4 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# WARNING: This host definition is automatically generated by Puppet.
# ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
[icingaweb2]
backend = "<%= @web_backend %>"
resource = "<%= @web_resource %>"

12
templates/config.ini.erb Normal file
View file

@ -0,0 +1,12 @@
# WARNING: This host definition is automatically generated by Puppet.
# ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
[logging]
log = "<%= @log %>"
level = "<%= @level %>"
application = "<%= @application %>"
[preferences]
store = "<%= @store %>"
resource = "<%= @resource %>"

View file

@ -0,0 +1,22 @@
# WARNING: This host definition is automatically generated by Puppet.
# ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
[icingaweb_db]
type = "<%= @web_type %>"
db = "<%= @web_db %>"
host = "<%= @web_db_host %>"
port = "<%= @web_db_port %>"
dbname = "<%= @web_db_name %>"
username = "<%= @web_db_user %>"
password = "<%= @web_db_pass %>"
prefix = "<%= @web_db_prefix %>"
[icinga_ido]
type = "<%= @ido_type %>"
db = "<%= @ido_db %>"
host = "<%= @ido_db_host %>"
port = "<%= @ido_db_port %>"
dbname = "<%= @ido_db_name %>"
username = "<%= @ido_db_user %>"
password = "<%= @ido_db_pass %>"

7
templates/roles.ini.erb Normal file
View file

@ -0,0 +1,7 @@
# WARNING: This host definition is automatically generated by Puppet.
# ANY MANUAL CHANGES TO IT WILL GET OVERWRITTEN!
[admins]
users = "<%= @users %>"
permissions = "<%= @permissions %>"