Jcrespo has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/363360 )
Change subject: mariadb: Correct systemd unit path
......................................................................
mariadb: Correct systemd unit path
The right place is /lib, not /etc- although surprisingly, it still
works.
Bug: T169514
Change-Id: I4ea990b69a37552972e4a3cd535246e1311ea51b
---
M modules/mariadb/manifests/service.pp
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/60/363360/1
diff --git a/modules/mariadb/manifests/service.pp
b/modules/mariadb/manifests/service.pp
index 2ad529c..fc2f4af 100644
--- a/modules/mariadb/manifests/service.pp
+++ b/modules/mariadb/manifests/service.pp
@@ -39,8 +39,9 @@
service { $vendor:
ensure => $ensure,
enable => $enable,
- # shouldn't systemd unit be on /lib/systemd/system ?
- require => File["/etc/systemd/system/${vendor}.service"],
+ # $manage assumes only the main instance is managed-
+ # multiple instances have to be managed manually
+ require => File["/lib/systemd/system/${vendor}.service"],
}
}
# handle per-host special configuration
--
To view, visit https://gerrit.wikimedia.org/r/363360
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ea990b69a37552972e4a3cd535246e1311ea51b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits