Browse Source

use wmde8.0 branch from srcsrv.wikimedia.de

master
Tobias Herre 2 years ago
parent
commit
52cb845936
  1. 7
      wmde-odoo/manifests/init.pp
  2. 4
      wmde-odoo/manifests/params.pp

7
wmde-odoo/manifests/init.pp

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

4
wmde-odoo/manifests/params.pp

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

Loading…
Cancel
Save