Install some additional modules

This commit is contained in:
Tobias Herre 2020-12-08 07:50:20 +01:00
parent e2b18c487b
commit e921a96bd4
1 changed files with 24 additions and 2 deletions

View File

@ -1,3 +1,4 @@
#
# Class: odoo # Class: odoo
# =========================== # ===========================
# #
@ -75,8 +76,9 @@ inherits odoo::params {
} }
user {"$odoo_user": user {"$odoo_user":
ensure => present, ensure => present,
home => "$odoo_user_homedir", home => "${odoo_user_homedir}",
require => File["$homedirs"], require => File["$homedirs"],
managehome => true,
} }
@ -91,7 +93,8 @@ inherits odoo::params {
revision => $version, revision => $version,
# submodules => false, # submodules => false,
depth => 1, depth => 1,
require => Package[$prepkg] require => Package[$prepkg],
user => $odoo_user,
} }
@ -102,6 +105,25 @@ inherits odoo::params {
odoo::addon{"tictac": odoo::addon{"tictac":
source => "https://srcsrv.wikimedia.de/WMDE/tictac" source => "https://srcsrv.wikimedia.de/WMDE/tictac"
} }
odoo::addon{"odoo_web_login":
source => "https://srcsrv.wikimedia.de/WMDE/odoo-module-odoo_web_login.git",
dstdir => "odoo_web_login",
}
odoo::addon{"colors_customization":
source => "https://srcsrv.wikimedia.de/WMDE/odoo-module-colors_customization.git",
dstdir => "colors_customization",
}
odoo::addon{"hr_employee_time_clock":
source => "https://srcsrv.wikimedia.de/WMDE/odoo-module-hr_employee_time_clock.git",
dstdir => "hr_employee_time_clock",
}
odoo::addon{"web_calendar_year":
source => "https://srcsrv.wikimedia.de/WMDE/odoo-module-web_calendar_year.git",
dstdir => "web_calendar_year",
}
exec {"install_pre": exec {"install_pre":
command => "/bin/ls > /dev/null && $preenv && $pip_cmd install -r $odoo_systemdir/requirements.txt", command => "/bin/ls > /dev/null && $preenv && $pip_cmd install -r $odoo_systemdir/requirements.txt",