aboutsummaryrefslogtreecommitdiff
path: root/modules/role
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 08:43:05 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 08:49:25 +0200
commit0cdf494080b285e81b531a38dbbac7f7d8e9c990 (patch)
tree2974b8d845c259aeb29565c658bebe2e8c8dafb2 /modules/role
parent0363f38e186b8c942a6db2de4974befbc373f618 (diff)
downloadPuppet-0cdf494080b285e81b531a38dbbac7f7d8e9c990.tar.gz
Puppet-0cdf494080b285e81b531a38dbbac7f7d8e9c990.tar.zst
Puppet-0cdf494080b285e81b531a38dbbac7f7d8e9c990.zip
Monitor websites from master
Diffstat (limited to 'modules/role')
-rw-r--r--modules/role/manifests/etherpad.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/role/manifests/etherpad.pp b/modules/role/manifests/etherpad.pp
index 1a86389..119af56 100644
--- a/modules/role/manifests/etherpad.pp
+++ b/modules/role/manifests/etherpad.pp
@@ -122,4 +122,17 @@ class role::etherpad (
122 proxy_preserve_host => true; 122 proxy_preserve_host => true;
123 default: * => $::profile::apache::apache_vhost_default; 123 default: * => $::profile::apache::apache_vhost_default;
124 } 124 }
125
126 @profile::monitoring::external_service { "Etherpad service is running on $web_host":
127 type => "web",
128 master => {
129 check_command => "check_https!$web_host!/!<title>Etherpad"
130 }
131 }
132 @profile::monitoring::external_service { "$web_host ssl certificate is up to date":
133 type => "web",
134 master => {
135 check_command => "check_https_certificate!$web_host"
136 }
137 }
125} 138}