foreman_openscap 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bb650d43ac1e63a3a59875b4f699aaa85c3f147
|
4
|
+
data.tar.gz: 1df85b65c444c8374458776bd3bd608bf2cda0d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5efb6c2e817057e687acf1ee59e33f3ec8ec2cd6efe5665251d985af370d6b1d399284cc9c08fcff534b5635e42664b20e80f8abca2d44ddcc574e178c967abd
|
7
|
+
data.tar.gz: 369139267348ea91d46c7dbd0f6950a40f68474109dee88e0366f9dbc0e874697e37c862e0d09050c850ca849942c1eb378c102b64928770fd558c0fde0dd74f
|
@@ -23,6 +23,7 @@ module ForemanOpenscap
|
|
23
23
|
lookup_keys = client_item.public_send(config.override_method_name)
|
24
24
|
server_key = lookup_keys.find { |param| param.key == config.server_param }
|
25
25
|
port_key = lookup_keys.find { |param| param.key == config.port_param }
|
26
|
+
return if server_key.nil? || port_key.nil?
|
26
27
|
pairs = scap_client_lookup_values_for([server_key, port_key], model_match)
|
27
28
|
if openscap_proxy_id
|
28
29
|
mapping = { config.server_param => openscap_proxy.hostname, config.port_param => openscap_proxy.port }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_openscap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- slukasik@redhat.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|