受 Chef 启发的配置管理工具,但更简单、更轻量级。以前称为 Lightchef。
受 Chef 启发的简单、轻量级配置管理工具。
$ gem install itamae创建一个名为 recipe.rb 的配方文件:
package 'nginx' do
action :install
end
service 'nginx' do
action [:enable, :start]
end然后执行 itamae 命令,将配方应用到本地机器上。
$ itamae local recipe.rb
INFO : Starting Itamae...
INFO : Recipe: /home/user/recipe.rb
INFO : package[nginx]
INFO : action: install
INFO : installed will change from 'false' to 'true'
INFO : service[nginx]
INFO : action: enable
INFO : action: start或者,您可以通过 itamae ssh 将配方应用到远程机器。
$ itamae ssh --host host001.example.jp recipe.rb您还可以通过 itamae ssh --vagrant 将配方应用到 Vagrant VM。
$ itamae ssh --vagrant --host vm_name recipe.rb您可以在 Itamae Wiki 中找到有关使用 Itamae 的更多信息。 享受吧!
https://github.com/itamae-kitchen/itamae/wiki
要求: Vagrant
$ bundle exec rake spec如果您有问题,请 [创建]
暂无开放 Issues,或尚未同步最近议题。