Added parameters for postgresql

This commit is contained in:
Tobias Herre 2020-12-10 20:26:47 +01:00
parent 4bc4d68d5d
commit a320df4b1b
1 changed files with 7 additions and 0 deletions

View File

@ -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",