aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/sudoers.youri
blob: 3bc7cc2d63659d8c15446be77690dcf72dc30ddf (plain)
1
2
3
4
5
6
<%- sched_login = scope.lookupvar('buildsystem::var::scheduler::login') -%>
Cmnd_Alias	YOURI = /usr/local/bin/mga-youri-submit.wrapper
Defaults!YOURI	always_set_home
Defaults!YOURI	runas_default = <%= sched_login %>
Defaults!YOURI	!requiretty
%<%= scope.lookupvar('buildsystem::var::groups::packagers') -%>	ALL = (<%= sched_login %>) NOPASSWD: YOURI