Fixing applying ACLs for new projects
* The issue was in the incorrect calling the script 'manage-projects': It should be invoked from user 'gerrit2' sharing user env. Change-Id: Ib987957e0e1a7f0c4951883ee64175b21293bdad
This commit is contained in:
parent
d123f4087e
commit
b6d0eb0f63
@ -12,4 +12,4 @@ GIT_SSL_NO_VERIFY=true /usr/bin/puppet apply ${CONF_DIR}/gerrit.pp
|
||||
# Log rotation is turned on in create_projects.pp
|
||||
#
|
||||
# TODO: Should be replaced by git hook
|
||||
/usr/local/bin/manage-projects -v -d -l /var/log/manage_projects.log
|
||||
su - gerrit2 -c "/usr/local/bin/manage-projects -v -d -l /var/log/manage_projects.log"
|
||||
|
@ -9,4 +9,4 @@ cron { "puppet":
|
||||
command => "/usr/local/bin/periodic_puppet.sh",
|
||||
hour => '*',
|
||||
minute => '*/5',
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user