aboutsummaryrefslogtreecommitdiff
path: root/modules/role/manifests/cryptoportfolio/front.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-12 08:51:22 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-12 08:51:22 +0200
commitde68b72374231be37df7c171596672a21a218958 (patch)
tree96b09b188872a5d48385da467ea4a5990aeb90b0 /modules/role/manifests/cryptoportfolio/front.pp
parent21d531ee2e4a5952673d694342ff01822581a1f8 (diff)
parent96f8d0f037f8b8e93315e864bdaf661f45e3c472 (diff)
downloadPuppet-de68b72374231be37df7c171596672a21a218958.tar.gz
Puppet-de68b72374231be37df7c171596672a21a218958.tar.zst
Puppet-de68b72374231be37df7c171596672a21a218958.zip
Merge branch 'monitoring' into dev
Diffstat (limited to 'modules/role/manifests/cryptoportfolio/front.pp')
-rw-r--r--modules/role/manifests/cryptoportfolio/front.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/role/manifests/cryptoportfolio/front.pp b/modules/role/manifests/cryptoportfolio/front.pp
index cf73a27..5f7c097 100644
--- a/modules/role/manifests/cryptoportfolio/front.pp
+++ b/modules/role/manifests/cryptoportfolio/front.pp
@@ -187,4 +187,16 @@ class role::cryptoportfolio::front inherits role::cryptoportfolio {
187 } 187 }
188 } 188 }
189 189
190 @profile::monitoring::external_service { "Cryptoportfolio website is running on $web_host":
191 type => "web",
192 master => {
193 check_command => "check_https!$web_host!/!<title>Cryptoportfolio"
194 }
195 }
196 @profile::monitoring::external_service { "$web_host ssl certificate is up to date":
197 type => "web",
198 master => {
199 check_command => "check_https_certificate!$web_host"
200 }
201 }
190} 202}