Mark Bergsma has submitted this change and it was merged.

Change subject: Test the new ganglia monitor classes with pmtpa bits caches
......................................................................


Test the new ganglia monitor classes with pmtpa bits caches

Change-Id: Ic5188bb488a285f1566b74bb1e850d5f5e44e93f
---
M manifests/site.pp
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Mark Bergsma: Verified; Looks good to me, approved



diff --git a/manifests/site.pp b/manifests/site.pp
index c75d397..85fde0a 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -51,9 +51,15 @@
 # Class for *most* servers, standard includes
 class standard {
        include base,
-               ganglia,
                ntp::client,
                exim::simple-mail-sender
+
+       # FIXME: remove after the ganglia module migration
+       if $::site == "pmtpa" and $cluster in ["cache_bits"] {
+               class { "ganglia_new::monitor": cluster => $cluster }
+       } else {
+               include ganglia
+       }
 }
 
 class newstandard {

-- 
To view, visit https://gerrit.wikimedia.org/r/60835
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic5188bb488a285f1566b74bb1e850d5f5e44e93f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mark Bergsma <m...@wikimedia.org>
Gerrit-Reviewer: Mark Bergsma <m...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to