knife-update 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/chef/knife/update_run.rb +7 -1
- data/lib/knife-update/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzYwYjcyMTA3NmZhOTU1NDMzNTI4OTRhYzg2MmJlNWU3ZGIwMmM5MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTI3M2RmYjJhYTM3NzdkMjVkMzZiNDY3MmQ1NDNkNWFlNDc1N2MzNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDg4YjgzNzM4NmUyM2YzNzYxZDVmZWZlNjRiMGEzYmVmZWI2OGIyYWI2ZTlm
|
10
|
+
YjEwNjk1NzdjMDBkZmI0ZTI3NjA1N2IzMGU1MDE0ZjMzMTc0ZDQwZGFmZmQ0
|
11
|
+
MWM2OGY4OTdjMGZiYzRiMTQ0ZGVkM2QwODNlNzA5YTU5ZjgxY2M=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGZhMGRhYTdhZWZhNmEwMGIwM2RlNGRiNWJkMWEwZjk5MzNkOTdmNGIwMDJk
|
14
|
+
Y2RlM2UxMjhjNTdiMDkyNTU5NjEzOTU5NjM1MjdkNDIzZTY3ODYwODU4YWRm
|
15
|
+
NzczMzMxZTJjN2Y2YzA2YzU1OWJkODM2NWUwNjg2MjUzYzI2NjI=
|
@@ -76,6 +76,12 @@ class Chef
|
|
76
76
|
:description => "Only collect updateable nodes and display them",
|
77
77
|
:boolean => true
|
78
78
|
|
79
|
+
option :command,
|
80
|
+
:short => "-C COMMAND",
|
81
|
+
:long => "--command COMMAND",
|
82
|
+
:description => "The command to be executed on all hosts",
|
83
|
+
:default => "gem install chef -v %{version} --no-rdoc --no-ri"
|
84
|
+
|
79
85
|
include Chef::Knife::Update
|
80
86
|
|
81
87
|
def run
|
@@ -134,7 +140,7 @@ class Chef
|
|
134
140
|
end
|
135
141
|
|
136
142
|
def ssh_command(version)
|
137
|
-
command =
|
143
|
+
command = config[:command] % { :version => version }
|
138
144
|
|
139
145
|
if config[:use_sudo]
|
140
146
|
command = "sudo #{command}"
|
data/lib/knife-update/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|