From cd79563837f39dc8590f1c5ed096e873c54127a5 Mon Sep 17 00:00:00 2001 From: Ben Tse Date: Thu, 19 Sep 2013 14:26:35 -0400 Subject: [PATCH] #2241 moved chmod up before verify_shared_folders check --- plugins/provisioners/puppet/provisioner/puppet.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index 546c99644..b43a3d65b 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -48,17 +48,17 @@ module VagrantPlugins check << guest_path end - verify_shared_folders(check) - - # Verify Puppet is installed and run it - verify_binary("puppet") - # Make sure the temporary directory is properly set up @machine.communicate.tap do |comm| comm.sudo("mkdir -p #{config.temp_dir}") comm.sudo("chmod 0777 #{config.temp_dir}") end + verify_shared_folders(check) + + # Verify Puppet is installed and run it + verify_binary("puppet") + # Upload Hiera configuration if we have it @hiera_config_path = nil if config.hiera_config_path