From a320df4b1b531341de1d84dc390a0eece4686c56 Mon Sep 17 00:00:00 2001 From: Tobias Herre Date: Thu, 10 Dec 2020 20:26:47 +0100 Subject: [PATCH] Added parameters for postgresql --- wmde-odoo/manifests/params.pp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wmde-odoo/manifests/params.pp b/wmde-odoo/manifests/params.pp index 0f88963..369cf72 100644 --- a/wmde-odoo/manifests/params.pp +++ b/wmde-odoo/manifests/params.pp @@ -14,6 +14,13 @@ class odoo::params{ case $::osfamily { 'FreeBSD':{ + $postgrespkgs = "postgresql96-server" + $postgresuser = "postgres" + $postgresdatadir = "/var/db/postgres/data96" + $postgresinitcmd = "/usr/local/bin/initdb -D $postgresdatadir" + $postgresusercreate = "/usr/local/bin/createuser -S odoo" + $postgresuserexists = "/usr/local/bin/psql -t -c '\du' | cut -d \| -f 1 | grep -qw odoo" + $prepkg = [ "cyrus-sasl", "textproc/py-libxml2",