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:
parent
9a015b0d18
commit
82e75b1884
@ -476,9 +476,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'),
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user