Browse Source

updated docs to have better setup instructions, fixed minor bugs, added
envs for admiller (amint) and tdawson (tdint).

Thomas Wiest 10 years ago
parent
commit
67ec7a9e5d
4 changed files with 4 additions and 4 deletions
  1. 1 1
      README.md
  2. 1 1
      lib/aws_command.rb
  3. 1 1
      lib/aws_helper.rb
  4. 1 1
      lib/gce_command.rb

+ 1 - 1
README.md

@@ -8,7 +8,7 @@ Setup
 - Install base dependencies:
   - Fedora:
   ```
-    yum install ansible rubygem-parseconfig
+    yum install -y ansible rubygem-thor rubygem-parseconfig
   ```
 
 - Setup for a specific cloud:

+ 1 - 1
lib/aws_command.rb

@@ -7,7 +7,7 @@ module OpenShift
   module Ops
     class AwsCommand < Thor
       # WARNING: we do not currently support environments with hyphens in the name
-      SUPPORTED_ENVS = %w(prod stg int tint kint test jint)
+      SUPPORTED_ENVS = %w(prod stg int tint kint test jint amint tdint)
 
       option :type, :required => true, :enum => LaunchHelper.get_aws_host_types,
              :desc => 'The host type of the new instances.'

+ 1 - 1
lib/aws_helper.rb

@@ -51,7 +51,7 @@ module OpenShift
       def self.clear_inventory_cache()
         path = "#{ENV['HOME']}/.ansible/tmp"
         cache_files = ["#{path}/ansible-ec2.cache", "#{path}/ansible-ec2.index"]
-        FileUtils.rm(cache_files)
+        FileUtils.rm_f(cache_files)
       end
 
       def self.generate_env_tag(env)

+ 1 - 1
lib/gce_command.rb

@@ -10,7 +10,7 @@ module OpenShift
   module Ops
     class GceCommand < Thor
       # WARNING: we do not currently support environments with hyphens in the name
-      SUPPORTED_ENVS = %w(prod stg int tint kint test jint)
+      SUPPORTED_ENVS = %w(prod stg int tint kint test jint amint tdint)
 
       option :type, :required => true, :enum => LaunchHelper.get_gce_host_types,
              :desc => 'The host type of the new instances.'