Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

chefexplore

Script to sync Chef nodes information to Device42 (http://device42.com)

Requirements

You will need to install pychef Python's packege: https://github.com/coderanger/pychef.

Configure

Take the file settings.yaml.example and rename it to settings.yaml. Then change the settings to correct ones.

Note that for Chef Server >= 12 you should set up 'organization' parameter.

You should obtain client name and its key file to be able to connect to Chef server.

See NodeFilter.md for node filtering options.

Custom Fields Mapping

You may send any variable from nodes. Just define mapping section in settings.yaml ( we have commented example ).

If variable are tuple, list or dict we send length of the particular object.

If you want to see all possible node values, please use show_node parameter in settings.yaml options section.

Run

    python chefexplore.py [-c /path/to/settings.yaml]

Bugs / Feature Requests

Please attach node info from chef/ohai while sending bugs/feature requests. It can help to understand your specifics.

About

This script takes the node(s) data from Chef server and sends to Device42 instance

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages