Skip to content
Snippets Groups Projects
Verified Commit 76cc9939 authored by Joakim Olovsson's avatar Joakim Olovsson
Browse files

Install PostGIS

parent 63e87131
No related branches found
No related tags found
No related merge requests found
Pipeline #85694 passed
...@@ -7,9 +7,23 @@ class ai4ca ( ...@@ -7,9 +7,23 @@ class ai4ca (
include nginx include nginx
include liurepo::postgres include liurepo::postgres
yumrepo { 'pgdg-common':
name => 'pgdg-common',
baseurl => 'https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever-$basearch',
enabled => 1,
gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG',
gpgcheck => 1,
require => Class['liurepo::postgres'],
}
package { 'postgresql':
ensure => disabled,
provider => 'dnfmodule',
}
package { package {
[ [
'postgresql-server', 'postgresql11-server',
'postgis31_11', 'postgis31_11',
'python3', 'python3',
]: ]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment