Commit cc4f02a6 by source_reader

increased postgresql and timescaledb versions

parent e4633fdb
class joule {
require python_venvs
require timescaledb
contain joule::install
contain joule::config
contain joule::service
......
......@@ -8,7 +8,6 @@
class timescaledb {
if $facts['platform'] == 'ubuntu' {
apt::source { 'postgresql':
location => 'http://apt.postgresql.org/pub/repos/apt/',
release => "${lsbdistcodename}-pgdg",
......@@ -18,14 +17,22 @@ class timescaledb {
'server' => 'hkps://keyserver.ubuntu.com:443'
}
}
apt::ppa {'ppa:timescale/timescaledb-ppa': }
apt::source {'timescaledb':
location => 'https://packagecloud.io/timescale/timescaledb/ubuntu/',
release => "${lsbdistcodename}",
repos => 'main',
key => {
'id' => '1005FB68604CE9B8F6879CF759F18EDF47F24417',
'server' => 'hkps://keyserver.ubuntu.com:443'
}
}
package {'timescaledb-postgresql-12':
package {'timescaledb-2-oss-2.5.1-postgresql-13':
ensure => 'present',
require => [Apt::Source['postgresql'], Apt::Ppa['ppa:timescale/timescaledb-ppa']]
require => [Apt::Source['postgresql'], Apt::Source['timescaledb']]
}
class{ 'postgresql::globals':
version => '12',
version => '13',
}
} else { # on the pi use version 13
class{ 'postgresql::globals':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment