knife-preflight 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/chef/knife/preflight.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
N2IwMTJkZmUzNzU1NmY1ZmU0YjRjMGUwMmZlNTNjMzE4MGYyODUwNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OGNmOTcyNjZjNTRmY2Y1NjIyZDgxYjgwNDkwOTQ3MTVjZmM3MjY1NQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTBhNzgyYWExZGU2ODI4NDFkY2VlOTk3M2I0YjU3OGEzYzJkOGE0YzZjYzYw
|
|
10
|
+
YWViZWU0ODg2ZGE4YjMyMDFjMmJhZmU4NjFiNDllNTFmNmY3MWNhY2FjZGJm
|
|
11
|
+
ZTA0MjQyYTE1MTA5YmM3NGJlYjhmMDVmYmJhZWRhZGEwY2QzZTI=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzRhMzVhZDJmMjQxN2M5NWU5MGU1NGI2NTM0ZDFmZWI4MDBhYTNlNWE5ZWQ0
|
|
14
|
+
NWZlNGU1OTIyYmU5NjE4NTBhMTU3NDZhYWM5MGYwMjkxM2RmMTY2NTY5NjA4
|
|
15
|
+
YTRjMmExZjNjYTdmYjU2Y2NhOGFlNWI5ODliODI4MjgxZGUwNDc=
|
data/lib/chef/knife/preflight.rb
CHANGED
|
@@ -80,7 +80,7 @@ module KnifePreflight
|
|
|
80
80
|
|
|
81
81
|
if !raw_query.include? "::"
|
|
82
82
|
if type == 'node'
|
|
83
|
-
search_query = "recipes
|
|
83
|
+
search_query = "recipes:#{escaped_query} OR recipes:#{escaped_query}\\:\\:default"
|
|
84
84
|
search_query += " OR " + search_query.gsub("recipes", "last_seen_recipes")
|
|
85
85
|
else
|
|
86
86
|
search_query = "run_list:recipe\\[#{escaped_query}\\] OR run_list:recipe\\[#{escaped_query}\\:\\:default\\]"
|
|
@@ -88,7 +88,7 @@ module KnifePreflight
|
|
|
88
88
|
ui.msg("Searching for #{type}s containing #{raw_query} OR #{raw_query}::default in their expanded run_list or added via include_recipe...\n")
|
|
89
89
|
else
|
|
90
90
|
if type == 'node'
|
|
91
|
-
search_query = "recipes
|
|
91
|
+
search_query = "recipes:#{escaped_query}"
|
|
92
92
|
search_query += " OR " + search_query.gsub("recipes", "last_seen_recipes")
|
|
93
93
|
else
|
|
94
94
|
search_query = "run_list:recipe\\[#{escaped_query}\\]"
|
|
@@ -137,4 +137,4 @@ module KnifePreflight
|
|
|
137
137
|
return result_count
|
|
138
138
|
end
|
|
139
139
|
end
|
|
140
|
-
end
|
|
140
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: knife-preflight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Cowie
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: chef
|
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
53
53
|
version: '0'
|
|
54
54
|
requirements: []
|
|
55
55
|
rubyforge_project: knife-preflight
|
|
56
|
-
rubygems_version: 2.
|
|
56
|
+
rubygems_version: 2.2.2
|
|
57
57
|
signing_key:
|
|
58
58
|
specification_version: 2
|
|
59
59
|
summary: Knife plugin for checking what your cookbook changes will affect
|