Module: AwsOneClickStaging
- Defined in:
- lib/aws_one_click_staging.rb,
lib/aws_one_click_staging/version.rb,
lib/aws_one_click_staging/aws_warrior.rb
Defined Under Namespace
Classes: AwsWarrior
Constant Summary collapse
- VERSION =
"0.0.4"
Class Method Summary collapse
Class Method Details
.check ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/aws_one_click_staging.rb', line 20 def self.check warrior = AwsWarrior.new # this makes a config file if needed puts "This command *would* test that you have the needed " puts "permissions on the buckets and rds instances you named " puts "in your config file... but alas, you're reading the " puts "outputs of a stubbed method..." end |
.stage ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/aws_one_click_staging.rb', line 9 def self.stage warrior = AwsWarrior.new return if warrior.nil? puts "cloning database from amazon... this takes a while..." warrior.clone_rds puts "cloning s3 bucket from amazon... this takes forever..." warrior.clone_s3_bucket puts "operations completed successfully!" end |