Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: Vagrantfile

Issue 29363649: Issue 2835 - Find alternative setup for sharing data with VirtualBox (Closed)
Patch Set: Created Nov. 21, 2016, 2:34 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Vagrantfile
===================================================================
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -33,12 +33,16 @@
end
# The repository location in the production system's puppet master
- config.vm.synced_folder ".", "/etc/puppet/infrastructure"
+ if system('which', 'rsync', :out => File::NULL)
+ config.vm.synced_folder ".", "/etc/puppet/infrastructure", type: "rsync"
+ else
+ config.vm.synced_folder ".", "/etc/puppet/infrastructure"
+ end
config.vm.provision :shell, :inline => '
sudo /etc/puppet/infrastructure/hiera/install_precise.py
'
-
+
mathias 2016/11/21 15:16:48 Please remove the unnecessary white-space here, th
config.vm.provision :puppet do |puppet|
puppet.options = [
'--environment=development',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld