Class: Cheffish::ChefRunData
- Inherits:
-
Object
- Object
- Cheffish::ChefRunData
- Extended by:
- WithPattern
- Defined in:
- lib/cheffish/chef_run_data.rb
Instance Attribute Summary collapse
-
#local_servers ⇒ Object
readonly
Returns the value of attribute local_servers.
Instance Method Summary collapse
-
#initialize ⇒ ChefRunData
constructor
A new instance of ChefRunData.
Methods included from WithPattern
Constructor Details
#initialize ⇒ ChefRunData
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/cheffish/chef_run_data.rb', line 6 def initialize @local_servers = [] @current_chef_server = { :chef_server_url => Chef::Config[:chef_server_url], :options => { :client_name => Chef::Config[:node_name], :signing_key_filename => Chef::Config[:client_key] } } end |
Instance Attribute Details
#local_servers ⇒ Object (readonly)
Returns the value of attribute local_servers.
23 24 25 |
# File 'lib/cheffish/chef_run_data.rb', line 23 def local_servers @local_servers end |