Avoid hard-coding OS user/group in each manifest
and replace hard-codes by definition in params.pp . Change-Id: I6203cf8af6761963a1282b2ed7df1155a34079a5
This commit is contained in:
parent
e586326e77
commit
34ff6e6f04
@ -17,6 +17,7 @@ class designate::params {
|
||||
$producer_service_name = 'designate-producer'
|
||||
$worker_service_name = 'designate-worker'
|
||||
$group = 'designate'
|
||||
$user = 'designate'
|
||||
|
||||
case $::osfamily {
|
||||
'RedHat': {
|
||||
|
@ -127,7 +127,7 @@ class designate::wsgi::apache (
|
||||
::openstacklib::wsgi::apache { 'designate_wsgi':
|
||||
bind_host => $bind_host,
|
||||
bind_port => $port,
|
||||
group => 'designate',
|
||||
group => $::designate::params::group,
|
||||
path => $path,
|
||||
priority => $priority,
|
||||
servername => $servername,
|
||||
@ -140,7 +140,7 @@ class designate::wsgi::apache (
|
||||
ssl_crl_path => $ssl_crl_path,
|
||||
ssl_key => $ssl_key,
|
||||
threads => $threads,
|
||||
user => 'designate',
|
||||
user => $::designate::params::user,
|
||||
vhost_custom_fragment => $vhost_custom_fragment,
|
||||
workers => $workers,
|
||||
wsgi_daemon_process => 'designate',
|
||||
|
Loading…
Reference in New Issue
Block a user