Module: KnifeCookbookDependencies::DSL

Included in:
Cookbookfile
Defined in:
lib/kcd/dsl.rb

Instance Method Summary collapse

Instance Method Details

#cookbook(*args) ⇒ Object



3
4
5
# File 'lib/kcd/dsl.rb', line 3

def cookbook(*args)
  KCD.shelf.shelve_cookbook(*args)
end

#group(*args) ⇒ Object



7
8
9
10
11
# File 'lib/kcd/dsl.rb', line 7

def group *args
  KCD.shelf.active_group = args
  yield
  KCD.shelf.active_group = nil
end