summaryrefslogtreecommitdiff
path: root/sitemodules/profiles/templates
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-21 10:35:26 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-21 10:35:26 +0200
commita976c461a97254faa3af872b23889efd725b0a86 (patch)
tree24447d0d2f3df738e8b292de2f682103d4e1be00 /sitemodules/profiles/templates
parent0b243f6ed18188c2e43ecc48adde0e14b4e6e3f1 (diff)
downloadcacert-puppet-a976c461a97254faa3af872b23889efd725b0a86.tar.gz
cacert-puppet-a976c461a97254faa3af872b23889efd725b0a86.tar.xz
cacert-puppet-a976c461a97254faa3af872b23889efd725b0a86.zip
Rework of icinga2 master setup
- replace debconf calls with preseed config for icinga2-ido-pgsql package - remove host key and certificate from monitor (these will be setup later) - disable icinga2_agent installation on puppet
Diffstat (limited to 'sitemodules/profiles/templates')
-rw-r--r--sitemodules/profiles/templates/icinga2_master/icinga2-ido-pgsql.preseed.epp12
1 files changed, 12 insertions, 0 deletions
diff --git a/sitemodules/profiles/templates/icinga2_master/icinga2-ido-pgsql.preseed.epp b/sitemodules/profiles/templates/icinga2_master/icinga2-ido-pgsql.preseed.epp
new file mode 100644
index 0000000..1be594e
--- /dev/null
+++ b/sitemodules/profiles/templates/icinga2_master/icinga2-ido-pgsql.preseed.epp
@@ -0,0 +1,12 @@
+<%-| String $dbname,
+ String $dbuser,
+ String $dbpassword
+|-%>
+icinga2-ido-pgsql icinga2-ido-pgsql/app-password-confirm password <%= $dbpassword %>
+icinga2-ido-pgsql icinga2-ido-pgsql/pgsql/app-pass password <%= $dbpassword %>
+icinga2-ido-pgsql icinga2-ido-pgsql/db/dbname string <%= $dbname %>
+icinga2-ido-pgsql icinga2-ido-pgsql/db/app-user string <%= $dbuser %>@@localhost
+icinga2-ido-pgsql icinga2-ido-pgsql/remote/host string localhost
+icinga2-ido-pgsql icinga2-ido-pgsql/dbconfig-reinstall boolean false
+icinga2-ido-pgsql icinga2-ido-pgsql/enable boolean true
+icinga2-ido-pgsql icinga2-ido-pgsql/dbconfig-install boolean true