-
Notifications
You must be signed in to change notification settings - Fork 125
Recipe Plugins
Ryota Arai edited this page Sep 8, 2015
·
2 revisions
Itamae supports recipes in rubygems. You can create recipe gem and control dependencies with Bundler.
The gem name must be itamae-plugin-recipe-yourrecipe
like itamae-plugin-recipe-nginx
.
gem 'itamae-plugin-recipe-nginx'
Then, you can load the recipe file in gems by include_recipe
# To include recipe at lib/itamae/plugin/recipe/nginx/default.rb or lib/itamae/plugin/recipe/nginx.rb
# default.rb is preferred location but it requires Itamae v1.5.2 or later
include_recipe 'nginx'
# To include recipe at lib/itamae/plugin/recipe/nginx/debug.rb
include_recipe 'nginx::debug'