Style guide updates for manifest directory
Change-Id: I40d54189eb6d5cd4512080ec5010fe339bac96e0 Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/13830 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
bd74f69d00
commit
199d1f3b8f
@ -11,88 +11,88 @@ node default {
|
|||||||
#
|
#
|
||||||
# Long lived servers:
|
# Long lived servers:
|
||||||
#
|
#
|
||||||
node "review.openstack.org" {
|
node 'review.openstack.org' {
|
||||||
class { 'openstack_project::review':
|
class { 'openstack_project::review':
|
||||||
github_oauth_token => hiera('gerrit_github_token'),
|
github_oauth_token => hiera('gerrit_github_token'),
|
||||||
mysql_password => hiera('gerrit_mysql_password'),
|
mysql_password => hiera('gerrit_mysql_password'),
|
||||||
mysql_root_password => hiera('gerrit_mysql_root_password'),
|
mysql_root_password => hiera('gerrit_mysql_root_password'),
|
||||||
email_private_key => hiera('gerrit_email_private_key'),
|
email_private_key => hiera('gerrit_email_private_key'),
|
||||||
gerritbot_password => hiera('gerrit_gerritbot_password'),
|
gerritbot_password => hiera('gerrit_gerritbot_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "gerrit-dev.openstack.org", "review-dev.openstack.org" {
|
node 'gerrit-dev.openstack.org', 'review-dev.openstack.org' {
|
||||||
class { 'openstack_project::review_dev':
|
class { 'openstack_project::review_dev':
|
||||||
github_oauth_token => hiera('gerrit_dev_github_token'),
|
github_oauth_token => hiera('gerrit_dev_github_token'),
|
||||||
mysql_password => hiera('gerrit_dev_mysql_password'),
|
mysql_password => hiera('gerrit_dev_mysql_password'),
|
||||||
mysql_root_password => hiera('gerrit_dev_mysql_root_password'),
|
mysql_root_password => hiera('gerrit_dev_mysql_root_password'),
|
||||||
email_private_key => hiera('gerrit_dev_email_private_key'),
|
email_private_key => hiera('gerrit_dev_email_private_key'),
|
||||||
contactstore_appsec => hiera('gerrit_dev_contactstore_appsec'),
|
contactstore_appsec => hiera('gerrit_dev_contactstore_appsec'),
|
||||||
contactstore_pubkey => hiera('gerrit_dev_contactstore_pubkey'),
|
contactstore_pubkey => hiera('gerrit_dev_contactstore_pubkey'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "jenkins.openstack.org" {
|
node 'jenkins.openstack.org' {
|
||||||
class { 'openstack_project::jenkins':
|
class { 'openstack_project::jenkins':
|
||||||
jenkins_jobs_password => hiera('jenkins_jobs_password'),
|
jenkins_jobs_password => hiera('jenkins_jobs_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
class { "openstack_project::zuul":
|
class { 'openstack_project::zuul':
|
||||||
jenkins_server => "https://$fqdn",
|
jenkins_server => "https://${::fqdn}",
|
||||||
jenkins_user => 'hudson-openstack',
|
jenkins_user => 'hudson-openstack',
|
||||||
jenkins_apikey => hiera('zuul_jenkins_apikey'),
|
jenkins_apikey => hiera('zuul_jenkins_apikey'),
|
||||||
gerrit_server => 'review.openstack.org',
|
gerrit_server => 'review.openstack.org',
|
||||||
gerrit_user => 'jenkins',
|
gerrit_user => 'jenkins',
|
||||||
url_pattern => 'http://logs.openstack.org/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}',
|
url_pattern => 'http://logs.openstack.org/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number}',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "jenkins-dev.openstack.org" {
|
node 'jenkins-dev.openstack.org' {
|
||||||
class { 'openstack_project::jenkins_dev':
|
class { 'openstack_project::jenkins_dev':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "community.openstack.org" {
|
node 'community.openstack.org' {
|
||||||
class { 'openstack_project::community':
|
class { 'openstack_project::community':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "ci-puppetmaster.openstack.org" {
|
node 'ci-puppetmaster.openstack.org' {
|
||||||
class { 'openstack_project::puppetmaster':
|
class { 'openstack_project::puppetmaster':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "lists.openstack.org" {
|
node 'lists.openstack.org' {
|
||||||
class { 'openstack_project::lists':
|
class { 'openstack_project::lists':
|
||||||
listadmins => hiera('listadmins'),
|
listadmins => hiera('listadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "paste.openstack.org" {
|
node 'paste.openstack.org' {
|
||||||
class { 'openstack_project::paste':
|
class { 'openstack_project::paste':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "planet.openstack.org" {
|
node 'planet.openstack.org' {
|
||||||
class { 'openstack_project::planet':
|
class { 'openstack_project::planet':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "eavesdrop.openstack.org" {
|
node 'eavesdrop.openstack.org' {
|
||||||
class { 'openstack_project::eavesdrop':
|
class { 'openstack_project::eavesdrop':
|
||||||
nickpass => hiera('openstack_meetbot_password'),
|
nickpass => hiera('openstack_meetbot_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node "pypi.openstack.org" {
|
node 'pypi.openstack.org' {
|
||||||
class { 'openstack_project::pypi':
|
class { 'openstack_project::pypi':
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
@ -100,25 +100,25 @@ node "pypi.openstack.org" {
|
|||||||
|
|
||||||
node 'etherpad.openstack.org' {
|
node 'etherpad.openstack.org' {
|
||||||
class { 'openstack_project::etherpad':
|
class { 'openstack_project::etherpad':
|
||||||
etherpad_crt => hiera('etherpad_crt'),
|
etherpad_crt => hiera('etherpad_crt'),
|
||||||
etherpad_key => hiera('etherpad_key'),
|
etherpad_key => hiera('etherpad_key'),
|
||||||
database_password => hiera('etherpad_db_password'),
|
database_password => hiera('etherpad_db_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node 'wiki.openstack.org' {
|
node 'wiki.openstack.org' {
|
||||||
class { 'openstack_project::wiki':
|
class { 'openstack_project::wiki':
|
||||||
mysql_root_password => hiera('wiki_db_password'),
|
mysql_root_password => hiera('wiki_db_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
node 'puppet-dashboard.openstack.org' {
|
node 'puppet-dashboard.openstack.org' {
|
||||||
class { 'openstack_project::dashboard':
|
class { 'openstack_project::dashboard':
|
||||||
password => hiera('dashboard_password'),
|
password => hiera('dashboard_password'),
|
||||||
mysql_password => hiera('dashboard_mysql_password'),
|
mysql_password => hiera('dashboard_mysql_password'),
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -152,42 +152,41 @@ node 'tx.slave.openstack.org' {
|
|||||||
|
|
||||||
# Rollout cgroups to precise slaves.
|
# Rollout cgroups to precise slaves.
|
||||||
node /^precise.*\.slave\.openstack\.org$/ {
|
node /^precise.*\.slave\.openstack\.org$/ {
|
||||||
|
include jenkins::cgroups
|
||||||
include openstack_project::puppet_cron
|
include openstack_project::puppet_cron
|
||||||
|
include ulimit
|
||||||
class { 'openstack_project::slave':
|
class { 'openstack_project::slave':
|
||||||
certname => 'precise.slave.openstack.org',
|
certname => 'precise.slave.openstack.org',
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
class { 'openstack_project::glancetest':
|
class { 'openstack_project::glancetest':
|
||||||
s3_store_access_key => hiera('s3_store_access_key'),
|
s3_store_access_key => hiera('s3_store_access_key'),
|
||||||
s3_store_secret_key => hiera('s3_store_secret_key'),
|
s3_store_secret_key => hiera('s3_store_secret_key'),
|
||||||
s3_store_bucket => hiera('s3_store_bucket'),
|
s3_store_bucket => hiera('s3_store_bucket'),
|
||||||
swift_store_user => hiera('swift_store_user'),
|
swift_store_user => hiera('swift_store_user'),
|
||||||
swift_store_key => hiera('swift_store_key'),
|
swift_store_key => hiera('swift_store_key'),
|
||||||
swift_store_container => hiera('swift_store_container'),
|
swift_store_container => hiera('swift_store_container'),
|
||||||
}
|
}
|
||||||
|
|
||||||
include ulimit
|
|
||||||
ulimit::conf { 'limit_jenkins_procs':
|
ulimit::conf { 'limit_jenkins_procs':
|
||||||
limit_domain => 'jenkins',
|
limit_domain => 'jenkins',
|
||||||
limit_type => 'hard',
|
limit_type => 'hard',
|
||||||
limit_item => 'nproc',
|
limit_item => 'nproc',
|
||||||
limit_value => '256'
|
limit_value => '256'
|
||||||
}
|
}
|
||||||
include jenkins::cgroups
|
|
||||||
}
|
}
|
||||||
|
|
||||||
node /^oneiric.*\.slave\.openstack\.org$/ {
|
node /^oneiric.*\.slave\.openstack\.org$/ {
|
||||||
include openstack_project::puppet_cron
|
include openstack_project::puppet_cron
|
||||||
class { 'openstack_project::slave':
|
class { 'openstack_project::slave':
|
||||||
certname => 'oneiric.slave.openstack.org',
|
certname => 'oneiric.slave.openstack.org',
|
||||||
sysadmins => hiera('sysadmins'),
|
sysadmins => hiera('sysadmins'),
|
||||||
}
|
}
|
||||||
class { 'openstack_project::glancetest':
|
class { 'openstack_project::glancetest':
|
||||||
s3_store_access_key => hiera('s3_store_access_key'),
|
s3_store_access_key => hiera('s3_store_access_key'),
|
||||||
s3_store_secret_key => hiera('s3_store_secret_key'),
|
s3_store_secret_key => hiera('s3_store_secret_key'),
|
||||||
s3_store_bucket => hiera('s3_store_bucket'),
|
s3_store_bucket => hiera('s3_store_bucket'),
|
||||||
swift_store_user => hiera('swift_store_user'),
|
swift_store_user => hiera('swift_store_user'),
|
||||||
swift_store_key => hiera('swift_store_key'),
|
swift_store_key => hiera('swift_store_key'),
|
||||||
swift_store_container => hiera('swift_store_container'),
|
swift_store_container => hiera('swift_store_container'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -197,3 +196,5 @@ node /^.*\.jclouds\.openstack\.org$/ {
|
|||||||
certname => 'jclouds.openstack.org',
|
certname => 'jclouds.openstack.org',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|
||||||
|
Loading…
Reference in New Issue
Block a user