hammer_cli_katello 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTY4ZjNhOTEyZWY4NGQ3NGY5NTU2ZGJmZjc1NzAzODkwODI5MzA4Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YzBjNGUxMTA4NWMyMzA5MWYwMTNhY2EzYjY4ZTBhNGE2ODhmNzhiZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWM0MDk4MDIxNTkzZDZjODYzYjMzYjBiMzM1NGI0NzM0NDYzZTczMTBhZjFk
|
10
|
+
ZTg1MjNmMWYzNGEwMmQ1ZjQxOGY5ZGFhNzMyZGQyNzRhZTliODg1ZDliYmM2
|
11
|
+
YzVkMTBjNTlkOWEzZDA3Y2U2ZTJiNGRiZmZiYzEzYjg3Yjc5ZGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yjc3NTljYWE0MWU1OTU5NTM1MWZiNzU5ZTQ3Yjk3ZGM4Yjk3NzA0NmM5Nzk4
|
14
|
+
YTM5OGMyN2QyMTVhYjU5OTE3MzhmNDhjY2Y2NWRkNTIxYzM2MTgzZjVjMjVi
|
15
|
+
MjcwN2RhMzVkYzYyNTM4ZDM4Mjg4M2EwYTkyMjIzMDQ1YjkxZWY=
|
@@ -90,6 +90,12 @@ module HammerCLIKatello
|
|
90
90
|
success_message _("Content host updated")
|
91
91
|
failure_message _("Could not update content host")
|
92
92
|
|
93
|
+
def request_params
|
94
|
+
params = super
|
95
|
+
params.delete('facts')
|
96
|
+
params
|
97
|
+
end
|
98
|
+
|
93
99
|
build_options :without => [:facts, :type, :installed_products]
|
94
100
|
end
|
95
101
|
|
@@ -152,6 +152,13 @@ module HammerCLIKatello
|
|
152
152
|
params.delete('update_systems')
|
153
153
|
end
|
154
154
|
|
155
|
+
add_content = {}
|
156
|
+
params['add_content'].each do |key, value|
|
157
|
+
add_content[key] = value if options.key?(HammerCLI.option_accessor_name(key))
|
158
|
+
end
|
159
|
+
|
160
|
+
params['add_content'] = add_content
|
161
|
+
|
155
162
|
params.delete('id')
|
156
163
|
params
|
157
164
|
end
|
@@ -103,7 +103,7 @@ module HammerCLIKatello
|
|
103
103
|
search_options = {}
|
104
104
|
|
105
105
|
search_options['content_view_id'] = content_view_id if content_view_id
|
106
|
-
search_options['environment_id'] = environment_id if environment_id
|
106
|
+
search_options['environment_id'] = environment_id if environment_id && content_view_id
|
107
107
|
search_options['version'] = version if version
|
108
108
|
search_options
|
109
109
|
end
|
@@ -122,6 +122,7 @@ module HammerCLIKatello
|
|
122
122
|
end
|
123
123
|
search_options
|
124
124
|
end
|
125
|
+
|
125
126
|
# alias_method_chain :create_search_options, :katello_api
|
126
127
|
alias_method :create_search_options_without_katello_api, :create_search_options
|
127
128
|
alias_method :create_search_options, :create_search_options_with_katello_api
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Price
|
@@ -23,7 +23,7 @@ authors:
|
|
23
23
|
autorequire:
|
24
24
|
bindir: bin
|
25
25
|
cert_chain: []
|
26
|
-
date: 2015-
|
26
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
27
27
|
dependencies:
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: hammer_cli_foreman
|