Skip to content

Commit

Permalink
fix chef/providers conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Stat Turlo committed Aug 27, 2012
1 parent b971075 commit fd80883
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -205,7 +205,10 @@ DEPENDENCIES
rest-client (= 1.6.7)
right_agent!
right_amqp!
right_http_connection (~> 1.3)
right_link!
right_popen (~> 1.0)
right_scraper (= 3.0.1)
right_support!
rspec (~> 1.3)
ruby-debug
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -157,7 +157,7 @@ task :load_env do
require 'irb'
BASE_DIR = File.join(File.dirname(__FILE__), 'lib')
require File.normalize_path(File.join(BASE_DIR, 'instance'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'providers'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'right_providers'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'plugins'))
require File.normalize_path(File.join(BASE_DIR, 'repo_conf_generators'))
end
Expand Down
2 changes: 1 addition & 1 deletion init/init.rb
Expand Up @@ -32,7 +32,7 @@

BASE_DIR = File.join(File.dirname(__FILE__), '..', 'lib')
require File.normalize_path(File.join(BASE_DIR, 'instance'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'providers'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'right_providers'))
require File.normalize_path(File.join(BASE_DIR, 'chef', 'plugins'))
require File.normalize_path(File.join(BASE_DIR, 'repo_conf_generators'))

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/instance/cook/cook.rb
Expand Up @@ -24,7 +24,7 @@
require 'right_agent/core_payload_types'


require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'chef', 'providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'chef', 'right_providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'chef', 'plugins'))

module RightScale
Expand Down
2 changes: 1 addition & 1 deletion spec/actors/spec_helper.rb
Expand Up @@ -22,4 +22,4 @@

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'instance'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'chef', 'providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'chef', 'right_providers'))
2 changes: 1 addition & 1 deletion spec/chef/spec_helper.rb
Expand Up @@ -25,7 +25,7 @@
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'instance', 'cook'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'clouds'))

require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'chef', 'providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', 'lib', 'chef', 'right_providers'))

shared_examples_for 'generates cookbook for chef runner' do
before(:all) do
Expand Down
2 changes: 1 addition & 1 deletion spec/instance/cook/executable_sequence_spec.rb
Expand Up @@ -23,7 +23,7 @@
require File.join(File.dirname(__FILE__), 'spec_helper')
require 'right_scraper'
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'chef', 'plugins'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'chef', 'providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'chef', 'right_providers'))

module RightScale
class ExecutableSequence
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/actors/cook.rb
Expand Up @@ -32,7 +32,7 @@

require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'instance'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'instance', 'cook'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'chef', 'providers'))
require File.normalize_path(File.join(File.dirname(__FILE__), '..', '..', '..', 'lib', 'chef', 'right_providers'))

require File.normalize_path(File.join(File.dirname(__FILE__), '..', 'agent_test_config'))

Expand Down

0 comments on commit fd80883

Please sign in to comment.