2014-06-03 17:28:27 -07:00
|
|
|
#
|
|
|
|
# Top-level variables
|
|
|
|
#
|
|
|
|
# There must not be any whitespace between this comment and the variables or
|
|
|
|
# in between any two variables in order for them to be correctly parsed and
|
|
|
|
# passed around in test.sh
|
|
|
|
#
|
|
|
|
$elasticsearch_nodes = [
|
|
|
|
'elasticsearch02.openstack.org',
|
|
|
|
'elasticsearch03.openstack.org',
|
|
|
|
'elasticsearch04.openstack.org',
|
|
|
|
'elasticsearch05.openstack.org',
|
|
|
|
'elasticsearch06.openstack.org',
|
|
|
|
'elasticsearch07.openstack.org',
|
|
|
|
]
|
2014-08-06 17:56:16 -07:00
|
|
|
$elasticsearch_clients = [
|
|
|
|
'logstash.openstack.org',
|
|
|
|
'logstash-worker01.openstack.org',
|
|
|
|
'logstash-worker02.openstack.org',
|
|
|
|
'logstash-worker03.openstack.org',
|
|
|
|
'logstash-worker04.openstack.org',
|
|
|
|
'logstash-worker05.openstack.org',
|
|
|
|
'logstash-worker06.openstack.org',
|
|
|
|
'logstash-worker07.openstack.org',
|
|
|
|
'logstash-worker08.openstack.org',
|
|
|
|
'logstash-worker09.openstack.org',
|
|
|
|
'logstash-worker10.openstack.org',
|
|
|
|
'logstash-worker11.openstack.org',
|
|
|
|
'logstash-worker12.openstack.org',
|
|
|
|
'logstash-worker13.openstack.org',
|
|
|
|
'logstash-worker14.openstack.org',
|
|
|
|
'logstash-worker15.openstack.org',
|
|
|
|
'logstash-worker16.openstack.org',
|
|
|
|
'logstash-worker17.openstack.org',
|
|
|
|
'logstash-worker18.openstack.org',
|
|
|
|
'logstash-worker19.openstack.org',
|
|
|
|
'logstash-worker20.openstack.org',
|
2014-11-18 18:50:39 -05:00
|
|
|
'subunit-worker01.openstack.org',
|
2014-08-06 17:56:16 -07:00
|
|
|
]
|
2014-06-03 17:28:27 -07:00
|
|
|
|
2011-09-08 13:20:21 -07:00
|
|
|
#
|
|
|
|
# Default: should at least behave like an openstack server
|
|
|
|
#
|
|
|
|
node default {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::server':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2011-09-08 13:20:21 -07:00
|
|
|
}
|
|
|
|
|
2011-08-02 12:58:08 -07:00
|
|
|
#
|
|
|
|
# Long lived servers:
|
|
|
|
#
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-02-04 22:04:31 +00:00
|
|
|
# Node-OS: trusty
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'review.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::review':
|
2014-09-19 15:38:45 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:02:32 -07:00
|
|
|
github_oauth_token => hiera('gerrit_github_token'),
|
2014-05-16 11:46:59 -04:00
|
|
|
github_project_username => hiera('github_project_username', 'username'),
|
2015-10-16 14:02:32 -07:00
|
|
|
github_project_password => hiera('github_project_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
mysql_host => hiera('gerrit_mysql_host', 'localhost'),
|
2015-10-16 14:02:32 -07:00
|
|
|
mysql_password => hiera('gerrit_mysql_password'),
|
|
|
|
email_private_key => hiera('gerrit_email_private_key'),
|
|
|
|
token_private_key => hiera('gerrit_rest_token_private_key'),
|
|
|
|
gerritbot_password => hiera('gerrit_gerritbot_password'),
|
|
|
|
gerritbot_ssh_rsa_key_contents => hiera('gerritbot_ssh_rsa_key_contents'),
|
|
|
|
gerritbot_ssh_rsa_pubkey_contents => hiera('gerritbot_ssh_rsa_pubkey_contents'),
|
|
|
|
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'),
|
|
|
|
ssh_welcome_rsa_key_contents => hiera('welcome_message_gerrit_ssh_private_key'),
|
|
|
|
ssh_welcome_rsa_pubkey_contents => hiera('welcome_message_gerrit_ssh_public_key'),
|
|
|
|
ssh_replication_rsa_key_contents => hiera('gerrit_replication_ssh_rsa_key_contents'),
|
|
|
|
ssh_replication_rsa_pubkey_contents => hiera('gerrit_replication_ssh_rsa_pubkey_contents'),
|
|
|
|
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'),
|
|
|
|
contactstore_appsec => hiera('gerrit_contactstore_appsec'),
|
|
|
|
contactstore_pubkey => hiera('gerrit_contactstore_pubkey'),
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2014-05-16 11:46:59 -04:00
|
|
|
swift_username => hiera('swift_store_user', 'username'),
|
2015-10-16 14:02:32 -07:00
|
|
|
swift_password => hiera('swift_store_key'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2011-08-05 23:00:46 +00:00
|
|
|
}
|
|
|
|
|
2015-01-15 20:36:59 +00:00
|
|
|
# Node-OS: trusty
|
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':
|
2015-04-15 15:38:05 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:05:35 -07:00
|
|
|
github_oauth_token => hiera('gerrit_dev_github_token'),
|
2015-04-15 15:38:05 -07:00
|
|
|
github_project_username => hiera('github_dev_project_username', 'username'),
|
2015-10-16 14:05:35 -07:00
|
|
|
github_project_password => hiera('github_dev_project_password'),
|
2015-04-15 15:38:05 -07:00
|
|
|
mysql_host => hiera('gerrit_dev_mysql_host', 'localhost'),
|
2015-10-16 14:05:35 -07:00
|
|
|
mysql_password => hiera('gerrit_dev_mysql_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'),
|
|
|
|
ssh_replication_rsa_key_contents => hiera('gerrit_dev_replication_ssh_rsa_key_contents'),
|
|
|
|
ssh_replication_rsa_pubkey_contents => hiera('gerrit_dev_replication_ssh_rsa_pubkey_contents'),
|
|
|
|
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'),
|
2015-04-15 15:38:05 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2011-08-02 12:58:08 -07:00
|
|
|
}
|
|
|
|
|
2015-04-30 19:09:38 +00:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'grafana.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { 'openstack_project::grafana':
|
2015-10-28 11:31:50 +09:00
|
|
|
admin_password => hiera('grafana_admin_password'),
|
2015-10-09 11:20:50 -04:00
|
|
|
admin_user => hiera('grafana_admin_user', 'username'),
|
|
|
|
mysql_host => hiera('grafana_mysql_host', 'localhost'),
|
2015-10-28 11:31:50 +09:00
|
|
|
mysql_name => hiera('grafana_mysql_name'),
|
|
|
|
mysql_password => hiera('grafana_mysql_password'),
|
2015-10-09 11:20:50 -04:00
|
|
|
mysql_user => hiera('grafana_mysql_user', 'username'),
|
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-28 11:31:50 +09:00
|
|
|
secret_key => hiera('grafana_secret_key'),
|
2015-04-30 19:09:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-14 15:33:20 -04:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'health.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { 'openstack_project::openstack_health_api':
|
|
|
|
subunit2sql_db_host => hiera('subunit2sql_db_host', 'localhost'),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-12 17:09:21 +00:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'stackalytics.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
|
|
|
class { 'openstack_project::stackalytics':
|
|
|
|
gerrit_ssh_user => hiera('stackalytics_gerrit_ssh_user'),
|
|
|
|
stackalytics_ssh_private_key => hiera('stackalytics_ssh_private_key_contents'),
|
|
|
|
}
|
|
|
|
}
|
2015-10-14 15:33:20 -04:00
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'jenkins.openstack.org' {
|
2015-04-07 10:37:46 -04:00
|
|
|
$group = "jenkins"
|
2015-04-03 13:11:16 +00:00
|
|
|
$zmq_event_receivers = ['logstash.openstack.org',
|
|
|
|
'nodepool.openstack.org']
|
|
|
|
$iptables_rule = regsubst ($zmq_event_receivers,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 8888 -s \1 -j ACCEPT')
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
iptables_rules6 => $iptables_rule,
|
|
|
|
iptables_rules4 => $iptables_rule,
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
puppetmaster_server => 'puppetmaster.openstack.org',
|
|
|
|
}
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::jenkins':
|
2014-09-19 15:28:40 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:11:04 -07:00
|
|
|
jenkins_password => hiera('jenkins_jobs_password'),
|
|
|
|
jenkins_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
2015-07-16 19:54:21 +00:00
|
|
|
ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
|
|
|
|
ssl_key_file => '/etc/ssl/private/ssl-cert-snakeoil.key',
|
|
|
|
ssl_chain_file => '',
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-01-05 10:55:29 -08:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2014-04-09 14:17:06 -07:00
|
|
|
node /^jenkins\d+\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "jenkins"
|
2015-04-03 13:11:16 +00:00
|
|
|
$zmq_event_receivers = ['logstash.openstack.org',
|
|
|
|
'nodepool.openstack.org']
|
|
|
|
$iptables_rule = regsubst ($zmq_event_receivers,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 8888 -s \1 -j ACCEPT')
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
iptables_rules6 => $iptables_rule,
|
|
|
|
iptables_rules4 => $iptables_rule,
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
puppetmaster_server => 'puppetmaster.openstack.org',
|
|
|
|
}
|
2013-07-26 15:33:06 -07:00
|
|
|
class { 'openstack_project::jenkins':
|
2015-10-16 14:11:04 -07:00
|
|
|
jenkins_password => hiera('jenkins_jobs_password'),
|
|
|
|
jenkins_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
2014-04-09 14:17:06 -07:00
|
|
|
ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
|
|
|
|
ssl_key_file => '/etc/ssl/private/ssl-cert-snakeoil.key',
|
|
|
|
ssl_chain_file => '',
|
2014-01-22 09:12:39 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'jenkins-dev.openstack.org' {
|
2015-04-03 13:11:16 +00:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
puppetmaster_server => 'puppetmaster.openstack.org',
|
|
|
|
}
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::jenkins_dev':
|
2015-10-30 11:52:48 +09:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:11:53 -07:00
|
|
|
jenkins_ssh_private_key => hiera('jenkins_dev_ssh_private_key_contents'),
|
|
|
|
mysql_password => hiera('nodepool_dev_mysql_password'),
|
|
|
|
mysql_root_password => hiera('nodepool_dev_mysql_root_password'),
|
|
|
|
nodepool_ssh_private_key => hiera('jenkins_dev_ssh_private_key_contents'),
|
2014-05-16 11:46:59 -04:00
|
|
|
jenkins_api_user => hiera('jenkins_dev_api_user', 'username'),
|
2015-10-16 14:11:53 -07:00
|
|
|
jenkins_api_key => hiera('jenkins_dev_api_key'),
|
|
|
|
jenkins_credentials_id => hiera('jenkins_dev_credentials_id'),
|
2014-05-16 11:46:59 -04:00
|
|
|
hpcloud_username => hiera('nodepool_hpcloud_username', 'username'),
|
2015-10-16 14:11:53 -07:00
|
|
|
hpcloud_password => hiera('nodepool_hpcloud_password'),
|
|
|
|
hpcloud_project => hiera('nodepool_hpcloud_project'),
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2012-02-28 11:37:20 -08:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-10-20 23:53:20 +00:00
|
|
|
node 'cacti.openstack.org' {
|
2013-05-24 12:43:54 -07:00
|
|
|
include openstack_project::ssl_cert_check
|
2012-10-20 23:53:20 +00:00
|
|
|
class { 'openstack_project::cacti':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2012-10-20 23:53:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2014-03-28 00:11:10 -07:00
|
|
|
node 'puppetmaster.openstack.org' {
|
2015-04-10 17:36:44 +02:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [4505, 4506, 8140],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
pin_puppet => '3.6.',
|
|
|
|
}
|
2014-03-28 00:11:10 -07:00
|
|
|
class { 'openstack_project::puppetmaster':
|
2015-10-16 14:13:46 -07:00
|
|
|
root_rsa_key => hiera('puppetmaster_root_rsa_key'),
|
2015-09-28 10:07:31 -07:00
|
|
|
jenkins_api_user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:13:46 -07:00
|
|
|
jenkins_api_key => hiera('jenkins_api_key'),
|
2014-03-28 00:11:10 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2014-02-15 14:54:03 -08:00
|
|
|
node 'puppetdb.openstack.org' {
|
|
|
|
class { 'openstack_project::puppetdb':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2014-02-15 14:54:03 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-11-28 23:12:07 +00:00
|
|
|
node 'graphite.openstack.org' {
|
2015-08-25 14:30:09 +02:00
|
|
|
$statsd_hosts = ['logstash.openstack.org',
|
|
|
|
'nodepool.openstack.org',
|
|
|
|
'zuul.openstack.org']
|
|
|
|
|
|
|
|
# Turn a list of hostnames into a list of iptables rules
|
|
|
|
$rules = regsubst ($statsd_hosts, '^(.*)$', '-m udp -p udp -s \1 --dport 8125 -j ACCEPT')
|
|
|
|
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
iptables_rules6 => $rules,
|
|
|
|
iptables_rules4 => $rules,
|
|
|
|
sysadmins => hiera('sysadmins', [])
|
|
|
|
}
|
|
|
|
|
|
|
|
class { '::graphite':
|
2014-05-16 11:46:59 -04:00
|
|
|
graphite_admin_user => hiera('graphite_admin_user', 'username'),
|
|
|
|
graphite_admin_email => hiera('graphite_admin_email', 'email@example.com'),
|
2015-10-16 14:14:46 -07:00
|
|
|
graphite_admin_password => hiera('graphite_admin_password'),
|
2012-11-28 23:12:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-11-08 10:52:37 +01:00
|
|
|
node 'groups.openstack.org' {
|
2015-06-26 12:26:58 +02:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2012-11-08 10:52:37 +01:00
|
|
|
class { 'openstack_project::groups':
|
2015-10-16 14:16:15 -07:00
|
|
|
site_admin_password => hiera('groups_site_admin_password'),
|
2014-12-01 08:46:10 +01:00
|
|
|
site_mysql_host => hiera('groups_site_mysql_host', 'localhost'),
|
2015-10-16 14:16:15 -07:00
|
|
|
site_mysql_password => hiera('groups_site_mysql_password'),
|
|
|
|
conf_cron_key => hiera('groups_conf_cron_key'),
|
2014-12-01 08:46:10 +01:00
|
|
|
site_ssl_cert_file_contents => hiera('groups_site_ssl_cert_file_contents', undef),
|
|
|
|
site_ssl_key_file_contents => hiera('groups_site_ssl_key_file_contents', undef),
|
|
|
|
site_ssl_chain_file_contents => hiera('groups_site_ssl_chain_file_contents', undef),
|
2012-11-08 10:52:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2013-09-17 11:43:00 +02:00
|
|
|
node 'groups-dev.openstack.org' {
|
2015-06-26 12:26:58 +02:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2013-09-17 11:43:00 +02:00
|
|
|
class { 'openstack_project::groups_dev':
|
2015-10-16 14:16:15 -07:00
|
|
|
site_admin_password => hiera('groups_dev_site_admin_password'),
|
2014-11-19 21:07:37 +01:00
|
|
|
site_mysql_host => hiera('groups_dev_site_mysql_host', 'localhost'),
|
2015-10-16 14:16:15 -07:00
|
|
|
site_mysql_password => hiera('groups_dev_site_mysql_password'),
|
|
|
|
conf_cron_key => hiera('groups_dev_conf_cron_key'),
|
2014-11-19 21:07:37 +01:00
|
|
|
site_ssl_cert_file_contents => hiera('groups_dev_site_ssl_cert_file_contents', undef),
|
|
|
|
site_ssl_key_file_contents => hiera('groups_dev_site_ssl_key_file_contents', undef),
|
|
|
|
site_ssl_cert_file => '/etc/ssl/certs/groups-dev.openstack.org.pem',
|
|
|
|
site_ssl_key_file => '/etc/ssl/private/groups-dev.openstack.org.key',
|
2013-09-17 11:43:00 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'lists.openstack.org' {
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::lists':
|
2014-06-14 08:09:09 -07:00
|
|
|
listadmins => hiera('listadmins', []),
|
2015-10-16 14:17:05 -07:00
|
|
|
listpassword => hiera('listpassword'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2011-08-02 12:58:08 -07:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'paste.openstack.org' {
|
2015-03-09 17:50:01 -07:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::paste':
|
2015-10-16 14:18:22 -07:00
|
|
|
db_password => hiera('paste_db_password'),
|
|
|
|
mysql_root_password => hiera('paste_mysql_root_password'),
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2012-01-30 13:57:37 +00:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'planet.openstack.org' {
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::planet':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2012-02-03 14:37:54 +00:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-09-28 10:05:02 -04:00
|
|
|
node 'eavesdrop.openstack.org' {
|
2015-05-19 14:16:18 -04:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::eavesdrop':
|
2014-09-19 18:13:26 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:19:34 -07:00
|
|
|
nickpass => hiera('openstack_meetbot_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
statusbot_nick => hiera('statusbot_nick', 'username'),
|
2015-10-16 14:19:34 -07:00
|
|
|
statusbot_password => hiera('statusbot_nick_password'),
|
2013-03-29 13:47:38 -07:00
|
|
|
statusbot_server => 'chat.freenode.net',
|
2015-10-30 15:17:04 +09:00
|
|
|
statusbot_channels => 'edeploy, fuel-dev, heat, kolla, murano, openstack, openstack-101, openstack-ansible, openstack-anvil, openstack-bacon, openstack-barbican, openstack-blazar, openstack-board, openstack-ceilometer, openstack-chef, openstack-cinder, openstack-cloudkeep, openstack-community, openstack-containers, openstack-defcore, openstack-dev, openstack-dns, openstack-doc, openstack-entropy, openstack-foundation, openstack-gantt, openstack-gate, openstack-glance, openstack-heat-translator, openstack-horizon, openstack-hyper-v, openstack-i18n, openstack-infra, openstack-infra-incident, openstack-ironic, openstack-keystone, openstack-manila, openstack-meeting, openstack-meeting-3, openstack-meeting-4, openstack-meeting-alt, openstack-meniscus, openstack-merges, openstack-metering, openstack-monasca, openstack-neutron, openstack-neutron-ovn, openstack-nova, openstack-opw, openstack-oslo, openstack-qa, openstack-raksha, openstack-rally, openstack-rating, openstack-release, openstack-sahara, openstack-sdks, openstack-sprint, openstack-stable, openstack-state-management, openstack-swift, openstack-trove, openstack-zaqar, packstack-dev, refstack, storyboard, syscompass, tripleo',
|
2015-06-03 11:22:55 -07:00
|
|
|
statusbot_auth_nicks => 'jeblair, ttx, fungi, mordred, clarkb, sdague, SergeyLukjanov, jhesketh, lifeless, pleia2',
|
2014-05-16 11:46:59 -04:00
|
|
|
statusbot_wiki_user => hiera('statusbot_wiki_username', 'username'),
|
2015-10-16 14:19:34 -07:00
|
|
|
statusbot_wiki_password => hiera('statusbot_wiki_password'),
|
2013-03-29 13:47:38 -07:00
|
|
|
statusbot_wiki_url => 'https://wiki.openstack.org/w/api.php',
|
2015-09-17 16:43:37 +02:00
|
|
|
# https://wiki.openstack.org/wiki/Infrastructure_Status
|
2013-03-29 13:47:38 -07:00
|
|
|
statusbot_wiki_pageid => '1781',
|
2015-09-17 16:43:37 +02:00
|
|
|
# https://wiki.openstack.org/wiki/Successes
|
|
|
|
statusbot_wiki_successpageid => '7717',
|
|
|
|
statusbot_irclogs_url => 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html',
|
2014-05-16 11:46:59 -04:00
|
|
|
accessbot_nick => hiera('accessbot_nick', 'username'),
|
2015-10-16 14:19:34 -07:00
|
|
|
accessbot_password => hiera('accessbot_nick_password'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-04-15 16:06:41 +01:00
|
|
|
}
|
|
|
|
|
2015-08-20 17:10:29 +00:00
|
|
|
# Node-OS: trusty
|
2012-06-06 20:27:31 +00:00
|
|
|
node 'etherpad.openstack.org' {
|
2015-05-20 10:00:28 -04:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2012-07-26 18:58:35 -05:00
|
|
|
class { 'openstack_project::etherpad':
|
2015-10-16 14:20:37 -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'),
|
2014-05-16 11:46:59 -04:00
|
|
|
mysql_host => hiera('etherpad_db_host', 'localhost'),
|
|
|
|
mysql_user => hiera('etherpad_db_user', 'username'),
|
2015-10-16 14:20:37 -07:00
|
|
|
mysql_password => hiera('etherpad_db_password'),
|
2012-07-26 18:58:35 -05:00
|
|
|
}
|
2012-05-31 23:16:57 +00:00
|
|
|
}
|
|
|
|
|
2015-08-20 17:00:54 +00:00
|
|
|
# Node-OS: trusty
|
2012-10-25 16:09:13 -07:00
|
|
|
node 'etherpad-dev.openstack.org' {
|
2015-05-20 10:00:28 -04:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2012-10-25 16:09:13 -07:00
|
|
|
class { 'openstack_project::etherpad_dev':
|
2014-05-16 11:46:59 -04:00
|
|
|
mysql_host => hiera('etherpad-dev_db_host', 'localhost'),
|
|
|
|
mysql_user => hiera('etherpad-dev_db_user', 'username'),
|
2015-10-16 14:20:37 -07:00
|
|
|
mysql_password => hiera('etherpad-dev_db_password'),
|
2012-10-25 16:09:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-07-16 15:29:28 -07:00
|
|
|
node 'wiki.openstack.org' {
|
2012-07-30 00:23:41 -07:00
|
|
|
class { 'openstack_project::wiki':
|
2015-10-28 11:31:50 +09:00
|
|
|
mysql_root_password => hiera('wiki_db_password'),
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2015-10-28 11:31:50 +09:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2013-01-16 15:01:25 -08:00
|
|
|
node 'logstash.openstack.org' {
|
2015-05-22 11:41:31 -04:00
|
|
|
$iptables_es_rule = regsubst($elasticsearch_nodes,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 9200:9400 -s \1 -j ACCEPT')
|
|
|
|
$iptables_gm_rule = regsubst($elasticsearch_clients,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 4730 -s \1 -j ACCEPT')
|
|
|
|
$logstash_iptables_rule = flatten([$iptables_es_rule, $iptables_gm_rule])
|
|
|
|
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 3306],
|
|
|
|
iptables_rules6 => $logstash_iptables_rule,
|
|
|
|
iptables_rules4 => $logstash_iptables_rule,
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2013-01-16 15:01:25 -08:00
|
|
|
class { 'openstack_project::logstash':
|
2015-05-22 11:41:31 -04:00
|
|
|
discover_nodes => [
|
2014-02-25 00:07:17 +00:00
|
|
|
'elasticsearch02.openstack.org:9200',
|
|
|
|
'elasticsearch03.openstack.org:9200',
|
|
|
|
'elasticsearch04.openstack.org:9200',
|
|
|
|
'elasticsearch05.openstack.org:9200',
|
|
|
|
'elasticsearch06.openstack.org:9200',
|
2014-06-13 11:19:34 -07:00
|
|
|
'elasticsearch07.openstack.org:9200',
|
2013-08-06 10:46:00 -07:00
|
|
|
],
|
2015-05-22 11:41:31 -04:00
|
|
|
subunit2sql_db_host => hiera('subunit2sql_db_host', ''),
|
|
|
|
subunit2sql_db_pass => hiera('subunit2sql_db_password', ''),
|
2013-05-26 16:08:46 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2013-05-26 16:08:46 -07:00
|
|
|
node /^logstash-worker\d+\.openstack\.org$/ {
|
2015-05-22 11:41:31 -04:00
|
|
|
$logstash_worker_iptables_rule = regsubst(flatten([$elasticsearch_nodes, $elasticsearch_clients]),
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 9200:9400 -s \1 -j ACCEPT')
|
|
|
|
$group = 'logstash-worker'
|
|
|
|
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22],
|
|
|
|
iptables_rules6 => $logstash_worker_iptables_rule,
|
|
|
|
iptables_rules4 => $logstash_worker_iptables_rule,
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2013-05-26 16:08:46 -07:00
|
|
|
class { 'openstack_project::logstash_worker':
|
2014-08-06 17:56:16 -07:00
|
|
|
discover_node => 'elasticsearch02.openstack.org',
|
2013-01-16 15:01:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-17 09:48:55 -05:00
|
|
|
# Node-OS: trusty
|
|
|
|
node /^subunit-worker\d+\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "subunit-worker"
|
2015-07-09 14:40:01 -05:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2014-11-17 09:48:55 -05:00
|
|
|
class { 'openstack_project::subunit_worker':
|
2014-12-03 15:44:42 -05:00
|
|
|
subunit2sql_db_host => hiera('subunit2sql_db_host', ''),
|
|
|
|
subunit2sql_db_pass => hiera('subunit2sql_db_password', ''),
|
2014-11-17 09:48:55 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2014-06-13 11:19:34 -07:00
|
|
|
node /^elasticsearch0[1-7]\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "elasticsearch"
|
2015-07-09 14:41:43 -05:00
|
|
|
$iptables_nodes_rule = regsubst ($elasticsearch_nodes,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 9200:9400 -s \1 -j ACCEPT')
|
|
|
|
$iptables_clients_rule = regsubst ($elasticsearch_clients,
|
|
|
|
'^(.*)$', '-m state --state NEW -m tcp -p tcp --dport 9200:9400 -s \1 -j ACCEPT')
|
|
|
|
$iptables_rule = flatten([$iptables_nodes_rule, $iptables_clients_rule])
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22],
|
|
|
|
iptables_rules6 => $iptables_rule,
|
|
|
|
iptables_rules4 => $iptables_rule,
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2014-02-25 00:07:17 +00:00
|
|
|
class { 'openstack_project::elasticsearch_node':
|
|
|
|
discover_nodes => $elasticsearch_nodes,
|
2013-05-23 14:08:58 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-12-09 13:17:57 -08:00
|
|
|
# CentOS machines to load balance git access.
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: centos6
|
2014-12-09 13:40:24 -08:00
|
|
|
node /^git(-fe\d+)?\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "git-loadbalancer"
|
2013-07-11 11:21:02 -07:00
|
|
|
class { 'openstack_project::git':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2013-08-19 17:10:13 -07:00
|
|
|
balancer_member_names => [
|
|
|
|
'git01.openstack.org',
|
|
|
|
'git02.openstack.org',
|
|
|
|
'git03.openstack.org',
|
|
|
|
'git04.openstack.org',
|
2014-02-26 20:40:29 +00:00
|
|
|
'git05.openstack.org',
|
2015-06-28 08:10:45 -07:00
|
|
|
'git06.openstack.org',
|
|
|
|
'git07.openstack.org',
|
|
|
|
'git08.openstack.org',
|
2013-08-19 17:10:13 -07:00
|
|
|
],
|
|
|
|
balancer_member_ips => [
|
2015-09-03 15:57:15 -07:00
|
|
|
'104.130.243.237',
|
|
|
|
'104.130.243.109',
|
2015-09-03 11:29:57 -07:00
|
|
|
'67.192.247.197',
|
|
|
|
'67.192.247.180',
|
2015-09-02 14:50:49 -07:00
|
|
|
'23.253.69.135',
|
|
|
|
'104.239.132.223',
|
2015-09-01 12:48:20 -07:00
|
|
|
'23.253.94.84',
|
2015-08-28 15:40:41 -07:00
|
|
|
'104.239.146.131',
|
2013-08-19 17:10:13 -07:00
|
|
|
],
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# CentOS machines to run cgit and git daemon. Will be
|
|
|
|
# load balanced by git.openstack.org.
|
2015-09-04 15:12:16 -07:00
|
|
|
# Node-OS: centos7
|
2013-08-19 17:10:13 -07:00
|
|
|
node /^git\d+\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "git-server"
|
2014-01-08 16:50:59 +08:00
|
|
|
include openstack_project
|
2015-04-30 15:22:34 +02:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [4443, 8080, 29418],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2013-08-26 10:38:35 -07:00
|
|
|
class { 'openstack_project::git_backend':
|
2014-09-25 13:11:54 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2013-08-19 17:10:13 -07:00
|
|
|
vhost_name => 'git.openstack.org',
|
2015-10-16 14:22:11 -07:00
|
|
|
git_gerrit_ssh_key => hiera('gerrit_replication_ssh_rsa_pubkey_contents'),
|
|
|
|
ssl_cert_file_contents => hiera('git_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('git_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('git_ssl_chain_file_contents'),
|
2013-08-19 17:10:13 -07:00
|
|
|
behind_proxy => true,
|
2013-07-11 11:21:02 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-04 09:46:59 -07:00
|
|
|
# Machines in each region to run PyPI mirrors.
|
|
|
|
# Node-OS: precise
|
|
|
|
node /^pypi\..*\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "pypi"
|
2014-09-04 09:46:59 -07:00
|
|
|
class { 'openstack_project::pypi':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-02-06 15:10:13 +01:00
|
|
|
# A machine to run ODSREG in preparation for summits.
|
2015-04-02 13:48:18 +00:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'design-summit-prep.openstack.org' {
|
2013-02-07 13:56:07 +00:00
|
|
|
class { 'openstack_project::summit':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2013-02-06 15:10:13 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-06 19:39:00 +00:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'refstack.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { 'refstack':
|
|
|
|
mysql_host => hiera('refstack_mysql_host', 'localhost'),
|
|
|
|
mysql_database => hiera('refstack_mysql_db_name', 'refstack'),
|
|
|
|
mysql_user => hiera('refstack_mysql_user', 'refstack'),
|
2015-10-16 14:22:54 -07:00
|
|
|
mysql_user_password => hiera('refstack_mysql_password'),
|
|
|
|
ssl_cert_content => hiera('refstack_ssl_cert_file_contents'),
|
|
|
|
ssl_key_content => hiera('refstack_ssl_key_file_contents'),
|
|
|
|
ssl_ca_content => hiera('refstack_ssl_chain_file_contents'),
|
2015-07-06 19:39:00 +00:00
|
|
|
protocol => 'https',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-06 06:33:45 +04:00
|
|
|
# A machine to run Storyboard
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2014-01-06 06:33:45 +04:00
|
|
|
node 'storyboard.openstack.org' {
|
|
|
|
class { 'openstack_project::storyboard':
|
2014-09-25 13:11:54 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2014-05-16 11:46:59 -04:00
|
|
|
mysql_host => hiera('storyboard_db_host', 'localhost'),
|
|
|
|
mysql_user => hiera('storyboard_db_user', 'username'),
|
2015-10-16 14:24:54 -07:00
|
|
|
mysql_password => hiera('storyboard_db_password'),
|
2014-08-13 14:48:11 -07:00
|
|
|
rabbitmq_user => hiera('storyboard_rabbit_user', 'username'),
|
2015-10-16 14:24:54 -07:00
|
|
|
rabbitmq_password => hiera('storyboard_rabbit_password'),
|
|
|
|
ssl_cert_file_contents => hiera('storyboard_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('storyboard_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('storyboard_ssl_chain_file_contents'),
|
2015-02-23 13:08:51 -08:00
|
|
|
hostname => $::fqdn,
|
2015-02-23 12:27:02 -08:00
|
|
|
valid_oauth_clients => [
|
|
|
|
$::fqdn,
|
|
|
|
'docs-draft.openstack.org',
|
|
|
|
],
|
2015-02-23 13:08:51 -08:00
|
|
|
cors_allowed_origins => [
|
|
|
|
"https://${::fqdn}",
|
|
|
|
'http://docs-draft.openstack.org',
|
|
|
|
],
|
2014-01-06 06:33:45 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-08-10 15:38:08 -07:00
|
|
|
# A machine to serve static content.
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2012-08-10 15:38:08 -07:00
|
|
|
node 'static.openstack.org' {
|
2015-06-24 17:57:10 +00:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
2012-09-06 10:32:48 -07:00
|
|
|
class { 'openstack_project::static':
|
2015-10-08 20:42:07 +00:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
|
|
|
swift_authurl => 'https://identity.api.rackspacecloud.com/v2.0/',
|
|
|
|
swift_user => 'infra-files-ro',
|
2015-10-16 14:25:42 -07:00
|
|
|
swift_key => hiera('infra_files_ro_password'),
|
2015-10-08 20:42:07 +00:00
|
|
|
swift_tenant_name => hiera('infra_files_tenant_name', 'tenantname'),
|
|
|
|
swift_region_name => 'DFW',
|
|
|
|
swift_default_container => 'infra-files',
|
2015-10-16 14:25:42 -07:00
|
|
|
ssl_cert_file_contents => hiera('static_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('static_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('static_ssl_chain_file_contents'),
|
2013-12-11 12:01:13 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-19 14:57:02 -08:00
|
|
|
# A machine to serve various project status updates.
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2013-12-11 12:01:13 -08:00
|
|
|
node 'status.openstack.org' {
|
2015-05-27 14:55:10 -04:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2013-12-11 12:01:13 -08:00
|
|
|
class { 'openstack_project::status':
|
2013-12-31 11:11:55 -08:00
|
|
|
gerrit_host => 'review.openstack.org',
|
2015-10-16 14:26:49 -07:00
|
|
|
gerrit_ssh_host_key => hiera('gerrit_ssh_rsa_pubkey_contents'),
|
|
|
|
reviewday_ssh_public_key => hiera('reviewday_rsa_pubkey_contents'),
|
|
|
|
reviewday_ssh_private_key => hiera('reviewday_rsa_key_contents'),
|
|
|
|
releasestatus_ssh_public_key => hiera('releasestatus_rsa_pubkey_contents'),
|
|
|
|
releasestatus_ssh_private_key => hiera('releasestatus_rsa_key_contents'),
|
|
|
|
recheck_ssh_public_key => hiera('elastic-recheck_gerrit_ssh_public_key'),
|
|
|
|
recheck_ssh_private_key => hiera('elastic-recheck_gerrit_ssh_private_key'),
|
2013-12-31 11:11:55 -08:00
|
|
|
recheck_bot_nick => 'openstackrecheck',
|
2015-10-16 14:26:49 -07:00
|
|
|
recheck_bot_passwd => hiera('elastic-recheck_ircbot_password'),
|
2012-09-06 10:32:48 -07:00
|
|
|
}
|
2012-08-10 15:38:08 -07:00
|
|
|
}
|
|
|
|
|
2015-01-15 22:06:20 +00:00
|
|
|
# Node-OS: trusty
|
2013-08-15 17:52:52 +00:00
|
|
|
node 'nodepool.openstack.org' {
|
2015-05-20 13:39:09 -04:00
|
|
|
class { 'openstack_project::server':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
}
|
|
|
|
|
2014-04-16 09:50:14 -07:00
|
|
|
class { 'openstack_project::nodepool_prod':
|
2014-09-19 17:42:34 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:28:05 -07:00
|
|
|
mysql_password => hiera('nodepool_mysql_password'),
|
|
|
|
mysql_root_password => hiera('nodepool_mysql_root_password'),
|
|
|
|
nodepool_ssh_private_key => hiera('jenkins_ssh_private_key_contents'),
|
2013-08-15 17:52:52 +00:00
|
|
|
statsd_host => 'graphite.openstack.org',
|
2015-07-08 13:58:36 -07:00
|
|
|
jenkins_masters => [
|
|
|
|
{
|
|
|
|
name => 'jenkins01',
|
|
|
|
url => 'https://jenkins01.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins02',
|
|
|
|
url => 'https://jenkins02.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins03',
|
|
|
|
url => 'https://jenkins03.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins04',
|
|
|
|
url => 'https://jenkins04.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins05',
|
|
|
|
url => 'https://jenkins05.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins06',
|
|
|
|
url => 'https://jenkins06.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name => 'jenkins07',
|
|
|
|
url => 'https://jenkins07.openstack.org/',
|
|
|
|
user => hiera('jenkins_api_user', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
apikey => hiera('jenkins_api_key'),
|
|
|
|
credentials => hiera('jenkins_credentials_id'),
|
2015-07-08 13:58:36 -07:00
|
|
|
},
|
|
|
|
],
|
2014-05-16 11:46:59 -04:00
|
|
|
rackspace_username => hiera('nodepool_rackspace_username', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
rackspace_password => hiera('nodepool_rackspace_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
rackspace_project => hiera('nodepool_rackspace_project', 'project'),
|
|
|
|
hpcloud_username => hiera('nodepool_hpcloud_username', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
hpcloud_password => hiera('nodepool_hpcloud_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
hpcloud_project => hiera('nodepool_hpcloud_project', 'project'),
|
2015-09-16 14:17:01 -07:00
|
|
|
ovh_username => hiera('nodepool_ovh_username', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
ovh_password => hiera('nodepool_ovh_password'),
|
2015-09-16 14:17:01 -07:00
|
|
|
ovh_project => hiera('nodepool_ovh_project', 'project'),
|
2014-05-16 11:46:59 -04:00
|
|
|
tripleo_username => hiera('nodepool_tripleo_username', 'username'),
|
2015-10-16 14:28:05 -07:00
|
|
|
tripleo_password => hiera('nodepool_tripleo_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
tripleo_project => hiera('nodepool_tripleo_project', 'project'),
|
2013-08-15 17:52:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-02-13 15:35:48 -08:00
|
|
|
# Node-OS: trusty
|
2012-11-29 13:43:20 -08:00
|
|
|
node 'zuul.openstack.org' {
|
2013-05-13 14:59:15 -07:00
|
|
|
class { 'openstack_project::zuul_prod':
|
2014-09-18 13:05:06 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2014-04-05 15:58:12 +11:00
|
|
|
gerrit_server => 'review.openstack.org',
|
|
|
|
gerrit_user => 'jenkins',
|
2015-10-16 14:29:17 -07:00
|
|
|
gerrit_ssh_host_key => hiera('gerrit_ssh_rsa_pubkey_contents'),
|
|
|
|
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
2014-04-05 15:58:12 +11:00
|
|
|
url_pattern => 'http://logs.openstack.org/{build.parameters[LOG_PATH]}',
|
|
|
|
swift_authurl => 'https://identity.api.rackspacecloud.com/v2.0/',
|
|
|
|
swift_user => 'infra-files-rw',
|
2015-10-16 14:29:17 -07:00
|
|
|
swift_key => hiera('infra_files_rw_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
swift_tenant_name => hiera('infra_files_tenant_name', 'tenantname'),
|
2014-04-05 15:58:12 +11:00
|
|
|
swift_region_name => 'DFW',
|
|
|
|
swift_default_container => 'infra-files',
|
|
|
|
swift_default_logserver_prefix => 'http://logs.openstack.org/',
|
2015-02-18 14:46:20 +11:00
|
|
|
swift_default_expiry => 14400,
|
2015-10-16 14:29:17 -07:00
|
|
|
proxy_ssl_cert_file_contents => hiera('zuul_ssl_cert_file_contents'),
|
|
|
|
proxy_ssl_key_file_contents => hiera('zuul_ssl_key_file_contents'),
|
|
|
|
proxy_ssl_chain_file_contents => hiera('zuul_ssl_chain_file_contents'),
|
2014-04-05 15:58:12 +11:00
|
|
|
zuul_url => 'http://zuul.openstack.org/p',
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2014-04-05 15:58:12 +11:00
|
|
|
statsd_host => 'graphite.openstack.org',
|
|
|
|
gearman_workers => [
|
2013-10-05 08:26:20 -07:00
|
|
|
'nodepool.openstack.org',
|
2013-03-28 02:42:05 +00:00
|
|
|
'jenkins.openstack.org',
|
2013-08-05 13:39:53 -07:00
|
|
|
'jenkins01.openstack.org',
|
|
|
|
'jenkins02.openstack.org',
|
2014-01-07 09:58:17 +08:00
|
|
|
'jenkins03.openstack.org',
|
|
|
|
'jenkins04.openstack.org',
|
2014-01-22 09:12:39 -08:00
|
|
|
'jenkins05.openstack.org',
|
|
|
|
'jenkins06.openstack.org',
|
|
|
|
'jenkins07.openstack.org',
|
2013-03-28 02:42:05 +00:00
|
|
|
'jenkins-dev.openstack.org',
|
2014-10-20 10:52:59 -07:00
|
|
|
'zm01.openstack.org',
|
|
|
|
'zm02.openstack.org',
|
|
|
|
'zm03.openstack.org',
|
|
|
|
'zm04.openstack.org',
|
2014-10-20 10:51:13 -07:00
|
|
|
'zm05.openstack.org',
|
|
|
|
'zm06.openstack.org',
|
|
|
|
'zm07.openstack.org',
|
|
|
|
'zm08.openstack.org',
|
2013-05-09 16:06:21 -07:00
|
|
|
],
|
2014-01-08 16:12:39 +08:00
|
|
|
}
|
2013-05-09 16:06:21 -07:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-02-13 15:35:48 -08:00
|
|
|
# Node-OS: trusty
|
2014-10-20 10:50:44 -07:00
|
|
|
node /^zm\d+\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "zuul-merger"
|
2014-08-29 16:15:32 -07:00
|
|
|
class { 'openstack_project::zuul_merger':
|
2014-02-17 17:20:35 -08:00
|
|
|
gearman_server => 'zuul.openstack.org',
|
2014-02-17 08:47:04 -08:00
|
|
|
gerrit_server => 'review.openstack.org',
|
|
|
|
gerrit_user => 'jenkins',
|
2015-10-16 14:30:21 -07:00
|
|
|
gerrit_ssh_host_key => hiera('gerrit_ssh_rsa_pubkey_contents'),
|
|
|
|
zuul_ssh_private_key => hiera('zuul_ssh_private_key_contents'),
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2014-02-17 08:47:04 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-02-13 15:35:48 -08:00
|
|
|
# Node-OS: trusty
|
2013-05-09 16:06:21 -07:00
|
|
|
node 'zuul-dev.openstack.org' {
|
|
|
|
class { 'openstack_project::zuul_dev':
|
2014-09-18 13:05:06 -07:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2014-01-21 13:47:24 -08:00
|
|
|
gerrit_server => 'review-dev.openstack.org',
|
2015-02-06 11:26:07 -08:00
|
|
|
gerrit_user => 'jenkins',
|
2015-10-16 14:31:14 -07:00
|
|
|
gerrit_ssh_host_key => hiera('gerrit_dev_ssh_rsa_pubkey_contents'),
|
|
|
|
zuul_ssh_private_key => hiera('zuul_dev_ssh_private_key_contents'),
|
2013-07-29 10:46:53 -07:00
|
|
|
url_pattern => 'http://logs.openstack.org/{build.parameters[LOG_PATH]}',
|
2013-11-27 09:58:47 -02:00
|
|
|
zuul_url => 'http://zuul-dev.openstack.org/p',
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2013-05-09 16:06:21 -07:00
|
|
|
statsd_host => 'graphite.openstack.org',
|
|
|
|
gearman_workers => [
|
|
|
|
'jenkins.openstack.org',
|
2013-08-05 13:39:53 -07:00
|
|
|
'jenkins01.openstack.org',
|
|
|
|
'jenkins02.openstack.org',
|
2014-01-07 09:58:17 +08:00
|
|
|
'jenkins03.openstack.org',
|
|
|
|
'jenkins04.openstack.org',
|
2014-01-22 09:12:39 -08:00
|
|
|
'jenkins05.openstack.org',
|
|
|
|
'jenkins06.openstack.org',
|
|
|
|
'jenkins07.openstack.org',
|
2013-05-09 16:06:21 -07:00
|
|
|
'jenkins-dev.openstack.org',
|
2013-03-28 02:42:05 +00:00
|
|
|
],
|
2012-11-29 13:43:20 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: centos6
|
2013-07-16 17:03:58 -04:00
|
|
|
node 'pbx.openstack.org' {
|
|
|
|
class { 'openstack_project::pbx':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2013-07-18 13:36:21 -07:00
|
|
|
sip_providers => [
|
|
|
|
{
|
|
|
|
provider => 'voipms',
|
|
|
|
hostname => 'dallas.voip.ms',
|
2014-05-16 11:46:59 -04:00
|
|
|
username => hiera('voipms_username', 'username'),
|
2015-10-16 14:32:03 -07:00
|
|
|
password => hiera('voipms_password'),
|
2013-07-18 13:36:21 -07:00
|
|
|
outgoing => false,
|
|
|
|
},
|
|
|
|
],
|
2013-07-16 17:03:58 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
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$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "ci-backup"
|
2012-07-20 19:38:57 -07:00
|
|
|
include openstack_project::backup_server
|
2012-06-15 22:40:12 +00:00
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-06-29 17:00:47 +00:00
|
|
|
# Node-OS: trusty
|
2013-08-02 11:06:29 -07:00
|
|
|
node 'proposal.slave.openstack.org' {
|
2013-06-03 16:05:57 -07:00
|
|
|
include openstack_project
|
2013-08-02 11:06:29 -07:00
|
|
|
class { 'openstack_project::proposal_slave':
|
2014-04-11 13:49:31 -07:00
|
|
|
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
2015-10-16 14:33:37 -07:00
|
|
|
proposal_ssh_public_key => hiera('proposal_ssh_public_key_contents'),
|
|
|
|
proposal_ssh_private_key => hiera('proposal_ssh_private_key_contents'),
|
2015-08-28 18:38:50 -07:00
|
|
|
zanata_server_url => 'https://translate.openstack.org/',
|
2015-10-16 14:33:37 -07:00
|
|
|
zanata_server_user => hiera('proposal_zanata_user'),
|
|
|
|
zanata_server_api_key => hiera('proposal_zanata_api_key'),
|
2012-08-14 12:47:01 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-03 18:16:39 +00:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'release.slave.openstack.org' {
|
|
|
|
include openstack_project
|
|
|
|
class { 'openstack_project::release_slave':
|
|
|
|
pypi_username => 'openstackci',
|
2015-10-28 11:31:50 +09:00
|
|
|
pypi_password => hiera('pypi_password'),
|
2013-06-01 19:40:07 -07:00
|
|
|
jenkins_ssh_public_key => $openstack_project::jenkins_ssh_key,
|
2014-05-16 11:46:59 -04:00
|
|
|
jenkinsci_username => hiera('jenkins_ci_org_user', 'username'),
|
2015-10-28 11:31:50 +09:00
|
|
|
jenkinsci_password => hiera('jenkins_ci_org_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
mavencentral_username => hiera('mavencentral_org_user', 'username'),
|
2015-10-28 11:31:50 +09:00
|
|
|
mavencentral_password => hiera('mavencentral_org_password'),
|
2014-11-16 19:32:44 +00:00
|
|
|
puppet_forge_username => hiera('puppet_forge_username', 'username'),
|
2015-10-28 11:31:50 +09:00
|
|
|
puppet_forge_password => hiera('puppet_forge_password'),
|
2015-07-02 15:43:32 -07:00
|
|
|
npm_username => 'openstackci',
|
2015-10-28 11:31:50 +09:00
|
|
|
npm_userpassword => hiera('npm_user_password'),
|
2015-07-02 15:43:32 -07:00
|
|
|
npm_userurl => 'https://openstack.org',
|
2012-11-16 13:16:26 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-05 14:47:47 +02:00
|
|
|
# Node-OS: precise
|
2015-09-08 17:53:11 +00:00
|
|
|
# Node-OS: trusty
|
2014-09-05 14:47:47 +02:00
|
|
|
node 'openstackid.org' {
|
|
|
|
class { 'openstack_project::openstackid_prod':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
2015-10-16 14:35:04 -07:00
|
|
|
site_admin_password => hiera('openstackid_site_admin_password'),
|
2014-09-05 14:47:47 +02:00
|
|
|
id_mysql_host => hiera('openstackid_id_mysql_host', 'localhost'),
|
2015-10-16 14:35:04 -07:00
|
|
|
id_mysql_password => hiera('openstackid_id_mysql_password'),
|
2014-09-05 14:47:47 +02:00
|
|
|
id_mysql_user => hiera('openstackid_id_mysql_user', 'username'),
|
2015-10-16 14:35:04 -07:00
|
|
|
id_db_name => hiera('openstackid_id_db_name'),
|
2014-09-05 14:47:47 +02:00
|
|
|
ss_mysql_host => hiera('openstackid_ss_mysql_host', 'localhost'),
|
2015-10-16 14:35:04 -07:00
|
|
|
ss_mysql_password => hiera('openstackid_ss_mysql_password'),
|
2014-09-05 14:47:47 +02:00
|
|
|
ss_mysql_user => hiera('openstackid_ss_mysql_user', 'username'),
|
|
|
|
ss_db_name => hiera('openstackid_ss_db_name', 'username'),
|
2015-10-16 14:35:04 -07:00
|
|
|
redis_password => hiera('openstackid_redis_password'),
|
|
|
|
ssl_cert_file_contents => hiera('openstackid_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('openstackid_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('openstackid_ssl_chain_file_contents'),
|
2014-09-05 14:47:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-03 14:27:20 -07:00
|
|
|
# Node-OS: precise
|
2015-09-08 17:53:11 +00:00
|
|
|
# Node-OS: trusty
|
2013-10-24 11:18:24 -03:00
|
|
|
node 'openstackid-dev.openstack.org' {
|
2013-12-20 04:59:12 +00:00
|
|
|
class { 'openstack_project::openstackid_dev':
|
2014-06-14 08:09:09 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
2015-10-16 14:35:04 -07:00
|
|
|
site_admin_password => hiera('openstackid_dev_site_admin_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
id_mysql_host => hiera('openstackid_dev_id_mysql_host', 'localhost'),
|
2015-10-16 14:35:04 -07:00
|
|
|
id_mysql_password => hiera('openstackid_dev_id_mysql_password'),
|
2014-08-11 18:49:35 +00:00
|
|
|
id_mysql_user => hiera('openstackid_dev_id_mysql_user', 'username'),
|
2014-05-16 11:46:59 -04:00
|
|
|
ss_mysql_host => hiera('openstackid_dev_ss_mysql_host', 'localhost'),
|
2015-10-16 14:35:04 -07:00
|
|
|
ss_mysql_password => hiera('openstackid_dev_ss_mysql_password'),
|
2014-05-16 11:46:59 -04:00
|
|
|
ss_mysql_user => hiera('openstackid_dev_ss_mysql_user', 'username'),
|
|
|
|
ss_db_name => hiera('openstackid_dev_ss_db_name', 'username'),
|
2015-10-16 14:35:04 -07:00
|
|
|
redis_password => hiera('openstackid_dev_redis_password'),
|
|
|
|
ssl_cert_file_contents => hiera('openstackid_dev_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('openstackid_dev_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('openstackid_dev_ssl_chain_file_contents'),
|
2013-10-24 11:18:24 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-27 17:18:42 -07:00
|
|
|
# Node-OS: centos6
|
|
|
|
# Node-OS: precise
|
|
|
|
# Node-OS: trusty
|
|
|
|
# This is not meant to be an actual node that connects to the master.
|
|
|
|
# This is a dummy node definition to trigger a test of the code path used by
|
|
|
|
# nodepool's prepare_node scripts in the apply tests
|
2015-08-05 11:20:06 -04:00
|
|
|
# NOTE(pabelanger): These are the settings we currently use for bare-* nodes.
|
|
|
|
# It includes thick_slave.pp.
|
|
|
|
node 'single-use-slave-bare' {
|
2014-08-27 17:18:42 -07:00
|
|
|
class { 'openstack_project::single_use_slave':
|
|
|
|
# Test non-default values from prepare_node_bare.sh
|
|
|
|
sudo => true,
|
|
|
|
thin => false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-05 11:20:06 -04:00
|
|
|
# Node-OS: centos6
|
|
|
|
# Node-OS: centos7
|
2015-07-20 14:19:01 -04:00
|
|
|
# Node-OS: fedora21
|
2015-08-05 11:20:06 -04:00
|
|
|
# Node-OS: precise
|
|
|
|
# Node-OS: trusty
|
|
|
|
# This is not meant to be an actual node that connects to the master.
|
|
|
|
# This is a dummy node definition to trigger a test of the code path used by
|
|
|
|
# nodepool's prepare_node scripts in the apply tests
|
|
|
|
# NOTE(pabelanger): These are the current settings we use for devstack-* nodes.
|
|
|
|
node 'single-use-slave-devstack' {
|
|
|
|
class { 'openstack_project::single_use_slave':
|
|
|
|
sudo => true,
|
|
|
|
thin => true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-18 14:56:00 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'kdc01.openstack.org' {
|
|
|
|
class { 'openstack_project::kdc':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Node-OS: trusty
|
|
|
|
node 'kdc02.openstack.org' {
|
|
|
|
class { 'openstack_project::kdc':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
slave => true,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-10-18 16:22:52 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node /^afsdb.*\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "afsdb"
|
2015-04-07 13:55:42 -07:00
|
|
|
|
2015-05-06 15:43:27 -07:00
|
|
|
class { 'openstack_project::template':
|
2015-04-07 13:55:42 -07:00
|
|
|
iptables_public_udp_ports => [7000,7002,7003,7004,7005,7006,7007],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
afs => true,
|
2015-05-06 15:43:27 -07:00
|
|
|
manage_exim => true,
|
2014-10-18 16:22:52 -07:00
|
|
|
}
|
2015-04-07 13:55:42 -07:00
|
|
|
|
|
|
|
include openstack_project::afsdb
|
2014-10-18 16:22:52 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
# Node-OS: trusty
|
|
|
|
node /^afs.*\..*\.openstack\.org$/ {
|
2015-03-16 12:47:42 -07:00
|
|
|
$group = "afs"
|
2015-04-07 13:55:42 -07:00
|
|
|
|
2015-05-06 15:43:27 -07:00
|
|
|
class { 'openstack_project::template':
|
2015-04-07 13:55:42 -07:00
|
|
|
iptables_public_udp_ports => [7000,7002,7003,7004,7005,7006,7007],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
afs => true,
|
2015-05-06 15:43:27 -07:00
|
|
|
manage_exim => true,
|
2014-10-18 16:22:52 -07:00
|
|
|
}
|
2015-04-07 13:55:42 -07:00
|
|
|
|
|
|
|
include openstack_project::afsfs
|
2014-10-18 16:22:52 -07:00
|
|
|
}
|
|
|
|
|
2015-08-05 15:56:08 +00:00
|
|
|
# Node-OS: trusty
|
2014-12-08 16:58:38 +01:00
|
|
|
node 'ask.openstack.org' {
|
2015-05-15 16:53:38 -04:00
|
|
|
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
2014-12-08 16:58:38 +01:00
|
|
|
class { 'openstack_project::ask':
|
|
|
|
db_user => hiera('ask_db_user', 'ask'),
|
2015-10-16 14:36:04 -07:00
|
|
|
db_password => hiera('ask_db_password'),
|
|
|
|
redis_password => hiera('ask_redis_password'),
|
2014-12-08 16:58:38 +01:00
|
|
|
site_ssl_cert_file_contents => hiera('ask_site_ssl_cert_file_contents', undef),
|
|
|
|
site_ssl_key_file_contents => hiera('ask_site_ssl_key_file_contents', undef),
|
|
|
|
site_ssl_chain_file_contents => hiera('ask_site_ssl_chain_file_contents', undef),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-13 13:07:23 +02:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'ask-staging.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [22, 80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
|
|
|
|
class { 'openstack_project::ask_staging':
|
2015-10-16 14:36:04 -07:00
|
|
|
db_password => hiera('ask_staging_db_password'),
|
|
|
|
redis_password => hiera('ask_staging_redis_password'),
|
2015-04-13 13:07:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-27 09:27:03 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'translate.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80, 443],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { 'openstack_project::translate':
|
2015-11-05 15:35:51 +11:00
|
|
|
admin_users => 'aeng,camunoz,cboylan,daisyycguo,infra,jaegerandi,lyz,mordred,stevenk',
|
2015-08-27 09:27:03 -07:00
|
|
|
openid_url => 'https://openstackid.org',
|
|
|
|
listeners => ['ajp'],
|
|
|
|
from_address => 'noreply@openstack.org',
|
|
|
|
mysql_host => hiera('translate_mysql_host', 'localhost'),
|
2015-10-16 14:52:02 -07:00
|
|
|
mysql_password => hiera('translate_mysql_password'),
|
|
|
|
zanata_server_user => hiera('proposal_zanata_user'),
|
|
|
|
zanata_server_api_key => hiera('proposal_zanata_api_key'),
|
2015-08-27 09:27:03 -07:00
|
|
|
zanata_wildfly_version => '9.0.1',
|
|
|
|
zanata_url => 'https://sourceforge.net/projects/zanata/files/webapp/zanata-war-3.7.1.war',
|
|
|
|
zanata_checksum => 'b741fac8cf7d11c9b15189e6899051eb',
|
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-10-16 14:52:02 -07:00
|
|
|
ssl_cert_file_contents => hiera('translate_ssl_cert_file_contents'),
|
|
|
|
ssl_key_file_contents => hiera('translate_ssl_key_file_contents'),
|
|
|
|
ssl_chain_file_contents => hiera('translate_ssl_chain_file_contents'),
|
2015-08-27 09:27:03 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-03-30 12:13:59 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'translate-dev.openstack.org' {
|
|
|
|
class { 'openstack_project::translate_dev':
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
2015-11-05 15:35:51 +11:00
|
|
|
admin_users => 'aeng,camunoz,cboylan,daisyycguo,infra,jaegerandi,lyz,mordred,stevenk',
|
2015-06-29 09:27:43 -07:00
|
|
|
openid_url => 'https://openstackid.org',
|
2015-04-10 11:56:18 -07:00
|
|
|
listeners => ['ajp'],
|
2015-04-10 14:56:04 -07:00
|
|
|
from_address => 'noreply@openstack.org',
|
2015-03-30 12:13:59 -07:00
|
|
|
mysql_host => hiera('translate_dev_mysql_host', 'localhost'),
|
2015-10-16 14:52:02 -07:00
|
|
|
mysql_password => hiera('translate_dev_mysql_password'),
|
|
|
|
zanata_server_user => hiera('proposal_zanata_user'),
|
|
|
|
zanata_server_api_key => hiera('proposal_zanata_api_key'),
|
2015-08-04 14:05:32 +10:00
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
2015-03-30 12:13:59 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-02 22:29:27 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'apps.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
2015-10-01 11:55:39 -07:00
|
|
|
iptables_public_tcp_ports => [80, 443],
|
2015-06-02 22:29:27 -07:00
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { '::apps_site':
|
2015-10-01 11:55:39 -07:00
|
|
|
ssl_cert_file => '/etc/ssl/certs/apps.openstack.org.pem',
|
2015-10-16 14:53:32 -07:00
|
|
|
ssl_cert_file_contents => hiera('apps_ssl_cert_file_contents'),
|
2015-10-01 11:55:39 -07:00
|
|
|
ssl_key_file => '/etc/ssl/private/apps.openstack.org.key',
|
2015-10-16 14:53:32 -07:00
|
|
|
ssl_key_file_contents => hiera('apps_ssl_key_file_contents'),
|
2015-10-01 11:55:39 -07:00
|
|
|
ssl_chain_file => '/etc/ssl/certs/apps.openstack.org_intermediate.pem',
|
2015-10-16 14:53:32 -07:00
|
|
|
ssl_chain_file_contents => hiera('apps_ssl_chain_file_contents'),
|
2015-06-02 22:29:27 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-15 16:40:52 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'odsreg.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
realize (
|
|
|
|
User::Virtual::Localuser['ttx'],
|
|
|
|
)
|
|
|
|
class { '::odsreg':
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-24 23:23:06 -07:00
|
|
|
# Node-OS: trusty
|
|
|
|
node 'codesearch.openstack.org' {
|
|
|
|
class { 'openstack_project::server':
|
|
|
|
iptables_public_tcp_ports => [80],
|
|
|
|
sysadmins => hiera('sysadmins', []),
|
|
|
|
}
|
|
|
|
class { 'openstack_project::codesearch':
|
|
|
|
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-28 10:05:02 -04:00
|
|
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|