Created
October 11, 2013 18:18
-
-
Save tmatilai/6939529 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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