Hi there,
I've spent some time writing a Python script which basically generates an XML file from a bunch of Puppet YAML files suitable for I-DOIT to import. It works great, except that often the imported file contains new objects which need to be linked to inside I-DOIT. For example, part of the imported XML may contain a new application/service that needs to be inserted into I-DOIT first. I need to insert the app into I-DOIT to find out the ID so I can link to it in the imported XML, so my question is whether it is possible to export the entire CMDB from command line?
If it is possible, then I could parse my current XML to work out what applications/etc are missing from the exported file, then get them inserted, and run an export again. As it stands right now, I'm doing the export manually via the web interface but I was hoping to automate it if possible.
Thanks in advance!
Regards
Gonzalo