Configuration management tool inspired by Chef, but simpler and lightweight. Formerly known as Lightchef.
Simple and lightweight configuration management tool inspired by Chef.
$ gem install itamae
Create a recipe file as recipe.rb
:
package 'nginx' do
action :install
end
service 'nginx' do
action [:enable, :start]
end
And then execute itamae
command to apply a recipe to a local machine.
$ 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
Or you can apply a recipe to a remote machine by itamae ssh
.
$ itamae ssh --host host001.example.jp recipe.rb
You can also apply a recipe to Vagrant VM by itamae ssh --vagrant
.
$ itamae ssh --vagrant --host vm_name recipe.rb
You can find further information to use Itamae on Itamae Wiki.
Enjoy!
https://github.com/itamae-kitchen/itamae/wiki
Requirements: Vagrant
$ bundle exec rake spec
If you have a problem, please create an issue or a pull request.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)