【文件属性】:
文件名称:chef-forever:使用永远设置节点应用程序的厨师食谱
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-15 13:20:46
Ruby
永远的厨师
用于使用运行节点应用程序的食谱。
安装
安装这本食谱的最简单方法是使用 。
将此添加到您的 Cheffile:
cookbook 'forever' ,
:git => 'https://github.com/tr*/chef-forever'
当然还有很多其他的方法。
用法
include_recipe "forever"
forever_service "statsd" do
user 'statsd'
group 'statsd'
path "/web/statsd"
script "stats.js"
script_options "myConfig.js"
description "Simple daemon for easy stats aggregation."
action [ :enable , :start
【文件预览】:
chef-forever-master
----templates()
--------default()
----definitions()
--------forever_service.rb(640B)
----LICENSE(1KB)
----README.md(875B)
----metadata.rb(301B)
----Rakefile(22B)
----recipes()
--------default.rb(21B)