Giuseppe Lavagetto has uploaded a new change for review.
https://gerrit.wikimedia.org/r/259704
Change subject: pybal: introduce role for testing machines
......................................................................
pybal: introduce role for testing machines
This should guarantee that a functioning setup of pybal is provided,
including a pybal configuration that should include all services from
the whole datacenter.
Change-Id: I0882db68c5a8d87b4312925a666ef13250f8305c
---
A modules/role/manifests/pybal/testing.pp
1 file changed, 24 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/04/259704/1
diff --git a/modules/role/manifests/pybal/testing.pp
b/modules/role/manifests/pybal/testing.pp
new file mode 100644
index 0000000..bd21e5f
--- /dev/null
+++ b/modules/role/manifests/pybal/testing.pp
@@ -0,0 +1,24 @@
+# == Class role::pybal::testing
+#
+# Class for a pybal test host
+
+class role::pybal::testing {
+ include ::pybal
+ $opts = {
+ 'instrumentation' => 'yes',
+ 'bgp' => 'no',
+ 'dry-run' => 'yes',
+ }
+
+ $lvs_class_hosts_stub = {
+ 'high-traffic1' => [$::hostname],
+ 'high-traffic2' => [$::hostname],
+ 'low-traffic' => [$::hostname],
+ }
+
+ class { 'pybal::configuration':
+ global_options => $opts,
+ lvs_services => hiera('lvs::configuration::lvs_services'),
+ lvs_class_hosts => $lvs_class_hosts_stub,
+ }
+}
--
To view, visit https://gerrit.wikimedia.org/r/259704
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0882db68c5a8d87b4312925a666ef13250f8305c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits