Method: ChefApply::TargetHost::MacOS#make_temp_dir
- Defined in:
- lib/chef_apply/target_host/macos.rb
#make_temp_dir ⇒ Object
56 57 58 59 60 61 |
# File 'lib/chef_apply/target_host/macos.rb', line 56 def make_temp_dir installer_dir = "/tmp/chef-installer" run_command!("mkdir -p #{installer_dir}") run_command!("chmod 777 #{installer_dir}") installer_dir end |