Skip to content

Instantly share code, notes, and snippets.

@tmatilai
Created October 11, 2013 18:18
Show Gist options
  • Save tmatilai/6939529 to your computer and use it in GitHub Desktop.
Save tmatilai/6939529 to your computer and use it in GitHub Desktop.
def run
# ...
if config_value(:sync, true)
generate_node_config
berkshelf_install if config_value(:berkshelf, true)
librarian_install if config_value(:librarian, true)
add_cookbook_path(patch_cookbooks_path) # <--
sync_kitchen
generate_solorb
end
cook unless config[:sync_only]
end
end
def cookbook_paths
@cookbook_paths ||= expanded_config_paths(:cookbook_path)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment