17 lines
387 B
Ruby
17 lines
387 B
Ruby
# frozen_string_literal: true
|
|
|
|
name 'nodejs'
|
|
|
|
default_source :supermarket
|
|
|
|
run_list 'recipe[test::default]'
|
|
|
|
cookbook 'nodejs', path: '.'
|
|
cookbook 'test', path: './test/cookbooks/test'
|
|
|
|
Dir.children('./test/cookbooks/test/recipes').grep(/\.rb\z/).sort.each do |recipe|
|
|
recipe_name = File.basename(recipe, '.rb')
|
|
|
|
named_run_list recipe_name.to_sym, "recipe[test::#{recipe_name}]"
|
|
end
|