Merge "Fix the helm-upload failure on controller-1"

This commit is contained in:
Zuul 2019-07-08 17:07:19 +00:00 committed by Gerrit Code Review
commit bb7c1524ca
1 changed files with 10 additions and 2 deletions

View File

@ -43,11 +43,19 @@ class openstack::horizon
#The intention here is to set up /www as a chroot'ed #The intention here is to set up /www as a chroot'ed
#environment for lighttpd so that it will remain in a jail under /www. #environment for lighttpd so that it will remain in a jail under /www.
#The uid and gid for www match the uid and gid in the setup package.
user { 'www': group { 'www':
ensure => 'present', ensure => 'present',
gid => '1877',
}
-> user { 'www':
ensure => 'present',
gid => '1877',
shell => '/sbin/nologin', shell => '/sbin/nologin',
groups => ['sys_protected'], groups => ['www', 'sys_protected'],
uid => '1877',
} }
file { '/www/tmp': file { '/www/tmp':