manageiq-appliance_console 7.2.0 → 7.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/bin/appliance_console +1 -1
- data/bin/appliance_console_cli +1 -1
- data/lib/manageiq/appliance_console/database_replication.rb +2 -2
- data/lib/manageiq/appliance_console/principal.rb +5 -3
- data/lib/manageiq/appliance_console/version.rb +1 -1
- metadata +4 -4
- /data/lib/{manageiq-appliance_console.rb → manageiq/appliance_console.rb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 021c433c615f94bacc4ff3451b4ba8a1b4ec06314a6b904878af06955045bd01
|
4
|
+
data.tar.gz: 6b9645b97157b890b7fa9070b9ce92cb144c925b3546fecf244dd5b67fcf475c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e44783d9a5c85c2fc9773bd8c262cd726131a622e84e96e5d4e77b88b20512bec97828238be1ac58ed2872809b5af2d90cb25119344fc6df8f962911ad81442
|
7
|
+
data.tar.gz: 3d8c40bb89caa6e6aee9b5703f8d1982f895117aba2b0fa5d09bf29a89f20fd270e1c220da48573c9acb8a2b6a4078b40bbb8811045ee428ddfeb650965a11db
|
data/Gemfile
CHANGED
data/bin/appliance_console
CHANGED
data/bin/appliance_console_cli
CHANGED
@@ -10,12 +10,14 @@ module ApplianceConsole
|
|
10
10
|
attr_accessor :service
|
11
11
|
# kerberos principal name
|
12
12
|
attr_accessor :name
|
13
|
+
attr_accessor :service_principal
|
13
14
|
|
14
15
|
def initialize(options = {})
|
15
16
|
options.each { |n, v| public_send("#{n}=", v) }
|
16
17
|
@ca_name ||= "ipa"
|
17
18
|
@realm = @realm.upcase if @realm
|
18
|
-
@
|
19
|
+
@service_principal ||= "#{service}/#{hostname}"
|
20
|
+
@name ||= "#{service_principal}@#{realm}"
|
19
21
|
end
|
20
22
|
|
21
23
|
def register
|
@@ -33,13 +35,13 @@ module ApplianceConsole
|
|
33
35
|
private
|
34
36
|
|
35
37
|
def exist?
|
36
|
-
AwesomeSpawn.run("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-find", "--principal",
|
38
|
+
AwesomeSpawn.run("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-find", "--principal", service_principal]).success?
|
37
39
|
end
|
38
40
|
|
39
41
|
def request
|
40
42
|
# using --force because these services tend not to be in dns
|
41
43
|
# this is like VERIFY_NONE
|
42
|
-
AwesomeSpawn.run!("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-add", "--force",
|
44
|
+
AwesomeSpawn.run!("/usr/bin/ipa", :params => ["-e", "skip_version_check=1", "service-add", "--force", service_principal])
|
43
45
|
end
|
44
46
|
end
|
45
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-appliance_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.2.
|
4
|
+
version: 7.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -352,7 +352,7 @@ files:
|
|
352
352
|
- Rakefile
|
353
353
|
- bin/appliance_console
|
354
354
|
- bin/appliance_console_cli
|
355
|
-
- lib/manageiq
|
355
|
+
- lib/manageiq/appliance_console.rb
|
356
356
|
- lib/manageiq/appliance_console/auth_utilities.rb
|
357
357
|
- lib/manageiq/appliance_console/certificate.rb
|
358
358
|
- lib/manageiq/appliance_console/certificate_authority.rb
|
@@ -410,7 +410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
410
410
|
- !ruby/object:Gem::Version
|
411
411
|
version: '0'
|
412
412
|
requirements: []
|
413
|
-
rubygems_version: 3.
|
413
|
+
rubygems_version: 3.2.33
|
414
414
|
signing_key:
|
415
415
|
specification_version: 4
|
416
416
|
summary: ManageIQ Appliance Console
|
File without changes
|