2011-09-08 13:20:21 -07:00
|
|
|
#
|
|
|
|
# Default: should at least behave like an openstack server
|
|
|
|
#
|
|
|
|
node default {
|
2012-07-20 18:56:35 -07:00
|
|
|
include openstack_project::puppet_cron
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2011-09-08 13:20:21 -07:00
|
|
|
}
|
|
|
|
|
2011-08-02 12:58:08 -07:00
|
|
|
#
|
|
|
|
# Long lived servers:
|
|
|
|
#
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'review.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::review':
|
2012-11-04 22:20:36 +01:00
|
|
|
github_oauth_token => hiera('gerrit_github_token'),
|
|
|
|
github_project_username => hiera('github_project_username'),
|
|
|
|
github_project_password => hiera('github_project_password'),
|
|
|
|
mysql_password => hiera('gerrit_mysql_password'),
|
|
|
|
mysql_root_password => hiera('gerrit_mysql_root_password'),
|
|
|
|
email_private_key => hiera('gerrit_email_private_key'),
|
|
|
|
gerritbot_password => hiera('gerrit_gerritbot_password'),
|
|
|
|
ssl_cert_file_contents => hiera('gerrit_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('gerrit_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('gerrit_ssl_chain_file_contents'),
|
|
|
|
ssh_dsa_key_contents => hiera('gerrit_ssh_dsa_key_contents'),
|
|
|
|
ssh_dsa_pubkey_contents => hiera('gerrit_ssh_dsa_pubkey_contents'),
|
|
|
|
ssh_rsa_key_contents => hiera('gerrit_ssh_rsa_key_contents'),
|
|
|
|
ssh_rsa_pubkey_contents => hiera('gerrit_ssh_rsa_pubkey_contents'),
|
|
|
|
ssh_project_rsa_key_contents => hiera('gerrit_project_ssh_rsa_key_contents'),
|
|
|
|
ssh_project_rsa_pubkey_contents => hiera('gerrit_project_ssh_rsa_pubkey_contents'),
|
|
|
|
lp_sync_key => hiera('gerrit_lp_sync_key'),
|
|
|
|
lp_sync_pubkey => hiera('gerrit_lp_sync_pubkey'),
|
|
|
|
lp_sync_consumer_key => hiera('gerrit_lp_consumer_key'),
|
|
|
|
lp_sync_token => hiera('gerrit_lp_access_token'),
|
|
|
|
lp_sync_secret => hiera('gerrit_lp_access_secret'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2011-08-05 23:00:46 +00:00
|
|
|
}
|
|
|
|
|
2012-10-11 16:55:07 -07:00
|
|
|
node 'review-dev.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::review_dev':
|
2012-11-04 22:20:36 +01:00
|
|
|
github_oauth_token => hiera('gerrit_dev_github_token'),
|
|
|
|
github_project_username => hiera('github_dev_project_username'),
|
|
|
|
github_project_password => hiera('github_dev_project_password'),
|
|
|
|
mysql_password => hiera('gerrit_dev_mysql_password'),
|
|
|
|
mysql_root_password => hiera('gerrit_dev_mysql_root_password'),
|
|
|
|
email_private_key => hiera('gerrit_dev_email_private_key'),
|
|
|
|
contactstore_appsec => hiera('gerrit_dev_contactstore_appsec'),
|
|
|
|
contactstore_pubkey => hiera('gerrit_dev_contactstore_pubkey'),
|
|
|
|
ssh_dsa_key_contents => hiera('gerrit_dev_ssh_dsa_key_contents'),
|
|
|
|
ssh_dsa_pubkey_contents => hiera('gerrit_dev_ssh_dsa_pubkey_contents'),
|
|
|
|
ssh_rsa_key_contents => hiera('gerrit_dev_ssh_rsa_key_contents'),
|
|
|
|
ssh_rsa_pubkey_contents => hiera('gerrit_dev_ssh_rsa_pubkey_contents'),
|
|
|
|
ssh_project_rsa_key_contents => hiera('gerrit_dev_project_ssh_rsa_key_contents'),
|
|
|
|
ssh_project_rsa_pubkey_contents => hiera('gerrit_dev_project_ssh_rsa_pubkey_contents'),
|
|
|
|
lp_sync_key => hiera('gerrit_dev_lp_sync_key'),
|
|
|
|
lp_sync_pubkey => hiera('gerrit_dev_lp_sync_pubkey'),
|
|
|
|
lp_sync_consumer_key => hiera('gerrit_dev_lp_consumer_key'),
|
|
|
|
lp_sync_token => hiera('gerrit_dev_lp_access_token'),
|
|
|
|
lp_sync_secret => hiera('gerrit_dev_lp_access_secret'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2011-08-02 12:58:08 -07:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'jenkins.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::jenkins':
|
2012-10-01 18:53:58 -07:00
|
|
|
jenkins_jobs_password => hiera('jenkins_jobs_password'),
|
|
|
|
ssl_cert_file_contents => hiera('jenkins_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('jenkins_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('jenkins_ssl_chain_file_contents'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-01-05 10:55:29 -08:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'jenkins-dev.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::jenkins_dev':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-02-28 11:37:20 -08:00
|
|
|
}
|
|
|
|
|
2012-10-20 23:53:20 +00:00
|
|
|
node 'cacti.openstack.org' {
|
|
|
|
class { 'openstack_project::cacti':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'community.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::community':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2011-09-08 13:17:57 -07:00
|
|
|
}
|
|
|
|
|
2013-02-15 09:52:41 -08:00
|
|
|
node 'ask.openstack.org' {
|
|
|
|
class { 'openstack_project::ask':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'ci-puppetmaster.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::puppetmaster':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-06-06 20:54:34 +01:00
|
|
|
}
|
|
|
|
|
2012-11-28 23:12:07 +00:00
|
|
|
node 'graphite.openstack.org' {
|
|
|
|
class { 'openstack_project::graphite':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
graphite_admin_user => hiera('graphite_admin_user'),
|
|
|
|
graphite_admin_email => hiera('graphite_admin_email'),
|
|
|
|
graphite_admin_password => hiera('graphite_admin_password'),
|
2012-12-26 10:48:15 -08:00
|
|
|
statsd_hosts => ['jenkins.openstack.org',
|
|
|
|
'zuul.openstack.org'],
|
2012-11-28 23:12:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-08 10:52:37 +01:00
|
|
|
node 'groups.openstack.org' {
|
|
|
|
class { 'openstack_project::groups':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'lists.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::lists':
|
|
|
|
listadmins => hiera('listadmins'),
|
|
|
|
}
|
2011-08-02 12:58:08 -07:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'paste.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::paste':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-01-30 13:57:37 +00:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'planet.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::planet':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-02-03 14:37:54 +00:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'eavesdrop.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::eavesdrop':
|
2012-09-28 10:05:02 -04:00
|
|
|
nickpass => hiera('openstack_meetbot_password'),
|
2012-09-06 10:32:48 -07:00
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-04-15 16:06:41 +01:00
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'pypi.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::pypi':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-05-14 09:22:21 -04:00
|
|
|
}
|
|
|
|
|
2012-06-06 20:27:31 +00:00
|
|
|
node 'etherpad.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::etherpad':
|
2012-10-13 08:55:30 -07:00
|
|
|
ssl_cert_file_contents => hiera('etherpad_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('etherpad_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('etherpad_ssl_chain_file_contents'),
|
|
|
|
database_password => hiera('etherpad_db_password'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-05-31 23:16:57 +00:00
|
|
|
}
|
|
|
|
|
2012-10-25 16:09:13 -07:00
|
|
|
node 'etherpad-dev.openstack.org' {
|
|
|
|
class { 'openstack_project::etherpad_dev':
|
|
|
|
database_password => hiera('etherpad-dev_db_password'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-16 15:29:28 -07:00
|
|
|
node 'wiki.openstack.org' {
|
2012-07-30 00:23:41 -07:00
|
|
|
class { 'openstack_project::wiki':
|
2012-12-18 14:11:43 -08:00
|
|
|
mysql_root_password => hiera('wiki_db_password'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
ssl_cert_file_contents => hiera('wiki_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('wiki_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('wiki_ssl_chain_file_contents'),
|
2012-07-30 00:23:41 -07:00
|
|
|
}
|
2012-07-16 15:29:28 -07:00
|
|
|
}
|
|
|
|
|
2012-07-27 09:47:03 -05:00
|
|
|
node 'puppet-dashboard.openstack.org' {
|
|
|
|
class { 'openstack_project::dashboard':
|
2012-09-28 10:05:02 -04:00
|
|
|
password => hiera('dashboard_password'),
|
|
|
|
mysql_password => hiera('dashboard_mysql_password'),
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-07-27 09:47:03 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-16 15:01:25 -08:00
|
|
|
node 'logstash.openstack.org' {
|
|
|
|
class { 'openstack_project::logstash':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-06 15:10:13 +01:00
|
|
|
# A machine to run ODSREG in preparation for summits.
|
|
|
|
node 'summit.openstack.org' {
|
2013-02-07 13:56:07 +00:00
|
|
|
class { 'openstack_project::summit':
|
2013-02-06 15:10:13 +01:00
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-10 15:38:08 -07:00
|
|
|
# A machine to serve static content.
|
|
|
|
node 'static.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::static':
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
2012-08-10 15:38:08 -07:00
|
|
|
}
|
|
|
|
|
2012-11-29 13:43:20 -08:00
|
|
|
node 'zuul.openstack.org' {
|
|
|
|
class { 'openstack_project::zuul':
|
2012-12-02 16:32:10 +00:00
|
|
|
jenkins_host => 'jenkins.openstack.org',
|
|
|
|
jenkins_url => 'https://jenkins.openstack.org',
|
|
|
|
jenkins_user => 'hudson-openstack',
|
|
|
|
jenkins_apikey => hiera('zuul_jenkins_apikey'),
|
|
|
|
gerrit_server => 'review.openstack.org',
|
|
|
|
gerrit_user => 'jenkins',
|
|
|
|
zuul_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
|
|
|
url_pattern => 'http://logs.openstack.org/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}',
|
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-12-26 10:48:15 -08:00
|
|
|
statsd_host => 'graphite.openstack.org',
|
2012-11-29 13:43:20 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-15 19:17:39 -07:00
|
|
|
# A bare machine, but with a jenkins user
|
2012-03-15 10:30:38 -07:00
|
|
|
node /^.*\.template\.openstack\.org$/ {
|
2012-07-20 19:38:57 -07:00
|
|
|
include openstack_project::slave_template
|
2011-11-16 08:36:14 -08:00
|
|
|
}
|
|
|
|
|
2012-06-15 22:40:12 +00:00
|
|
|
# A backup machine. Don't run cron or puppet agent on it.
|
|
|
|
node /^ci-backup-.*\.openstack\.org$/ {
|
2012-07-20 19:38:57 -07:00
|
|
|
include openstack_project::backup_server
|
2012-06-15 22:40:12 +00:00
|
|
|
}
|
|
|
|
|
2011-08-02 12:58:08 -07:00
|
|
|
#
|
|
|
|
# Jenkins slaves:
|
|
|
|
#
|
2012-07-03 14:28:41 -07:00
|
|
|
|
2012-08-14 12:47:01 -07:00
|
|
|
node 'tx.slave.openstack.org' {
|
|
|
|
class { 'openstack_project::translation_slave':
|
|
|
|
transifex_username => 'openstackjenkins',
|
|
|
|
transifex_password => hiera('transifex_password')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-16 13:16:26 -08:00
|
|
|
node 'pypi.slave.openstack.org' {
|
|
|
|
class { 'openstack_project::pypi_slave':
|
|
|
|
pypi_username => 'openstackci',
|
|
|
|
pypi_password => hiera('pypi_password')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-01-25 22:07:08 +00:00
|
|
|
node /^quantal.*\.slave\.openstack\.org$/ {
|
|
|
|
include jenkins::cgroups
|
|
|
|
include openstack_project::puppet_cron
|
|
|
|
include ulimit
|
|
|
|
class { 'openstack_project::slave':
|
|
|
|
certname => 'quantal.slave.openstack.org',
|
|
|
|
sysadmins => hiera('sysadmins'),
|
|
|
|
}
|
|
|
|
class { 'openstack_project::glancetest':
|
|
|
|
s3_store_access_key => hiera('s3_store_access_key'),
|
|
|
|
s3_store_secret_key => hiera('s3_store_secret_key'),
|
|
|
|
s3_store_bucket => hiera('s3_store_bucket'),
|
|
|
|
swift_store_user => hiera('swift_store_user'),
|
|
|
|
swift_store_key => hiera('swift_store_key'),
|
|
|
|
swift_store_container => hiera('swift_store_container'),
|
|
|
|
}
|
|
|
|
ulimit::conf { 'limit_jenkins_procs':
|
|
|
|
limit_domain => 'jenkins',
|
|
|
|
limit_type => 'hard',
|
|
|
|
limit_item => 'nproc',
|
|
|
|
limit_value => '256'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-07-23 14:47:46 -07:00
|
|
|
node /^precise.*\.slave\.openstack\.org$/ {
|
2012-09-28 10:05:02 -04:00
|
|
|
include jenkins::cgroups
|
2012-07-20 18:56:35 -07:00
|
|
|
include openstack_project::puppet_cron
|
2012-09-28 10:05:02 -04:00
|
|
|
include ulimit
|
2012-08-05 13:02:21 -05:00
|
|
|
class { 'openstack_project::slave':
|
2012-09-28 10:05:02 -04:00
|
|
|
certname => 'precise.slave.openstack.org',
|
2012-09-06 10:32:48 -07:00
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-08-05 13:02:21 -05:00
|
|
|
}
|
|
|
|
class { 'openstack_project::glancetest':
|
2012-09-28 10:05:02 -04:00
|
|
|
s3_store_access_key => hiera('s3_store_access_key'),
|
|
|
|
s3_store_secret_key => hiera('s3_store_secret_key'),
|
|
|
|
s3_store_bucket => hiera('s3_store_bucket'),
|
|
|
|
swift_store_user => hiera('swift_store_user'),
|
|
|
|
swift_store_key => hiera('swift_store_key'),
|
2012-08-05 13:02:21 -05:00
|
|
|
swift_store_container => hiera('swift_store_container'),
|
|
|
|
}
|
2012-07-03 14:28:41 -07:00
|
|
|
ulimit::conf { 'limit_jenkins_procs':
|
|
|
|
limit_domain => 'jenkins',
|
|
|
|
limit_type => 'hard',
|
|
|
|
limit_item => 'nproc',
|
|
|
|
limit_value => '256'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-05 13:02:21 -05:00
|
|
|
node /^oneiric.*\.slave\.openstack\.org$/ {
|
2012-07-20 18:56:35 -07:00
|
|
|
include openstack_project::puppet_cron
|
2012-08-05 13:02:21 -05:00
|
|
|
class { 'openstack_project::slave':
|
2012-09-28 10:05:02 -04:00
|
|
|
certname => 'oneiric.slave.openstack.org',
|
2012-09-06 10:32:48 -07:00
|
|
|
sysadmins => hiera('sysadmins'),
|
2012-08-05 13:02:21 -05:00
|
|
|
}
|
|
|
|
class { 'openstack_project::glancetest':
|
2012-09-28 10:05:02 -04:00
|
|
|
s3_store_access_key => hiera('s3_store_access_key'),
|
|
|
|
s3_store_secret_key => hiera('s3_store_secret_key'),
|
|
|
|
s3_store_bucket => hiera('s3_store_bucket'),
|
|
|
|
swift_store_user => hiera('swift_store_user'),
|
|
|
|
swift_store_key => hiera('swift_store_key'),
|
2012-08-05 13:02:21 -05:00
|
|
|
swift_store_container => hiera('swift_store_container'),
|
|
|
|
}
|
2012-11-12 14:26:35 -08:00
|
|
|
if $::fqdn == 'oneiric1.slave.openstack.org' {
|
2012-11-12 09:47:19 -08:00
|
|
|
include jenkins::cgroups
|
|
|
|
include ulimit
|
|
|
|
ulimit::conf { 'limit_jenkins_procs':
|
|
|
|
limit_domain => 'jenkins',
|
|
|
|
limit_type => 'hard',
|
|
|
|
limit_item => 'nproc',
|
|
|
|
limit_value => '256'
|
|
|
|
}
|
|
|
|
}
|
2012-01-23 15:16:06 -08:00
|
|
|
}
|
2012-03-25 12:44:52 -07:00
|
|
|
|
2012-05-28 10:41:13 -04:00
|
|
|
node /^.*\.jclouds\.openstack\.org$/ {
|
2012-08-05 13:02:21 -05:00
|
|
|
class { 'openstack_project::bare_slave':
|
|
|
|
certname => 'jclouds.openstack.org',
|
|
|
|
}
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2012-09-28 10:05:02 -04:00
|
|
|
|
|
|
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|