Closed edestecd closed 6 years ago
Rails has after hooks for delete to do such things: http://guides.rubyonrails.org/active_record_callbacks.html
Delete in Foreman should fail if not successfully marked as retired in TD
some work already done. estimate 2-4 hour, depending on PR review and follow up commits required
Solved by #19
When a Host is deleted in Foreman it should mark the matching asset in TD as Retired.