Alexandros Kosiaris has submitted this change and it was merged.

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(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



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: merged
Gerrit-Change-Id: I75aa99210cf41a04a695c58871e4e202af9bca3c
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to