2012-01-31 01:28:30 +00:00
|
|
|
class god {
|
|
|
|
gem { 'god':
|
|
|
|
path => "${ruby::path}:${base::path}",
|
|
|
|
ensure => present,
|
|
|
|
require => Make_and_install['ruby']
|
|
|
|
}
|
|
|
|
|
2012-05-02 22:17:23 +00:00
|
|
|
$bin = "${base::install_path}/ruby/bin/god"
|
|
|
|
$dir = config_path("god.d")
|
|
|
|
$pid = pid_path($name)
|
|
|
|
$log = log_path($name)
|
|
|
|
$share = share_path($name)
|
2012-01-31 01:28:30 +00:00
|
|
|
|
2012-05-02 22:17:23 +00:00
|
|
|
file { [ $dir, $share ]:
|
2012-01-31 01:28:30 +00:00
|
|
|
ensure => directory
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|