Helpers for querying a Chef Server
Ruby
Pull request Compare This branch is 1 commit behind bitium:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
MIT-LICENSE
README.md
Rakefile
aether.gemspec

README.md

Aether

Aether is a simple wrapper over the Ridley Rubygem that returns server information from a Chef Server.

The Aether::Chef class is mainly used in Capistrano recipes.

Disclaimer

This is a thin wrapper over the Ridley interface that adds some Node level convenience methods.

Usage

chef_server = Aether::Chef.new(server_url: 'https://api.opscode.com/organizations/foo', client_name: 'foo',
                                client_key: '/path/to/.chef/foo.pem', environment: 'production')

# search servers with a given roles in its top level run list
servers = chef_server.find_nodes(:roles => ['role2', 'role2']) # returns an array of Aether::Node
servers.first.hostname # => 'foo.bar.com'