summaryrefslogtreecommitdiffstats
path: root/lib/aws_helper.rb
diff options
context:
space:
mode:
authorThomas Wiest <twiest@gmail.com>2014-10-31 17:28:10 -0400
committerThomas Wiest <twiest@gmail.com>2014-10-31 17:28:10 -0400
commit72a3a263733cc41534f6b3d6fd671680dcaebbcb (patch)
tree400ff81603320fb5911c31d938b7846f27fe781e /lib/aws_helper.rb
parentcb316a8e6527a5a33e6c7ea686b21c7992839bab (diff)
parent67ec7a9e5d72fb121de26488b370491b95b6c919 (diff)
downloadopenshift-72a3a263733cc41534f6b3d6fd671680dcaebbcb.tar.gz
openshift-72a3a263733cc41534f6b3d6fd671680dcaebbcb.tar.bz2
openshift-72a3a263733cc41534f6b3d6fd671680dcaebbcb.tar.xz
openshift-72a3a263733cc41534f6b3d6fd671680dcaebbcb.zip
Merge pull request #24 from twiest/pr
updated docs to have better setup instructions, fixed minor bugs, added envs for admiller (amint) and tdawson (tdint).
Diffstat (limited to 'lib/aws_helper.rb')
-rw-r--r--lib/aws_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/aws_helper.rb b/lib/aws_helper.rb
index 8af39c834..2e90ba148 100644
--- a/lib/aws_helper.rb
+++ b/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)