Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/322630
Change subject: ganeti: Disable the drbd service
......................................................................
ganeti: Disable the drbd service
Never really used it since ganeti takes care of DRBD and hence the
service is essentially garbage. Ensure it stopped and disabled
Change-Id: I75aa99210cf41a04a695c58871e4e202af9bca3c
---
M modules/ganeti/manifests/init.pp
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/30/322630/1
diff --git a/modules/ganeti/manifests/init.pp b/modules/ganeti/manifests/init.pp
index 33fe60a..4a406f5 100644
--- a/modules/ganeti/manifests/init.pp
+++ b/modules/ganeti/manifests/init.pp
@@ -13,7 +13,7 @@
# Sample Usage
# include ganeti
class ganeti(
- $with_drbd=true
+ $with_drbd=true
) {
include ganeti::kvm
@@ -43,6 +43,12 @@
unless => "/bin/lsmod | /bin/grep -q '^drbd'",
command => '/sbin/modprobe drbd',
}
+ # Disable the systemd service shipped with drbd8-utils. Ganeti handles
+ # DRBD on its own
+ service { 'drbd':
+ ensure => 'stopped',
+ enable => false,
+ }
}
# Enable vhost_net
exec { 'enable-module-vhost_net' :
--
To view, visit https://gerrit.wikimedia.org/r/322630
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I75aa99210cf41a04a695c58871e4e202af9bca3c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits