This is a quick post reflecting the updated script for puppet integration.
In our quest to make device42 a more integrated data center management software, we recently uploaded a sample script to read the fact files from the puppet master and upload available nodes info to device42 appliance.
The script has been updated for better error handling.
Earlier script was assuming that serial #, OS info etc. would always be present in the fact file, but depending on the node, this might not be the case. New script doesn’t assume anything and only looks for the values that exist in the fact file.
Updated script is available at support portal: Sample puppet to device42 data population script.
Complete revision history and script is also available at: device42 github page.