This module appears abandoned (last commit 2 years ago) and there's a bug that makes facter rather noisy. We've forked this module to fix that bug. Scott has also submitted a pull request to the original author.
This puppet module adds custom facts aquired by querying https://api.dell.com/. It supports the v4 API.
We use this to track the age of our mission critical production servers.
Facts are cached for seven days by default.
Custom facts added, may very based on your warranty details:
purchase_date => 2011-04-13
server_age => 2.16 years
warranty => true
warranty0_desc => Silver Premium Support
warranty0_expires => 2014-04-14
warranty0_type => INITIAL
warranty1_desc => Next Business Day Support
warranty1_expires => 2014-04-14
warranty1_type => EXTENDED
warranty2_desc => Next Business Day Support
warranty2_expires => 2012-04-14
warranty2_type => INITIAL
The warranty fact should be set to warranty => true if any warranties are greater than the current date, and warranty => false if all warranties have expired.
api.dell.com uses API keys. To get one for your use, follow Dell's instructions.
Your API key will first only work on Dell's sandbox api server. You should ask your contact to promote it in their production API.
You can test your key with the sandbox API using the parameter :
class{'dell_info':
sandbox => true,
api_key => "abcde1234"
}
or in hiera :
dell_info::sandbox: true
dell_info::api_key: "abcde1234"
- Currently dell_info only supports Linux based operating systems. We've used it on CentOS, RedHat, Ubuntu and Proxmox (Debian). ** Wouldn't take much to make this work on Windows. Right now I'm using curl instead of net http. Also the cache directory would need to chnage. It's pretty Linux specific right now.
- Only runs on Dell bare metal servers.
- Will only query Dell for hardware based servers which have serial numbers Facter can see.
Kevin Wolf [email protected]
V4 and sandbox support : Jonathan Schaeffer [email protected]
Please log tickets and issues at the github repository
- Adding warranty_end fact
- Switching to v4 API, sticking major version to the API version
- Forgot to increment the version number in the module file.
- Incrementing the release to scare away less People. This has been working fine for us.
- Initial release of dell_info. Works for us at this point.