Gehel has submitted this change and it was merged.

Change subject: Kartotherian: Use the root URL for the checker script
......................................................................


Kartotherian: Use the root URL for the checker script

Change-Id: I85730e37caffdad50e8a78d60986ceaee92d5946
---
M modules/kartotherian/manifests/init.pp
1 file changed, 10 insertions(+), 4 deletions(-)

Approvals:
  Gehel: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/kartotherian/manifests/init.pp 
b/modules/kartotherian/manifests/init.pp
index b998a04..f04ac7d 100644
--- a/modules/kartotherian/manifests/init.pp
+++ b/modules/kartotherian/manifests/init.pp
@@ -16,10 +16,16 @@
     $pgsql_kartotherian_user = 'kartotherian'
     $pgsql_kartotherian_pass = hiera('maps::postgresql_kartotherian_pass')
 
+    $monitor_url = $enable_spec ? {
+        true    => '',
+        default => '/_info',
+    }
+
     service::node { 'kartotherian':
-        port       => 6533,
-        config     => template('kartotherian/config.yaml.erb'),
-        deployment => 'scap3',
-        has_spec   => $enable_spec,
+        port            => 6533,
+        config          => template('kartotherian/config.yaml.erb'),
+        deployment      => 'scap3',
+        has_spec        => $enable_spec,
+        healthcheck_url => $monitor_url,
     }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/294313
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I85730e37caffdad50e8a78d60986ceaee92d5946
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to