Class: Caterer::Config::Provisioner::ChefSolo

Inherits:
Object
  • Object
show all
Defined in:
lib/caterer/config/provisioner/chef_solo.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChefSolo

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_scriptsObject

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_pathObject

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_pathObject

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

#jsonObject

Returns the value of attribute json.



5
6
7
# File 'lib/caterer/config/provisioner/chef_solo.rb', line 5

def json
  @json
end

#roles_pathObject

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_listObject

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