local_modules/freighthop/manifests/init.pp in freighthop-0.0.3 vs local_modules/freighthop/manifests/init.pp in freighthop-0.0.4
- old
+ new
@@ -1,9 +1,10 @@
class freighthop(
$databases,
$database_users,
- $packages = ['git-core'],
+ $packages = $freighthop::params::packages,
+ $ppas = $freighthop::params::ppas,
$ruby_version = $freighthop::params::ruby_version,
$app_name = $freighthop::params::app_name,
$app_root = $freighthop::params::app_root,
$web_root = $freighthop::params::web_root,
$web_port = $freighthop::params::web_port,
@@ -11,9 +12,12 @@
$ssl_cert_path = $freighthop::params::ssl_cert_path,
$ssl_key_path = $freighthop::params::ssl_key_path,
) inherits freighthop::params {
include apt
+ class { 'freighthop::ppas':
+ ppas => $ppas,
+ } ->
class { 'freighthop::pkgs':
packages => $packages,
} ->
class { 'freighthop::rbenv':
ruby_version => $ruby_version