In puppet master Facter facts already have node information populated and you can use the facts files to update device42 appliance with your inventory information.
This script goes through the fact files and updates relative information to device42 appliance.
Please modify lines between 29 and 39 to match your environment.
Also line 94: If you want to test run against a single file or specific pattern
and line 109: If the device name is not same as the cert name in the facter fact file.
UPDATE 8/17/12: Script has been updated for better error handling.
UPDATE 9/12/12: Updated script for better memory estimations.
Please sign in to leave a comment.