Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Update rakefile with comments clarifying the VCS section

  • Loading branch information...
commit af34e92c3c30ca5481fce378a2b10a71a4538b26 1 parent aee1707
@jtimberman jtimberman authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 Rakefile
12 Rakefile
@@ -22,14 +22,22 @@ require 'rubygems'
require 'chef'
require 'json'
-# Make sure you have loaded constants first
+# Load constants from rake config file.
require File.join(File.dirname(__FILE__), 'config', 'rake')
-# And choosen a VCS
+# Detect the version control system and assign to $vcs. Used by the update
+# task in chef_repo.rake (below). The install task calls update, so this
+# is run whenever the repo is installed.
+# Comment out these lines to skip the update.
if, ".svn"))
$vcs = :svn
elsif, ".git"))
$vcs = :git
+# Load common, useful tasks from Chef.
+# rake -T to see the tasks this loads.
load 'chef/tasks/chef_repo.rake'
Please sign in to comment.
Something went wrong with that request. Please try again.