Expose dashboard::passenger params to dashboard
To treat the entire module like an API, this commit exposes the dashboard_config and dashboard_root parameters (used in the dashboard::passenger class) to the dashboard class and defaults the values to those declared in the dashboard::params class.
This commit is contained in:
parent
379737c3f9
commit
735522a91b
@ -116,8 +116,10 @@ class dashboard (
|
||||
-> Class['dashboard::passenger']
|
||||
|
||||
class { 'dashboard::passenger':
|
||||
dashboard_site => $dashboard_site,
|
||||
dashboard_port => $dashboard_port,
|
||||
dashboard_site => $dashboard_site,
|
||||
dashboard_port => $dashboard_port,
|
||||
dashboard_config => $dashboard_config,
|
||||
dashboard_root => $dashboard_root,
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -24,8 +24,8 @@
|
||||
class dashboard::passenger (
|
||||
$dashboard_site,
|
||||
$dashboard_port,
|
||||
$dashboard_config = $dashboard::params::dashboard_config,
|
||||
$dashboard_root = $dashboard::params::dashboard_root,
|
||||
$dashboard_config,
|
||||
$dashboard_root
|
||||
) inherits dashboard {
|
||||
|
||||
include apache
|
||||
|
Loading…
x
Reference in New Issue
Block a user