2012-01-31 01:28:30 +00:00
|
|
|
class god {
|
|
|
|
gem { 'god':
|
|
|
|
path => "${ruby::path}:${base::path}",
|
|
|
|
ensure => present,
|
|
|
|
require => Make_and_install['ruby']
|
|
|
|
}
|
|
|
|
|
|
|
|
$god_bin = "${base::install_path}/ruby/bin/god"
|
|
|
|
$god_dir = "${base::config_path}/god.d"
|
|
|
|
$pid_path = pid_path($name)
|
|
|
|
|
|
|
|
file { $god_dir:
|
|
|
|
ensure => directory
|
|
|
|
}
|
|
|
|
|
2012-05-02 12:25:29 +00:00
|
|
|
$share = "${base::share_path}/god"
|
|
|
|
file { $share: ensure => directory }
|
2012-01-31 01:28:30 +00:00
|
|
|
}
|
|
|
|
|