knife-update 0.1.1 → 0.1.2
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 +2 -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
|
+
NDBmM2Y0MDhkMWZmNDI1NjdiNTc1NmI4ZmY3YTljMzIyNWM2MTNmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGM1N2RlN2Y5NzI0OWQ1M2RjZjMzYTFhMDQ0NWU2NjlkNTgyZWNiZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjYyNTM1NGIyZDI4ODE5ODliMTE2MGYwNzJjMDJmZmIyYWZhNzEyMmQ1NjMx
|
10
|
+
Njc1YTdjY2MxZDMwMTI3YTY2NWI2Mjc1YmY1ZjQ0MTMyMjE4MTlkYjY0ZGZh
|
11
|
+
YjMwMDdmMjU1OWNiMjY3YTE1MTQxNDIzMTkwY2U2ZWE4N2YyYzk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGJjZTMzNmZhMDZhMjM0NDRlOTc4MzMwNzJkYmU3MGYwM2FhNGFiMTI4YmJj
|
14
|
+
MTU1NzIyZmVkZGVkM2JlY2Y5MWYxYzlkZDY4ZWUwNDAxMmE4OTFiZDRkNmUy
|
15
|
+
ODM0MWE2N2YwMjhmN2M5ZDg3NGMxZWViMzQ3YmRlMzU3NzNjZDc=
|
@@ -81,7 +81,8 @@ class Chef
|
|
81
81
|
def run
|
82
82
|
list = node_list
|
83
83
|
compatible = recipes(only(list, target_version))
|
84
|
-
unknown = recipes(except(list, target_version))
|
84
|
+
unknown = recipes(except(list, target_version))
|
85
|
+
compatible.each { |recipe, _| unknown.delete(recipe.to_s) }
|
85
86
|
|
86
87
|
nodes = list.inject([]) do |memo, (version, nodes)|
|
87
88
|
if version != target_version
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef
|