mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
sample for .fog file
This commit is contained in:
parent
f554243137
commit
61b77b04fc
1 changed files with 15 additions and 0 deletions
15
Rakefile
15
Rakefile
|
@ -95,3 +95,18 @@ begin
|
||||||
rescue LoadError
|
rescue LoadError
|
||||||
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
namespace :fog do
|
||||||
|
|
||||||
|
desc 'Provide a sample yaml file for credentials'
|
||||||
|
task :yml do
|
||||||
|
puts('Copy the following sample to ~/.fog and fill in with your credentials as needed:')
|
||||||
|
print("\n")
|
||||||
|
print(":aws_access_key_id: INTENTIONALLY_LEFT_BLANK\n")
|
||||||
|
print(":aws_secret_access_key: INTENTIONALLY_LEFT_BLANK\n")
|
||||||
|
print(":rackspace_api_key: INTENTIONALLY_LEFT_BLANK\n")
|
||||||
|
print(":rackspace_username: INTENTIONALLY_LEFT_BLANK\n")
|
||||||
|
print("\n")
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in a new issue