Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cc4f02a6
authored
Jan 23, 2022
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
increased postgresql and timescaledb versions
parent
e4633fdb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
modules/joule/manifests/init.pp
modules/timescaledb/manifests/init.pp
modules/joule/manifests/init.pp
View file @
cc4f02a6
class
joule
{
require
python_venvs
require
timescaledb
contain
joule::install
contain
joule::config
contain
joule::service
...
...
modules/timescaledb/manifests/init.pp
View file @
cc4f02a6
...
...
@@ -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
=>
'1
2
'
,
version
=>
'1
3
'
,
}
}
else
{
# on the pi use version 13
class
{
'postgresql::globals'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment