File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
Original file line number Diff line number Diff line change 1+ ---
2+ # As of v10.6.1, puppetlabs/postgresql does not have EL10 support/data
3+ openvoxdb::manage_package_repo : false
4+ openvoxdb::postgres_version : ' 16'
Original file line number Diff line number Diff line change 1+ ---
2+ # As of v10.6.1, puppetlabs/postgresql does not have EL10 support/data
3+ openvoxdb::manage_package_repo : false
4+ openvoxdb::postgres_version : ' 16'
Original file line number Diff line number Diff line change 1+ ---
2+ # As of v10.6.1, puppetlabs/postgresql does not have EL10 support/data
3+ openvoxdb::manage_package_repo : false
4+ openvoxdb::postgres_version : ' 16'
Original file line number Diff line number Diff line change 1+ ---
2+ # As of v10.6.1, puppetlabs/postgresql does not have EL10 support/data
3+ openvoxdb::manage_package_repo : false
4+ openvoxdb::postgres_version : ' 16'
Original file line number Diff line number Diff line change 1+ ---
2+ # As of v10.6.1, puppetlabs/postgresql does not have EL10 support/data
3+ openvoxdb::manage_package_repo : false
4+ openvoxdb::postgres_version : ' 16'
Original file line number Diff line number Diff line change 1+ ---
2+ version : 5
3+
4+ hierarchy :
5+ - name : " OS version"
6+ path : " os/%{facts.os.family}/%{facts.os.name}/%{facts.os.release.major}.yaml"
7+ - name : " OS variant"
8+ path : " os/%{facts.os.family}/%{facts.os.name}.yaml"
9+ - name : " OS family"
10+ path : " os/%{facts.os.family}.yaml"
11+ - name : " common"
12+ path : " common.yaml"
Original file line number Diff line number Diff line change 9898 $port = scanf($database_port , ' %i' )[0]
9999
100100 if $manage_server {
101- class { 'postgresql::globals' :
102- manage_package_repo => $manage_package_repo ,
103- version => $postgres_version ,
101+ # Workaround for EL10 support
102+ if $facts [' os' ][' family' ] == ' RedHat' and $facts [' os' ][' release' ][' major' ] == ' 10' {
103+ class { 'postgresql::globals' :
104+ manage_package_repo => $manage_package_repo ,
105+ manage_dnf_module => false ,
106+ version => $postgres_version ,
107+ datadir => ' /var/lib/pgsql/data' ,
108+ confdir => ' /var/lib/pgsql/data' ,
109+ service_name => ' postgresql' ,
110+ }
111+ } else {
112+ class { 'postgresql::globals' :
113+ manage_package_repo => $manage_package_repo ,
114+ version => $postgres_version ,
115+ }
104116 }
117+
105118 # get the pg server up and running
106119 class { 'postgresql::server' :
107120 ip_mask_allow_all_users => ' 0.0.0.0/0' ,
Original file line number Diff line number Diff line change 3030 "operatingsystem" : " AlmaLinux" ,
3131 "operatingsystemrelease" : [
3232 " 8" ,
33- " 9"
33+ " 9" ,
34+ " 10"
3435 ]
3536 },
3637 {
3738 "operatingsystem" : " CentOS" ,
3839 "operatingsystemrelease" : [
39- " 9"
40+ " 9" ,
41+ " 10"
4042 ]
4143 },
4244 {
5153 "operatingsystem" : " OracleLinux" ,
5254 "operatingsystemrelease" : [
5355 " 8" ,
54- " 9"
56+ " 9" ,
57+ " 10"
5558 ]
5659 },
5760 {
5861 "operatingsystem" : " RedHat" ,
5962 "operatingsystemrelease" : [
6063 " 8" ,
61- " 9"
64+ " 9" ,
65+ " 10"
6266 ]
6367 },
6468 {
6569 "operatingsystem" : " Rocky" ,
6670 "operatingsystemrelease" : [
6771 " 8" ,
68- " 9"
72+ " 9" ,
73+ " 10"
6974 ]
7075 },
7176 {
You can’t perform that action at this time.
0 commit comments