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:
Nikolay Mahotkin 2016-05-25 11:31:38 +03:00
parent d123f4087e
commit b6d0eb0f63
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -9,4 +9,4 @@ cron { "puppet":
command => "/usr/local/bin/periodic_puppet.sh",
hour => '*',
minute => '*/5',
}
}