summaryrefslogtreecommitdiffstats
path: root/modules/tozt/manifests/tick.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tozt/manifests/tick.pp')
-rw-r--r--modules/tozt/manifests/tick.pp25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/tozt/manifests/tick.pp b/modules/tozt/manifests/tick.pp
new file mode 100644
index 0000000..cc21c55
--- /dev/null
+++ b/modules/tozt/manifests/tick.pp
@@ -0,0 +1,25 @@
+class tozt::tick {
+ include tick::server
+
+ secret {
+ "/media/persistent/influxdb.htpasswd":
+ source => 'influxdb_htpasswd',
+ owner => 'http';
+ "/media/persistent/chronograf.htpasswd":
+ source => 'chronograf_htpasswd',
+ owner => 'http';
+ }
+
+ nginx::site {
+ "influxdb-tls":
+ source => 'puppet:///modules/tozt/nginx/influxdb-tls.conf',
+ require => Class['certbot'];
+ "influxdb":
+ source => 'puppet:///modules/tozt/nginx/influxdb.conf';
+ "chronograf-tls":
+ source => 'puppet:///modules/tozt/nginx/chronograf-tls.conf',
+ require => Class['certbot'];
+ "chronograf":
+ source => 'puppet:///modules/tozt/nginx/chronograf.conf';
+ }
+}