@@ -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:
@@ -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.'
@@ -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)
@@ -10,7 +10,7 @@ module OpenShift
class GceCommand < Thor
option :type, :required => true, :enum => LaunchHelper.get_gce_host_types,