Skip to content

Commit

Permalink
Updates main receipe to use the new SVN repo on github
Browse files Browse the repository at this point in the history
  • Loading branch information
amacgregor committed Aug 18, 2013
1 parent 9666d6f commit a5c85fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cookbooks/vagrant_main/recipes/default.rb
Expand Up @@ -61,13 +61,13 @@
end

# Checkout a copy from the trunk
git site["host"] do
repository "git@github.com:amacgregor/mage_1702.git"
reference "master" # or "HEAD" or "TAG_for_1.0" or (subversion) "1234"
action :checkout
subversion site["host"] do
repository "#{site["repo"]}"
revision "HEAD"
destination "/srv/www/#{site["host"]}/public_html"
action :sync
end

# Add site info in /etc/hosts
bash "hosts" do
code "echo 127.0.0.1 #{site["host"]} #{site["aliases"].join(' ')} >> /etc/hosts"
Expand Down

0 comments on commit a5c85fc

Please sign in to comment.