vmc_knife 0.0.47 → 0.0.48

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module VMC
2
2
  module KNIFE
3
3
  module Cli
4
4
  # This version number is used as the RubyGem release version.
5
- VERSION = '0.0.47'
5
+ VERSION = '0.0.48'
6
6
  end
7
7
  end
8
8
  end
@@ -174,8 +174,7 @@ module VMC
174
174
  # making the assumption we are on the same file system.
175
175
  # will use the paas APIs later.
176
176
  def log(folder,log_file_glob=nil)
177
- home = ENV['HOME'] || '/home/ubuntu'
178
- deployed_apps_folder="#{home}/cloudfoundry/deployed_apps"
177
+ deployed_apps_folder="/home/ubuntu/cloudfoundry/deployed_apps"
179
178
  log_file_glob ||= "logs/*"
180
179
  if File.exist?(deployed_apps_folder)
181
180
  folder_nb=0
@@ -193,7 +192,7 @@ module VMC
193
192
  # look for the most recent folder where we can find the stdout file.
194
193
  # fork to the shell with the 'less' command to display the contents of the file.
195
194
  def log_shell(shell_cmd=nil,log_file_glob=nil)
196
- deployed_apps_folder="#{ENV['HOME']}/cloudfoundry/deployed_apps"
195
+ deployed_apps_folder="/home/ubuntu/cloudfoundry/deployed_apps"
197
196
  shell_cmd ||= "less"
198
197
  log_file_glob ||= File.join("logs","stdout.log")
199
198
  if File.exist?(deployed_apps_folder)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmc_knife
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.47
4
+ version: 0.0.48
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: