manageiq-appliance_console 11.1.0 → 12.0.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f94162e131b8eb2d70d9da5b49de29eacc9fd37b90c0493ead9aa2031d6eaf4
|
|
4
|
+
data.tar.gz: 7eee9de22356d402a6a18f80a046ae26e5ec0ebf2fcd2f781368889c830ec5a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63f595a0a3ca4076b5b8237dce2660e99cbff095492e4a9ae6cd276f6b317aa16a797bb4581cf1a9f5d4ca36643944e6da34049810ffb722f1d10ae09fcccc34
|
|
7
|
+
data.tar.gz: e4920fef75cfeee8c6adb022c721cd0147e161fd9b5c6f8a841139dbc059adb59516794ddf30b0966ec0cfcabe9f0b8710ae0664b77e177eacc8e4af4d9fe42d
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [12.0.0] - 2026-05-07
|
|
8
|
+
### Added
|
|
9
|
+
- Add support for PostgreSQL 16 and repmgr16 [[#321](https://github.com/ManageIQ/manageiq-appliance_console/pull/321)]
|
|
10
|
+
- Add support for Enterprise Linux 10 [[#321](https://github.com/ManageIQ/manageiq-appliance_console/pull/321)]
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
- **BREAKING** Drop support for PostgreSQL 10 and repmgr10 [[#305](https://github.com/ManageIQ/manageiq-appliance_console/pull/305)]
|
|
14
|
+
|
|
7
15
|
## [11.1.0] - 2026-02-24
|
|
8
16
|
### Added
|
|
9
17
|
- Add krbPrincipalName to sssd.conf user attributes [[#298](https://github.com/ManageIQ/manageiq-appliance_console/pull/298)]
|
|
@@ -322,7 +330,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
322
330
|
|
|
323
331
|
## [1.0.0] - 2017-10-19
|
|
324
332
|
|
|
325
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-appliance_console/compare/
|
|
333
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v12.0.0...HEAD
|
|
334
|
+
[12.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v11.1.0...v12.0.0
|
|
326
335
|
[11.1.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v11.0.0...v11.1.0
|
|
327
336
|
[11.0.0]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v10.0.2...v11.0.0
|
|
328
337
|
[10.0.2]: https://github.com/ManageIQ/manageiq-appliance_console/compare/v10.0.1...v10.0.2
|
|
@@ -12,19 +12,27 @@ module ApplianceConsole
|
|
|
12
12
|
NETWORK_INTERFACE = 'eth0'.freeze
|
|
13
13
|
|
|
14
14
|
REPGMR_FILE_LOCATIONS = {
|
|
15
|
-
"repmgr10" => {
|
|
16
|
-
"config" => "/etc/repmgr/10/repmgr.conf",
|
|
17
|
-
"log" => "/var/log/repmgr/repmgrd.log"
|
|
18
|
-
},
|
|
19
15
|
"repmgr13" => {
|
|
20
16
|
"config" => "/etc/repmgr/13/repmgr.conf",
|
|
21
17
|
"log" => "/var/log/repmgr/repmgrd-13.log"
|
|
18
|
+
},
|
|
19
|
+
"repmgr16" => {
|
|
20
|
+
"config" => "/etc/repmgr/16/repmgr.conf",
|
|
21
|
+
"log" => "/var/log/repmgr/repmgrd-16.log"
|
|
22
22
|
}
|
|
23
23
|
}.freeze
|
|
24
24
|
|
|
25
25
|
attr_accessor :node_number, :database_name, :database_user,
|
|
26
26
|
:database_password, :primary_host
|
|
27
27
|
|
|
28
|
+
def pgsslcert
|
|
29
|
+
@pgsslcert ||= PostgresAdmin.data_directory.join("server.crt").freeze
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def pgsslkey
|
|
33
|
+
@pgsslkey ||= PostgresAdmin.data_directory.join("server.key").freeze
|
|
34
|
+
end
|
|
35
|
+
|
|
28
36
|
def network_interfaces
|
|
29
37
|
@network_interfaces ||= LinuxAdmin::NetworkInterface.list.reject(&:loopback?)
|
|
30
38
|
end
|
|
@@ -68,7 +76,7 @@ Replication Server Configuration
|
|
|
68
76
|
end
|
|
69
77
|
|
|
70
78
|
def self.repmgr_service_name
|
|
71
|
-
@repmgr_service_name ||= File.exist?(REPGMR_FILE_LOCATIONS["
|
|
79
|
+
@repmgr_service_name ||= File.exist?(REPGMR_FILE_LOCATIONS["repmgr16"]["config"]) ? "repmgr16" : "repmgr13"
|
|
72
80
|
end
|
|
73
81
|
|
|
74
82
|
delegate :repmgr_config, :repmgr_configured?, :repmgr_file_locations, :repmgr_log, :repmgr_service_name, :to => self
|
|
@@ -129,7 +137,13 @@ Replication Server Configuration
|
|
|
129
137
|
pid = fork do
|
|
130
138
|
Process::UID.change_privilege(Process::UID.from_name("postgres"))
|
|
131
139
|
begin
|
|
132
|
-
res = AwesomeSpawn.run!(cmd,
|
|
140
|
+
res = AwesomeSpawn.run!(cmd,
|
|
141
|
+
:params => params,
|
|
142
|
+
:env => {
|
|
143
|
+
"PGPASSWORD" => database_password,
|
|
144
|
+
"PGSSLCERT" => pgsslcert.to_s,
|
|
145
|
+
"PGSSLKEY" => pgsslkey.to_s
|
|
146
|
+
})
|
|
133
147
|
say(res.output)
|
|
134
148
|
rescue AwesomeSpawn::CommandResultError => e
|
|
135
149
|
say(e.result.output)
|
|
@@ -17,14 +17,15 @@ module ManageIQ
|
|
|
17
17
|
:messaging_yaml_sample_path, :messaging_yaml_path,
|
|
18
18
|
:ca_cert_path
|
|
19
19
|
|
|
20
|
-
BASE_DIR = "/
|
|
20
|
+
BASE_DIR = "/var/lib/kafka".freeze
|
|
21
|
+
BIN_DIR = "/opt/kafka/bin".freeze
|
|
21
22
|
LOGS_DIR = "#{BASE_DIR}/logs".freeze
|
|
22
|
-
CONFIG_DIR = "
|
|
23
|
-
SAMPLE_CONFIG_DIR = "
|
|
23
|
+
CONFIG_DIR = "/etc/kafka/config".freeze
|
|
24
|
+
SAMPLE_CONFIG_DIR = "/etc/kafka/config-sample".freeze
|
|
24
25
|
MIQ_CONFIG_DIR = ManageIQ::ApplianceConsole::RAILS_ROOT.join("config").freeze
|
|
25
26
|
|
|
26
27
|
def self.available?
|
|
27
|
-
File.exist?("#{
|
|
28
|
+
File.exist?("#{BIN_DIR}/kafka-run-class.sh")
|
|
28
29
|
end
|
|
29
30
|
|
|
30
31
|
def self.configured?
|
|
@@ -44,7 +44,7 @@ Gem::Specification.new do |spec|
|
|
|
44
44
|
spec.add_runtime_dependency "pg-logical_replication"
|
|
45
45
|
|
|
46
46
|
spec.add_development_dependency "bundler"
|
|
47
|
-
spec.add_development_dependency "manageiq-style"
|
|
47
|
+
spec.add_development_dependency "manageiq-style"
|
|
48
48
|
|
|
49
49
|
spec.add_development_dependency "rake"
|
|
50
50
|
spec.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manageiq-appliance_console
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 12.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ManageIQ Developers
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activerecord
|
|
@@ -280,14 +279,14 @@ dependencies:
|
|
|
280
279
|
requirements:
|
|
281
280
|
- - ">="
|
|
282
281
|
- !ruby/object:Gem::Version
|
|
283
|
-
version:
|
|
282
|
+
version: '0'
|
|
284
283
|
type: :development
|
|
285
284
|
prerelease: false
|
|
286
285
|
version_requirements: !ruby/object:Gem::Requirement
|
|
287
286
|
requirements:
|
|
288
287
|
- - ">="
|
|
289
288
|
- !ruby/object:Gem::Version
|
|
290
|
-
version:
|
|
289
|
+
version: '0'
|
|
291
290
|
- !ruby/object:Gem::Dependency
|
|
292
291
|
name: rake
|
|
293
292
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -345,7 +344,6 @@ dependencies:
|
|
|
345
344
|
- !ruby/object:Gem::Version
|
|
346
345
|
version: 0.21.2
|
|
347
346
|
description: ManageIQ Appliance Console
|
|
348
|
-
email:
|
|
349
347
|
executables:
|
|
350
348
|
- appliance_console
|
|
351
349
|
- appliance_console_cli
|
|
@@ -413,7 +411,6 @@ homepage: https://github.com/ManageIQ/manageiq-appliance_console
|
|
|
413
411
|
licenses:
|
|
414
412
|
- Apache-2.0
|
|
415
413
|
metadata: {}
|
|
416
|
-
post_install_message:
|
|
417
414
|
rdoc_options: []
|
|
418
415
|
require_paths:
|
|
419
416
|
- lib
|
|
@@ -428,8 +425,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
428
425
|
- !ruby/object:Gem::Version
|
|
429
426
|
version: '0'
|
|
430
427
|
requirements: []
|
|
431
|
-
rubygems_version:
|
|
432
|
-
signing_key:
|
|
428
|
+
rubygems_version: 4.0.7
|
|
433
429
|
specification_version: 4
|
|
434
430
|
summary: ManageIQ Appliance Console
|
|
435
431
|
test_files: []
|