class ProvisionSuccess
  include Genesis::Framework::Task
  run do
    collins.set_status!(facter['asset_tag'], :provisioned, "Moving to provisioned", :running)
    log "Shutting down machine..."
    run_cmd '/sbin/shutdown', '-h', 'now'
    log "Sleeping waiting for shutdown"
    sleep
  end
end


class ProvisionSuccess
  include Genesis::Framework::Task
  run do
    collins.set_status!(facter['asset_tag'], :provisioned, "Moving to provisioned", :running)
    log "Shutting down machine..."
    run_cmd '/sbin/shutdown', '-r', 'now'
    log "Sleeping waiting for shutdown"
    sleep
  end
end


Reboot don't shutdown on provisioning
Reboot don't shutdown on provisioning

Don't break the chain. Copy paste error from intake shutdown command.
