Commit 64f2395c by source_reader

conditional postgresql version based on platform

parent cce6d0c9
Showing with 7 additions and 4 deletions
......@@ -24,11 +24,14 @@ class timescaledb {
ensure => 'present',
require => [Apt::Source['postgresql'], Apt::Ppa['ppa:timescale/timescaledb-ppa']]
}
class{ 'postgresql::globals':
version => '12',
}
} else { # on the pi use version 11
class{ 'postgresql::globals':
version => '11',
}
}
# timescaledb is compiled manually on the pi
class{ 'postgresql::globals':
version => '12',
}
class{ 'postgresql::server':
}
postgresql::server::config_entry { 'shared_preload_libraries':
......
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