Make masterpassword not mandatory
This commit is contained in:
parent
fa1356512f
commit
10dd32431a
|
@ -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…
Reference in New Issue