use wmde8.0 branch from srcsrv.wikimedia.de

This commit is contained in:
Tobias Herre 2020-12-04 09:09:44 +01:00
parent ebe0f0ebbe
commit 52cb845936
2 changed files with 7 additions and 4 deletions

View File

@ -46,7 +46,10 @@
class odoo(
$version = "8.0"
$version = "wmde8.0",
$source = 'https://srcsrv.wikimedia.de/WMDE/odoo.git'
# $source = 'https://www.github.com/odoo/odoo.git'
)
inherits odoo::params {
@ -84,7 +87,7 @@ inherits odoo::params {
vcsrepo { "$odoo_systemdir":
ensure => present,
provider => git,
source => 'https://www.github.com/odoo/odoo.git',
source => $source,
revision => $version,
# submodules => false,
depth => 1,

View File

@ -25,8 +25,8 @@ class odoo::params{
"libxslt",
"openldap-client",
]
$pip_cmd = "/usr/local/bin/pip"
$preenv = "export CC=gcc && export C_INCLUDE_PATH=/usr/local/include/libxml2:/usr/local/include/sasl"
$pip_cmd = "/usr/local/bin/pip-2.7"
$preenv = "export CC=gcc && export C_INCLUDE_PATH=/usr/local/include/libxml2:/usr/local/include/sasl:/usr/local/include"
$conffile = "/usr/local/etc/odoo-server.conf"
}