Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/294313
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/13/294313/1
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: newchange
Gerrit-Change-Id: I85730e37caffdad50e8a78d60986ceaee92d5946
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits