Class/Module Index [+]

Quicksearch

Ironfan::Provider::ChefServer

Public Class Methods

post_rest(type, content, options={}) click to toggle source

Utility functions

# File lib/ironfan/provider/chef.rb, line 14
def self.post_rest(type, content, options={})
  params = [ Chef::Config[:chef_server_url] ]
  if options[:client]
    params << options[:client].name
    params << options[:client].key_filename
  end
  Chef::REST.new(*params).post_rest(type,content)
end
resources() click to toggle source
# File lib/ironfan/provider/chef.rb, line 7
def self.resources
  [ Client, Node, Role ]
end
search(*params,&block) click to toggle source
# File lib/ironfan/provider/chef.rb, line 23
def self.search(*params,&block)
  Chef::Search::Query.new.search(*params,&block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.