diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-06-24 02:38:05 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-07-04 16:32:25 -0400 |
commit | 8248275d4e015042a89e3a3d95765193641bfda1 (patch) | |
tree | 578e5a8b3c1af6f30e82067a44886e888f34c612 /modules/tozt/manifests/tick.pp | |
parent | f7cb87b82615fbb0d4d6b63f709692e9732aeabf (diff) | |
download | puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.tar.gz puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.zip |
add tick stack stuff
Diffstat (limited to 'modules/tozt/manifests/tick.pp')
-rw-r--r-- | modules/tozt/manifests/tick.pp | 25 |
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'; + } +} |