Merge "Break out openstack_project::server from static.o.o"

This commit is contained in:
Jenkins
2015-06-29 17:42:22 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 8 deletions

View File

@@ -482,9 +482,12 @@ node 'storyboard.openstack.org' {
# A machine to serve static content. # A machine to serve static content.
# Node-OS: precise # Node-OS: precise
node 'static.openstack.org' { node 'static.openstack.org' {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 443],
sysadmins => hiera('sysadmins', []),
}
class { 'openstack_project::static': class { 'openstack_project::static':
project_config_repo => 'https://git.openstack.org/openstack-infra/project-config', project_config_repo => 'https://git.openstack.org/openstack-infra/project-config',
sysadmins => hiera('sysadmins', []),
swift_authurl => 'https://identity.api.rackspacecloud.com/v2.0/', swift_authurl => 'https://identity.api.rackspacecloud.com/v2.0/',
swift_user => 'infra-files-ro', swift_user => 'infra-files-ro',
swift_key => hiera('infra_files_ro_password', 'XXX'), swift_key => hiera('infra_files_ro_password', 'XXX'),

View File

@@ -1,7 +1,6 @@
# == Class: openstack_project::static # == Class: openstack_project::static
# #
class openstack_project::static ( class openstack_project::static (
$sysadmins = [],
$swift_authurl = '', $swift_authurl = '',
$swift_user = '', $swift_user = '',
$swift_key = '', $swift_key = '',
@@ -15,12 +14,6 @@ class openstack_project::static (
$jenkins_gitfullname = 'OpenStack Jenkins', $jenkins_gitfullname = 'OpenStack Jenkins',
$jenkins_gitemail = 'jenkins@openstack.org', $jenkins_gitemail = 'jenkins@openstack.org',
) { ) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 443],
sysadmins => $sysadmins,
}
class { 'project_config': class { 'project_config':
url => $project_config_repo, url => $project_config_repo,
} }