foreman_maintain 0.2.11 → 0.2.12
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 +4 -4
- data/definitions/features/hammer.rb +1 -1
- data/definitions/features/service.rb +6 -2
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a056ed9a0fd20472827ea8a3ea46fae57e7b2a45
|
4
|
+
data.tar.gz: 3de797e34bcb2f6cf5e085bb2321bcca1834ebf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4768ea1e7771072ff64b7e990bd77928d66d97d42011bf3662d902c9719ad541bc8c00d34f108a8cb6afee16ac164eedc6dc2970db59cf50312066cc5fe4a98a
|
7
|
+
data.tar.gz: 21d87fab7501162c4965d6a83518c9e2a65e00826c3bdf8492d52b7e55990fcbb47445e472301e59ac3dd4b0c9ae8779bdfcb940e2b774f02f4f3377263fd49e
|
@@ -212,6 +212,6 @@ class Features::Hammer < ForemanMaintain::Feature
|
|
212
212
|
end
|
213
213
|
|
214
214
|
def _check_connection
|
215
|
-
`#{command_base}
|
215
|
+
`#{command_base} user list --per-page 1 2>&1` && $CHILD_STATUS.exitstatus == 0
|
216
216
|
end
|
217
217
|
end
|
@@ -150,8 +150,12 @@ class Features::Service < ForemanMaintain::Feature
|
|
150
150
|
|
151
151
|
def katello_service_filters(options)
|
152
152
|
filters = ''
|
153
|
-
|
154
|
-
|
153
|
+
if options[:exclude] && options[:exclude].any?
|
154
|
+
filters += "--exclude #{options[:exclude].join(',')}"
|
155
|
+
end
|
156
|
+
if options[:only] && options[:only].any?
|
157
|
+
filters += "--only #{options[:only].join(',')}"
|
158
|
+
end
|
155
159
|
filters
|
156
160
|
end
|
157
161
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_maintain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|