Puppet Class: dashboard::passenger
- Inherits:
- dashboard
- Defined in:
- manifests/passenger.pp
Overview
Class: dashboard::passenger
This class configures parameters for the puppet-dashboard module.
Parameters:
[*dashboard_site*]
- The ServerName setting for Apache
[*dashboard_port*]
- The port on which puppet-dashboard should run
[*dashboard_config*]
- The Dashboard configuration file
[*dashboard_root*]
- The path to the Puppet Dashboard library
Actions:
Requires:
Sample Usage:
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'manifests/passenger.pp', line 24
class dashboard::passenger (
$dashboard_site,
$dashboard_port,
$dashboard_config,
$dashboard_root
) inherits dashboard {
include apache
include passenger
file { '/etc/init.d/puppet-dashboard':
ensure => absent,
}
file { 'dashboard_config':
ensure => absent,
path => $dashboard_config,
}
apache::vhost { $dashboard_site:
port => $dashboard_port,
priority => '50',
docroot => "${dashboard_root}/public",
template => 'dashboard/passenger-vhost.erb',
}
}
|