Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.

Commit

Permalink
Added use_sudo to driver if running on Mac for Issue #22
Browse files Browse the repository at this point in the history
  • Loading branch information
rberger committed Oct 4, 2014
1 parent cf8f299 commit d2ae777
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/.kitchen.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ driver:
<% case options[:driver] when "vagrant" %>name: vagrant
<% when "docker" %>name: docker
provision_command: curl -L http://www.opscode.com/chef/install.sh | bash
use_sudo: <%= `uname` == 'Darwin' ? false : true %>
<% end %>
provisioner:
name: chef_solo
Expand Down

0 comments on commit d2ae777

Please sign in to comment.