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: Issue 2835 - Find alternative setup for sharing data with VirtualBox Created Nov. 21, 2016, 3:44 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,15 @@
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
'
-
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