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