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.
- data/lib/vmc_knife/version.rb +1 -1
- data/lib/vmc_knife/vmc_knife.rb +2 -3
- metadata +1 -1
data/lib/vmc_knife/version.rb
CHANGED
data/lib/vmc_knife/vmc_knife.rb
CHANGED
@@ -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
|
-
|
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="
|
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)
|