e498870959
Change-Id: I520b77a4d83958a6a1c2472e87b28f6b8822d890
114 lines
2.5 KiB
Puppet
114 lines
2.5 KiB
Puppet
#
|
|
# Default: should at least behave like an openstack server
|
|
#
|
|
node default {
|
|
include openstack_project::puppet_cron
|
|
include openstack_project::server
|
|
}
|
|
|
|
#
|
|
# Long lived servers:
|
|
#
|
|
node "review.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::review
|
|
}
|
|
|
|
node "gerrit-dev.openstack.org", "review-dev.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::review_dev
|
|
}
|
|
|
|
node "jenkins.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::jenkins
|
|
}
|
|
|
|
node "jenkins-dev.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::jenkins_dev
|
|
}
|
|
|
|
node "community.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::community
|
|
}
|
|
|
|
node "ci-puppetmaster.openstack.org" {
|
|
include openstack_project::puppet_cron
|
|
include openstack_project::puppetmaster
|
|
}
|
|
|
|
node "lists.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::lists
|
|
}
|
|
|
|
node "paste.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::paste
|
|
}
|
|
|
|
node "planet.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::planet
|
|
}
|
|
|
|
node "eavesdrop.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::eavesdrop
|
|
}
|
|
|
|
node "pypi.openstack.org" {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::pypi
|
|
}
|
|
|
|
node 'etherpad.openstack.org' {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::etherpad
|
|
}
|
|
|
|
node 'wiki.openstack.org' {
|
|
include openstack_project::remove_cron
|
|
include openstack_project::wiki
|
|
}
|
|
|
|
# A bare machine, but with a jenkins user
|
|
node /^.*\.template\.openstack\.org$/ {
|
|
include openstack_project::slave_template
|
|
}
|
|
|
|
# A backup machine. Don't run cron or puppet agent on it.
|
|
node /^ci-backup-.*\.openstack\.org$/ {
|
|
include openstack_project::backup_server
|
|
}
|
|
|
|
#
|
|
# Jenkins slaves:
|
|
#
|
|
|
|
# Test cgroups and ulimits on precise8
|
|
node 'precise8.slave.openstack.org' {
|
|
include openstack_project::puppet_cron
|
|
include openstack_project::jenkins_slave
|
|
|
|
include ulimit
|
|
ulimit::conf { 'limit_jenkins_procs':
|
|
limit_domain => 'jenkins',
|
|
limit_type => 'hard',
|
|
limit_item => 'nproc',
|
|
limit_value => '256'
|
|
}
|
|
include jenkins_slave::cgroups
|
|
}
|
|
|
|
node /^.*\.slave\.openstack\.org$/ {
|
|
include openstack_project::puppet_cron
|
|
include openstack_project::jenkins_slave
|
|
}
|
|
|
|
node /^.*\.jclouds\.openstack\.org$/ {
|
|
include openstack_project::jclouds_slave
|
|
}
|