Do not accept nodes on zlstatic01

This is intendend to service only static workers.

Change-Id: Ic5b2558c93aa77fbf4e14e5a7c2b679b27a0d7d6
Depends-On: I0086c25d4817a6a3302648bd0560762791a0e572
This commit is contained in:
James E. Blair 2016-06-08 14:26:20 -07:00 committed by James E. Blair
parent f5a4ba7073
commit 89e7dd222d
2 changed files with 3 additions and 0 deletions

View File

@ -915,6 +915,7 @@ node /^zlstatic\d+\.openstack\.org$/ {
sysadmins => hiera('sysadmins', []),
sites => hiera('zuul_sites', []),
nodes => hiera('zuul_nodes', []),
accept_nodes => false,
}
}

View File

@ -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': }