Created
March 28, 2013 18:58
-
-
Save sbates/5265851 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 chef_block(arr) def chef_block(arr) | |
arr << %{ c.vm.provision :chef_solo do |chef|} arr << %{ c.vm.provision :chef_solo do |chef|} | |
arr << %{ chef.log_level = #{vagrant_logger_level} arr << %{ chef.log_level = #{vagrant_logger_level} | |
> arr << %{ chef.cookbooks_path = "/Users/sascha/cli | |
arr << %{ chef.run_list = #{instance.run_list.insp arr << %{ chef.run_list = #{instance.run_list.insp | |
arr << %{ chef.json = #{instance.attributes.to_s}} arr << %{ chef.json = #{instance.attributes.to_s}} | |
if instance.suite.data_bags_path if instance.suite.data_bags_path | |
arr << %{ chef.data_bags_path = "#{instance.suit arr << %{ chef.data_bags_path = "#{instance.suit | |
end end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment