puppet-standalone-mashup/shared/additional-modules/god/manifests/init.pp

23 lines
374 B
ObjectPascal
Raw Normal View History

class god {
gem { 'god':
path => "${ruby::path}:${base::path}",
ensure => present,
2012-06-23 02:02:08 +00:00
require => Class['ruby']
}
2012-06-23 02:02:08 +00:00
$bin = "${ruby::path}//god"
2012-05-02 22:17:23 +00:00
$dir = config_path("god.d")
$pid = pid_path($name)
$log = log_path($name)
$share = share_path($name)
2012-05-02 22:17:23 +00:00
file { [ $dir, $share ]:
ensure => directory
}
2012-06-04 19:05:38 +00:00
init_d { 'god':
require => Gem['god']
}
}