ztk 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/lib/ztk/ssh/bootstrap.rb +5 -1
- data/lib/ztk/version.rb +1 -1
- metadata +4 -4
data/Gemfile
CHANGED
data/lib/ztk/ssh/bootstrap.rb
CHANGED
@@ -26,7 +26,9 @@ module ZTK
|
|
26
26
|
def bootstrap(content, options={})
|
27
27
|
options = {
|
28
28
|
:silence => true,
|
29
|
-
:use_sudo => true
|
29
|
+
:use_sudo => true,
|
30
|
+
:set_x => true,
|
31
|
+
:set_e => false
|
30
32
|
}.merge(options)
|
31
33
|
|
32
34
|
bootstrap_tempfile = Tempfile.new("bootstrap")
|
@@ -41,6 +43,8 @@ module ZTK
|
|
41
43
|
command = Array.new
|
42
44
|
command << %(sudo) if (options[:use_sudo] == true)
|
43
45
|
command << %(/bin/bash)
|
46
|
+
command << %(-x) if (options[:set_x] == true)
|
47
|
+
command << %(-e) if (options[:set_e] == true)
|
44
48
|
command << remote_tempfile
|
45
49
|
command = command.join(' ')
|
46
50
|
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
275
|
version: '0'
|
276
276
|
segments:
|
277
277
|
- 0
|
278
|
-
hash:
|
278
|
+
hash: -4609495191496685449
|
279
279
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
280
|
none: false
|
281
281
|
requirements:
|
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
284
284
|
version: '0'
|
285
285
|
segments:
|
286
286
|
- 0
|
287
|
-
hash:
|
287
|
+
hash: -4609495191496685449
|
288
288
|
requirements: []
|
289
289
|
rubyforge_project:
|
290
290
|
rubygems_version: 1.8.25
|