Class: Caterer::Config::Provisioner::ChefSolo
- Inherits:
-
Object
- Object
- Caterer::Config::Provisioner::ChefSolo
- Defined in:
- lib/caterer/config/provisioner/chef_solo.rb
Instance Attribute Summary collapse
-
#bootstrap_scripts ⇒ Object
Returns the value of attribute bootstrap_scripts.
-
#cookbooks_path ⇒ Object
Returns the value of attribute cookbooks_path.
-
#data_bags_path ⇒ Object
Returns the value of attribute data_bags_path.
-
#json ⇒ Object
Returns the value of attribute json.
-
#roles_path ⇒ Object
Returns the value of attribute roles_path.
-
#run_list ⇒ Object
Returns the value of attribute run_list.
Instance Method Summary collapse
-
#initialize ⇒ ChefSolo
constructor
A new instance of ChefSolo.
Constructor Details
#initialize ⇒ ChefSolo
Returns a new instance of ChefSolo.
7 8 9 10 11 12 13 14 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 7 def initialize @run_list = [] @json = {} @cookbooks_path = ['cookbooks'] @roles_path = ['roles'] @data_bags_path = ['data_bags'] @bootstrap_scripts = [] end |
Instance Attribute Details
#bootstrap_scripts ⇒ Object
Returns the value of attribute bootstrap_scripts.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def bootstrap_scripts @bootstrap_scripts end |
#cookbooks_path ⇒ Object
Returns the value of attribute cookbooks_path.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def cookbooks_path @cookbooks_path end |
#data_bags_path ⇒ Object
Returns the value of attribute data_bags_path.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def data_bags_path @data_bags_path end |
#json ⇒ Object
Returns the value of attribute json.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def json @json end |
#roles_path ⇒ Object
Returns the value of attribute roles_path.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def roles_path @roles_path end |
#run_list ⇒ Object
Returns the value of attribute run_list.
5 6 7 |
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5 def run_list @run_list end |