Class: PoolParty::ChefClient
Overview
Chef class bootstrapping chef-client.
Constant Summary
Constant Summary
Constants inherited from Chef
PoolParty::Chef::BOOTSTRAP_BINS, PoolParty::Chef::BOOTSTRAP_DIRS, PoolParty::Chef::BOOTSTRAP_GEMS, PoolParty::Chef::BOOTSTRAP_PACKAGES
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary (collapse)
Methods inherited from Chef
#_recipes, #attributes, #compile!, get_chef, #node_bootstrap!, #node_bootstrapped?, #node_run!, #node_stop!, #on_step, #override_attributes, #recipe, #recipes, types
Methods inherited from Base
#initialize, #method_missing, #run
Constructor Details
This class inherits a constructor from PoolParty::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PoolParty::Chef
Instance Method Details
- (Object) openid_url(url = nil)
13 14 15 16 17 18 19 20 21 |
# File 'lib/poolparty/chef_client.rb', line 13 def openid_url(url=nil) if url.nil? return @openid_url||= (u=URI.parse(server_url) u.port=4001 openid_url u.to_s) else @openid_url=url end end |
- (Object) roles(*roles)
23 24 25 26 |
# File 'lib/poolparty/chef_client.rb', line 23 def roles(*roles) return @_roles||=[cloud.name] if roles.empty? @_roles=roles end |