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

Change-Id: I2c3c5d0f3075ca1c289dd00d0e529957d2e3dfa7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-06-24 17:57:10 +00:00
parent 9a015b0d18
commit 82e75b1884
2 changed files with 4 additions and 8 deletions

View File

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

View File

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