1
0
Fork 0
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:
Wesley Beary 2009-10-14 10:22:59 -07:00
parent f554243137
commit 61b77b04fc

View file

@ -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