Skip to content

Instantly share code, notes, and snippets.

@vinyar
Last active April 30, 2017 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinyar/2002a8b6f06886c4ab2596063283fc9c to your computer and use it in GitHub Desktop.
Save vinyar/2002a8b6f06886c4ab2596063283fc9c to your computer and use it in GitHub Desktop.
example
app_cookbook
attribute file
--> default['ms_dsc']['supported_modules'] = %w(mod1 mod5 mod19)
recipe
include_recipe 'ms_dsc'
------------------
cookbook: ms_dsc
attribute
default['ms_dsc']['supported_modules']= %w(mod1, mod2, mod3, mod4....mod19)
recipe
default['ms_dsc']['supported_modules'].each do |recipe|
include_recipe recipe
end
metadata
depends mod1
depends mod2
depends mod3
depends mod4
depends .....
depends .....
depends .....
depends .....
depends .....
depends .....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment