Added parameters for postgresql
This commit is contained in:
parent
4bc4d68d5d
commit
a320df4b1b
|
@ -14,6 +14,13 @@ class odoo::params{
|
||||||
|
|
||||||
case $::osfamily {
|
case $::osfamily {
|
||||||
'FreeBSD':{
|
'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 = [
|
$prepkg = [
|
||||||
"cyrus-sasl",
|
"cyrus-sasl",
|
||||||
"textproc/py-libxml2",
|
"textproc/py-libxml2",
|
||||||
|
|
Loading…
Reference in New Issue