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', |