Method: Chef::Provider::Git#enable_submodules
- Defined in:
- lib/chef/provider/git.rb
#enable_submodules ⇒ Object
134 135 136 137 138 139 140 |
# File 'lib/chef/provider/git.rb', line 134 def enable_submodules if @new_resource.enable_submodules Chef::Log.info "#{@new_resource} enabling git submodules" command = "git submodule init && git submodule update" shell_out!(command, (:cwd => @new_resource.destination, :command_log_level => :info)) end end |