# File lib/chef/provider/mdadm.rb, line 65 def action_assemble unless @current_resource.exists command = "yes | mdadm --assemble #{@new_resource.raid_device} #{@new_resource.devices.join(" ")}" Chef::Log.debug("mdadm command: #{command}") shell_out!(command) Chef::Log.info("Assembled mdadm raid device (#{@new_resource.raid_device})") @new_resource.updated_by_last_action(true) else Chef::Log.debug("mdadm raid device already exists, skipping assemble (#{@new_resource.raid_device})") end end