Skip to content

Commit

Permalink
updated docs to have better setup instructions, fixed minor bugs, added
Browse files Browse the repository at this point in the history
envs for admiller (amint) and tdawson (tdint).
  • Loading branch information
Thomas Wiest committed Oct 31, 2014
1 parent cb316a8 commit 67ec7a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def self.check_creds()
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)
Expand Down
2 changes: 1 addition & 1 deletion lib/gce_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down

0 comments on commit 67ec7a9

Please sign in to comment.