foreman_salt 10.3.0 → 10.3.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac88c976fbe0257ffcbdc2b960359a59948fe4035345b04adf81d9ba3d2e2cc1
|
4
|
+
data.tar.gz: '086fbe02ad064f3070d62f388e6a10ed3cbb5e6f6b7efc1b42b93e69f8a02129'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbb3d6bf6e6e8e9ad63c4933098be1937d41b16b6a34b41bc9c33507694a214c8b825f9c7cbf397801fe36acaa24a0756de948ef825b5c338d57cb0b4525982b
|
7
|
+
data.tar.gz: dd9ee2e2ef2ef0aa08a460d298f97bcc9e76ac477a088e0ab9967e9797fbc982b77b4e8d8073a2cfd519919c4c26a20f355ccd09484640d37ae99f93a7479b3b
|
data/lib/foreman_salt/version.rb
CHANGED
@@ -47,5 +47,13 @@ module ForemanSalt
|
|
47
47
|
assert_equal 'file_|-/etc/motd_|-/etc/motd_|-managed', report.logs.first.source.value
|
48
48
|
assert_equal status['pending'], 1
|
49
49
|
end
|
50
|
+
|
51
|
+
test 'import returns Array of reports including host and its name' do
|
52
|
+
reports = ForemanSalt::ReportImporter.import(@report)
|
53
|
+
assert_kind_of Array, reports
|
54
|
+
first = reports.first
|
55
|
+
assert_equal 'Salt', first.origin
|
56
|
+
assert_equal @host, first.host.name
|
57
|
+
end
|
50
58
|
end
|
51
59
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_salt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.3.
|
4
|
+
version: 10.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Benjamin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|