fix deprecation and copy/paste error

This commit is contained in:
geemus 2011-01-14 10:51:41 -08:00
parent 5d9f65ed90
commit a93d23768e
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ class Bluebox < Fog::Bin
warning = "[yellow][WARN] Bluebox[:blocks] is deprecated, use Bluebox[:compute] instead[/]"
warning << " [light_black](" << location << ")[/] "
Formatador.display_line(warning)
Fog::Compute.new(:provider => 'Brightbox')
Fog::Compute.new(:provider => 'Bluebox')
when :compute
Fog::Compute.new(:provider => 'Brightbox')
Fog::Compute.new(:provider => 'Bluebox')
else
raise ArgumentError, "Unrecognized service: #{service}"
end

View File

@ -47,7 +47,7 @@ private
<<-YML
Missing Credentials
To run as '#{credential}', add the following to your resource config file: #{config_path}
To run as '#{credential}', add the following to your resource config file: #{credentials_path}
An alternate file may be used by placing its path in the FOG_RC environment variable
#######################################################