foreman_virt_who_configure 0.5.0 → 0.5.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: 2659de29d0b5edec86a19012025b4330f155235dc95dd52e817761a221909d5d
4
- data.tar.gz: 575a79644dcb7a7b8521750a6b0b987c83891d56290b8abfb3aba6b3e1c31d3a
3
+ metadata.gz: ee0215d08a85e32061608ec7f2452a0d6df0cc73a322491582aa3704b43f81a0
4
+ data.tar.gz: 93df5caf56ec4158b525485a7f04656ef03a6a61b1b592c54c7c3397e09a488f
5
5
  SHA512:
6
- metadata.gz: fa0ab2122fd333de032b1f151fcbda5f03acc0285d38cd35cb3775fe3008965a7dc1ec0f36df186324985f6923d060d313f3c1e176f1e0ce8848f1daad07cc80
7
- data.tar.gz: 4d0c8bb70e05f307b1ab5aefe6c8689b4371d6932f0af2c77ffcb7e25fc0dcef0eee0424c22f0fb133ef1e45cd1c680018232277541119913f1d3a32e15ca2bd
6
+ metadata.gz: 49be70fdb7fa4fda78219dbc332754ef38628749eda69499fdfdb238bc1aa6b2c5be9fe2c791d9e11b86ba7b34ac4196c51db467d99b522357467098eba12ed0
7
+ data.tar.gz: e05cf7553259f2303652c9d4fe72c0ebb05ac975dd2b41b31dfebff88b640a31d26186293e160b6e5b9dd25a2bc1baacceb3393ec6d12eb5e10bc29f327817ff
@@ -99,7 +99,7 @@ if verify_minimal_version; then
99
99
  type=#{type}
100
100
  hypervisor_id=#{hypervisor_id}
101
101
  owner=#{owner}
102
- env=Library#{connection_details}
102
+ env=Library#{connection_details}#{filtering}
103
103
  rhsm_hostname=#{satellite_url}
104
104
  rhsm_username=#{service_user_username}
105
105
  rhsm_encrypted_password=$user_password
@@ -142,7 +142,7 @@ EOS
142
142
  else
143
143
  "\nserver=#{cr_server}
144
144
  username=#{cr_username}
145
- encrypted_password=$cr_password#{filtering}"
145
+ encrypted_password=$cr_password"
146
146
  end
147
147
  end
148
148
 
@@ -1,5 +1,6 @@
1
1
  <div class="blank-slate-pf">
2
2
  <div class="blank-slate-pf-icon">
3
+ <% title _("Virt-who Configurations") %>
3
4
  <%= icon_text("globe", "", :kind => "fa") %>
4
5
  </div>
5
6
  <h1><%= _('Configs') %></h1>
@@ -1,3 +1,3 @@
1
1
  module ForemanVirtWhoConfigure
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.5.1'.freeze
3
3
  end
@@ -2,23 +2,23 @@ FactoryBot.define do
2
2
  factory :virt_who_config, :class => ::ForemanVirtWhoConfigure::Config do
3
3
  sequence(:name) { |n| "config #{n}" }
4
4
  organization
5
- interval 120
6
- hypervisor_id 'hostname'
7
- hypervisor_type 'esx'
8
- hypervisor_server 'vmware.example.com'
9
- hypervisor_username 'root'
10
- hypervisor_password 'changeme'
11
- satellite_url 'foreman.example.com'
12
- listing_mode ForemanVirtWhoConfigure::Config::UNLIMITED
5
+ interval { 120 }
6
+ hypervisor_id { 'hostname' }
7
+ hypervisor_type { 'esx' }
8
+ hypervisor_server { 'vmware.example.com' }
9
+ hypervisor_username { 'root' }
10
+ hypervisor_password { 'changeme' }
11
+ satellite_url { 'foreman.example.com' }
12
+ listing_mode { ForemanVirtWhoConfigure::Config::UNLIMITED }
13
13
  end
14
14
 
15
15
  trait :out_of_date do
16
- last_report_at (1.minute.ago - 120.minutes).utc
17
- out_of_date_at (1.minute.ago).utc
16
+ last_report_at { (1.minute.ago - 120.minutes).utc }
17
+ out_of_date_at { (1.minute.ago).utc }
18
18
  end
19
19
 
20
20
  trait :ok do
21
- last_report_at (1.minute.ago).utc
22
- out_of_date_at (1.minute.ago + 120.minutes).utc
21
+ last_report_at { (1.minute.ago).utc }
22
+ out_of_date_at { (1.minute.ago + 120.minutes).utc }
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_virt_who_configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman virt-who-configure team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2020-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello