Browse Source

Make masterpassword not mandatory

master
Tobias Herre 6 months ago
parent
commit
10dd32431a
  1. 13
      wmde-odoo/manifests/init.pp

13
wmde-odoo/manifests/init.pp

@ -50,7 +50,7 @@ class odoo(
$version = "wmde8.0",
$source = 'https://srcsrv.wikimedia.de/WMDE/odoo.git',
# $source = 'https://www.github.com/odoo/odoo.git'
$masterpassword,
$masterpassword=undef,
)
inherits odoo::params {
@ -86,8 +86,19 @@ inherits odoo::params {
ensure => file,
content => template("odoo/dot_openerp_serverrc.erp"),
require => User["$odoo_user"],
owner => "$odoo_user",
mode => "600",
}
}
else {
file {"${odoo_user_homedir}/.openerp_serverrc":
ensure => file,
require => User["$odoo_user"],
owner => "$odoo_user",
mode => "600",
}
}

Loading…
Cancel
Save