# Installs the previously exported site code and SQL dump via deploy-drupal
config.vm.provision :chef_solo do |chef|
- reset = ENV["reset"].nil? ? "" : ENV["reset"]
chef.json.merge!({
"deploy-drupal" => {
"dev_group_name" => "vagrant", # use Vagrant default user group as dev group
- "reset" => reset, # if set to "true", provisioning starts with obliterating existing project
- "sql_load_file" => "/vagrant/db/dump.sql.gz", # if non-existant, DB will be initialized via 'drush si', can also be relative (db/du
- "copy_project_from" => "/vagrant", # if folder is empty, will download D7 instead
- "site_path" => "site" # site is default, this can be removed
+ "sql_load_file" => "/vagrant/db/ewmuhc_d6site3-latest.sql.gz", # if non-existant, DB will be initialized via 'drush si', can also b
+ "get_project_from" => { :path => "/vagrant" }, # if folder is empty, will download D7 instead
+ "drupal_root_dir" => "site" # site is default, this can be removed
},
"mysql" => {
We now have a new version of https://github.com/amirkdv/chef-deploy-drupal
We need to include the following diff: