Giter Club home page Giter Club logo

dell_info's Introduction

#Puppet dell_info

##Overview

This puppet module adds custom facts aquired by querying https://api.dell.com/.

##Module Description

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. When I wrote this there were three publically available on the internet. This isn't a private key that's currently in the module. In fact, I couldn't find a way to get a private key.

Based on this blog article about api.dell.com.

##Limitations

  • 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.

##Author

Kevin Wolf [email protected]

##Support

Please log tickets and issues at the github repository

##Release notes

1.0.1

  • Forgot to increment the version number in the module file.

1.0.0

  • Incrementing the release to scare away less People. This has been working fine for us.

0.0.1

  • Initial release of dell_info. Works for us at this point.

dell_info's People

Contributors

kwolf avatar sjoeboo avatar b4ldr avatar billweiss avatar peculater avatar

Watchers

James Cloos avatar

Forkers

hmsrc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.