system-config/modules/openstack_project/manifests/dashboard.pp
Paul Belanger f8f2915020 Style Guide updates for puppet-lint
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
2012-09-27 14:59:57 +00:00

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