Method: Chef::Provider::Subversion#action_checkout
- Defined in:
- lib/chef/provider/subversion.rb
#action_checkout ⇒ Object
61 62 63 64 65 66 67 68 69 |
# File 'lib/chef/provider/subversion.rb', line 61 def action_checkout if target_dir_non_existent_or_empty? converge_by("perform checkout of #{@new_resource.repository} into #{@new_resource.destination}") do run_command((:command => checkout_command)) end else Chef::Log.debug "#{@new_resource} checkout destination #{@new_resource.destination} already exists or is a non-empty directory - nothing to do" end end |