Skip to content

Commit

Permalink
Merge pull request #15 from opscode/berkshelf-vagrant-1.1.0-compat
Browse files Browse the repository at this point in the history
Support berkshelf-vagrant 1.1.0+ in Vagrantfiles.
  • Loading branch information
fnichol committed Apr 17, 2013
2 parents 79b1fc6 + 9e91e57 commit 6230bb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/kitchen/vagrant/vagrantfile_creator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def chef_block(arr)
def berkshelf_block(arr)
if File.exists?(berksfile)
arr << %{ c.berkshelf.berksfile_path = "#{berksfile}"}
arr << %{ if c.berkshelf.respond_to?(:enabled)}
arr << %{ c.berkshelf.enabled = true}
arr << %{ end}
end
end

Expand Down

0 comments on commit 6230bb9

Please sign in to comment.