Skip to content
Helpers for querying a Chef Server
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
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'
You can’t perform that action at this time.