Closed edestecd closed 6 years ago
Definition
Rails has after hooks for create to do such things: http://guides.rubyonrails.org/active_record_callbacks.html
We want to store the fqdn or a uniqueid in TD so a url can be generated back to foreman. We also want to create a new field for hosts in Foreman to store the Asset uniqueid in TeamDynamix so we can reference the TD asset later for display etc.
Use the TD api and read username/password from yaml file.