system-config/modules/openstack_project/manifests/dashboard.pp
Monty Taylor 5fb75ec390 Add support for puppet dashboard.
Change-Id: Ia63c0af6724f95417910215a82abaadd53ba0b49
2012-07-27 12:51:31 -05:00

22 lines
651 B
Puppet

class openstack_project::dashboard(
$password,
$mysql_password) {
class { 'openstack_project::template':
iptables_public_tcp_ports => [80, 443, 3000]
}
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,
}
}