f8f2915020
Once our gate-ci-puppet-lint job goes live, this will help to get it to pass. Change-Id: I2eb363038b8e63e4b17a3f80cc40dc6c6bf90bee Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com> Reviewed-on: https://review.openstack.org/13722 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
27 lines
688 B
Puppet
27 lines
688 B
Puppet
class openstack_project::dashboard(
|
|
$password,
|
|
$mysql_password,
|
|
$sysadmins = []
|
|
) {
|
|
|
|
class { 'openstack_project::server':
|
|
iptables_public_tcp_ports => [80, 443, 3000],
|
|
sysadmins => $sysadmins
|
|
}
|
|
|
|
class { '::dashboard':
|
|
dashboard_ensure => 'present',
|
|
dashboard_user => 'www-data',
|
|
dashboard_group => 'www-data',
|
|
dashboard_password => $password,
|
|
dashboard_db => 'dashboard_prod',
|
|
dashboard_charset => 'utf8',
|
|
dashboard_site => $::fqdn,
|
|
dashboard_port => '3000',
|
|
mysql_root_pw => $mysql_password,
|
|
passenger => true,
|
|
}
|
|
}
|
|
|
|
# vim:sw=2:ts=2:expandtab:textwidth=79
|