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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0215d08a85e32061608ec7f2452a0d6df0cc73a322491582aa3704b43f81a0
|
4
|
+
data.tar.gz: 93df5caf56ec4158b525485a7f04656ef03a6a61b1b592c54c7c3397e09a488f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
145
|
+
encrypted_password=$cr_password"
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
@@ -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.
|
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:
|
11
|
+
date: 2020-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|