knife-node-context-exec 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/knife-node-context-exec/runner.rb +1 -0
- data/lib/knife-node-context-exec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68c649040418d58e9c84761235faa425edf10ce
|
4
|
+
data.tar.gz: 6f9d73cf4635ed9b7d20c40020fc634ec0b29281
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e935421aa778baa75129701427877c19cd68ba6f5de323f8d28e3284ee6eb3237af1f4939fe0e9f0377f9aed258580199f3ddb75259e49239001a7815d0216d3
|
7
|
+
data.tar.gz: 87abb47c4351cbd961f697e1b33405c221fcc79742fcac7291fece73add5c455793053267c06a446cb8912bdbcc01027861a162e1f294ffddbae405c4e765731
|
@@ -24,6 +24,7 @@ module KnifeNodeContextExec
|
|
24
24
|
full_script_filename =
|
25
25
|
File.join(script_directory, script_filename).gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR)
|
26
26
|
File.open(full_script_filename, 'w') { |file| file.puts(script) }
|
27
|
+
yield(">>>> Script filename: #{full_script_filename} <<<<")
|
27
28
|
cooked_command = command.gsub('%script%', full_script_filename)
|
28
29
|
@output = []
|
29
30
|
yield(">>>> Command: #{cooked_command} <<<<")
|