Filippo Giunchedi has submitted this change and it was merged.
Change subject: Revert "cassandra: stop declaring service resource"
......................................................................
Revert "cassandra: stop declaring service resource"
it doesn't play well with nrpe::monitor_systemd_unit_state:
Error: Failed to apply catalog: Could not find dependency Service[cassandra]
for Nrpe::Monitor_systemd_unit_state[cassandra] at
/etc/puppet/modules/cassandra/manifests/instance.pp:224
Change-Id: I58997603a03f2fb76a1ad4a13307d700042adcfd
This reverts commit 2585d9cff1c295cff9246cb494bf7949a55c61fc.
---
M modules/cassandra/manifests/instance.pp
1 file changed, 4 insertions(+), 5 deletions(-)
Approvals:
Filippo Giunchedi: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/cassandra/manifests/instance.pp
b/modules/cassandra/manifests/instance.pp
index cba3f25..03440b5 100644
--- a/modules/cassandra/manifests/instance.pp
+++ b/modules/cassandra/manifests/instance.pp
@@ -206,11 +206,10 @@
}
base::service_unit { $service_name:
- ensure => present,
- template_name => 'cassandra',
- systemd => true,
- refresh => false,
- declare_service => false,
+ ensure => present,
+ template_name => 'cassandra',
+ systemd => true,
+ refresh => false,
require => [
File[$data_file_directories],
File["${config_directory}/cassandra-env.sh"],
--
To view, visit https://gerrit.wikimedia.org/r/249382
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I58997603a03f2fb76a1ad4a13307d700042adcfd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits