# File lib/chef/provider/mdadm.rb, line 77
      def action_stop
        if @current_resource.exists
          command = "yes | mdadm --stop #{@new_resource.raid_device}"
          Chef::Log.debug("mdadm command: #{command}")
          shell_out!(command)
          Chef::Log.info("Stopped mdadm raid device (#{@new_resource.raid_device})")
          @new_resource.updated_by_last_action(true)
        else
          Chef::Log.debug("mdadm raid device doesn't exist (#{@new_resource.raid_device})")
        end
      end