From 89e7dd222d73276f55b57a52aa9e4b31c74b8ae1 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 8 Jun 2016 14:26:20 -0700 Subject: [PATCH] Do not accept nodes on zlstatic01 This is intendend to service only static workers. Change-Id: Ic5b2558c93aa77fbf4e14e5a7c2b679b27a0d7d6 Depends-On: I0086c25d4817a6a3302648bd0560762791a0e572 --- manifests/site.pp | 1 + modules/openstack_project/manifests/zuul_launcher.pp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/manifests/site.pp b/manifests/site.pp index 198baa3c22..02989c9c01 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -915,6 +915,7 @@ node /^zlstatic\d+\.openstack\.org$/ { sysadmins => hiera('sysadmins', []), sites => hiera('zuul_sites', []), nodes => hiera('zuul_nodes', []), + accept_nodes => false, } } diff --git a/modules/openstack_project/manifests/zuul_launcher.pp b/modules/openstack_project/manifests/zuul_launcher.pp index 890aa6df55..8d916b2ef2 100644 --- a/modules/openstack_project/manifests/zuul_launcher.pp +++ b/modules/openstack_project/manifests/zuul_launcher.pp @@ -33,6 +33,7 @@ class openstack_project::zuul_launcher( $worker_username = 'jenkins', $sites = [], $nodes = [], + $accept_nodes = '', ) { class { '::project_config': @@ -91,6 +92,7 @@ class openstack_project::zuul_launcher( worker_username => $worker_username, sites => $sites, nodes => $nodes, + accept_nodes => $accept_nodes, } class { 'zuul::launcher': }