Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
Use fog/rackspace instead of fog
Browse files Browse the repository at this point in the history
Fog is the old school monolithic gem which has been replaced. This gem
loads MUCH faster and brings in fewer deps, which keeps installs nice
and small

Signed-off-by: Tim Smith <tsmith@chef.io>
  • Loading branch information
tas50 committed Oct 5, 2016
1 parent b2c0cea commit 78d6666
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion knife-rackspace.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.add_dependency "knife-windows"
s.add_dependency "fog", ">= 1.35"
s.add_dependency "fog-rackspace", ">= 0.1"
s.add_dependency "chef", ">= 12.0"
s.require_paths = ["lib"]
end
4 changes: 2 additions & 2 deletions lib/chef/knife/rackspace_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#

require "chef/knife"
require "fog"
require "fog/rackspace"

class Chef
class Knife
Expand All @@ -30,7 +30,7 @@ def self.included(includer)
includer.class_eval do

deps do
require "fog"
require "fog/rackspace"
require "net/ssh/multi"
require "readline"
require "chef/json_compat"
Expand Down
2 changes: 1 addition & 1 deletion lib/chef/knife/rackspace_server_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class RackspaceServerCreate < Knife
include Chef::Knife::WinrmBase

deps do
require "fog"
require "fog/rackspace"
require "readline"
require "chef/json_compat"
require "chef/knife/bootstrap"
Expand Down

0 comments on commit 78d6666

Please sign in to comment.