oneops-admin/lib/shared/test/integration/spec_utils.rb
# Repeats logic from exec-order.rb (which is not incapsulated in a method)
# Returns a full path to config file for chef-solo command
Repeats logic from exec-order.rb (which is not incapsulated in a method)
Returns a full path to config file for chef-solo command
Repeats logic from exec - order . rb ( which is not incapsulated in a method ) Returns a full path to config file for chef - solo command
def chef_config
      ci = @json.split('/').last.gsub('.json', '')
      "#{prefix_root}/home/oneops/#{@circuit}/components/cookbooks/" \
      "chef-#{ci}.rb"
    end
def chef_config ci = @json . split ( '/' ) . last . gsub ( '.json' , '' ) "#{prefix_root}/home/oneops/#{@circuit}/components/cookbooks/" "chef-#{ci}.rb" end
Repeats logic from exec-order.rb (which is not incapsulated in a method)
Returns a full path to config file for chef-solo command
Repeats logic from exec - order . rb ( which is not incapsulated in a method ) Returns a full path to config file for chef - solo command