opsviewconfig 0.0.4 → 0.0.5
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/lib/opsviewconfig.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 416fc03ec57f8e94ef6abaf2e942fdb92f25dea2
|
|
4
|
+
data.tar.gz: 75942888679bbcaae60b2889717194f7718b84b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c59f12bc645f608954ff6d75cd32decc05b8ad9022f6e9b01623426bbc2a4d032b20df2ecb6ab35e6ad0ff5a235b38e06df9562bde947486520ee0c8507f0a63
|
|
7
|
+
data.tar.gz: a57d4cffc6c3d556202b80620d80f32227af6993c1964a757907fca696daa5d094bd329a8fbda9fc87c139f33f0bf6d8e9333427ce6b941ec423112baa0f2572
|
data/lib/opsviewconfig.rb
CHANGED
|
@@ -56,8 +56,9 @@ class Opsviewconfig
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
# Don't save if this is an EC2 host instance, those should be generated automatically and we don't need to version control them
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
if resourcetype == "host" && !resource["hosttemplates"].nil?
|
|
60
|
+
next if resource["hosttemplates"].find { |h| h['name'] == 'ec2instance'}
|
|
61
|
+
end
|
|
61
62
|
# Save
|
|
62
63
|
cleanexport << resource.sort_by_key(true)
|
|
63
64
|
end
|