foreman_maintain 1.12.0 → 1.12.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfa2280e285e63ea4e7b6269dc6761598c17034fc9febfde0aca731b19a684c3
4
- data.tar.gz: b83257b1cefd0ed6e6ad12205442b1817a2b2395b315b08f59a34c8b09833517
3
+ metadata.gz: c68595e8b757aec62c30d2aca14100da46392a4a892d25ed080f6ad57f4a237d
4
+ data.tar.gz: 5ad55189dadfd2791e6c40b0ed4248749dab26b45356508191d2b4517497875f
5
5
  SHA512:
6
- metadata.gz: da581d87a81c7b38ab139245323e2ad3f9958fff5094c27b00ef28ff7e519741f18bb909388c660208ce2531ddc14bb39c7873deeacc1502d11185417f4bb321
7
- data.tar.gz: 143cd40662be08087e1da5f2cb29c40dbe24bbecd19ea292c6c34394b218606aeb024ddd2757d7fbbbb0edfc5d1220b92dcde0596bd011be6e8ec2cc47274a3c
6
+ metadata.gz: a4c03cd903549a848cc1b8418eefc643a045df59e6db12b2890347280ec9854f2c6761e54cd9c2410adc81db93c563eb29a034211b5deab8b30f5f88d7386048
7
+ data.tar.gz: cc197601d09d86ecd99a56ab13add58ad211e49908b619c4224ecf9c7d4b57903b73ff36928b99110b9876ba72cb468c1c15bf184661de2f772ea1a33a69021d
@@ -39,7 +39,6 @@ class Features::Iop < ForemanMaintain::Feature
39
39
  system_service('iop-service-vuln-listener', 20),
40
40
  system_service('iop-service-vuln-manager', 20),
41
41
  system_service('iop-service-vuln-taskomatic', 20),
42
- system_service('iop-service-vuln-vmaas-sync', 20),
43
42
  ]
44
43
  end
45
44
  # rubocop:enable Metrics/MethodLength
@@ -24,7 +24,7 @@ class Features::IopAdvisorDatabase < ForemanMaintain::Feature
24
24
  private
25
25
 
26
26
  def load_configuration
27
- podman_command = "podman exec iop-service-advisor-api bash -c 'env |grep DB_'"
27
+ podman_command = "podman exec iop-service-advisor-backend-api bash -c 'env |grep DB_'"
28
28
  podman_result = execute!(podman_command, merge_stderr: false).lines.map do |l|
29
29
  l.strip.split('=')
30
30
  end.to_h
@@ -20,8 +20,9 @@ module ForemanMaintain
20
20
  end
21
21
  end
22
22
 
23
- option '--output', 'FILE', 'Output the generate report into FILE'
24
23
  subcommand 'generate', 'Generates the usage reports' do
24
+ option '--output', 'FILE', 'Output the generate report into FILE'
25
+
25
26
  def execute
26
27
  report_data = generate_report
27
28
  yaml = report_data.to_yaml
@@ -31,11 +32,12 @@ module ForemanMaintain
31
32
  end
32
33
  end
33
34
 
34
- option '--input', 'FILE', 'Input the report from FILE'
35
- option '--output', 'FILE', 'Output the condense report into FILE'
36
- option '--max-age', 'HOURS', 'Max age of the report in hours'
37
35
  subcommand 'condense',
38
36
  'Generate a JSON formatted report with condensed data from the original report.' do
37
+ option '--input', 'FILE', 'Input the report from FILE'
38
+ option '--output', 'FILE', 'Output the condense report into FILE'
39
+ option '--max-age', 'HOURS', 'Max age of the report in hours'
40
+
39
41
  def execute
40
42
  data = if fresh_enough?(@input, @max_age)
41
43
  YAML.load_file(@input)
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '1.12.0'.freeze
2
+ VERSION = '1.12.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_maintain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas