MiamiOH / foreman_teamdynamix

A Foreman Plugin for TeamDynamix
GNU General Public License v3.0
1 stars 1 forks source link

Mark Asset as retired in TeamDynamix upon Host deletion #7

Closed edestecd closed 6 years ago

edestecd commented 6 years ago

When a Host is deleted in Foreman it should mark the matching asset in TD as Retired.

edestecd commented 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

nipendar commented 6 years ago

some work already done. estimate 2-4 hour, depending on PR review and follow up commits required

edestecd commented 6 years ago

Solved by #19