aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-22 22:57:05 -0700
committerDan Fandrich <danf@mageia.org>2024-10-22 22:57:05 -0700
commit1586da321c223e856cf90f24dde8870d3d3c3399 (patch)
tree124161ebf8fb6bda49dabca076bb0aaaad403ad3 /modules
parent3e18c1ae6f0c971afaafb660d81bf138aba498c5 (diff)
downloadpuppet-1586da321c223e856cf90f24dde8870d3d3c3399.tar
puppet-1586da321c223e856cf90f24dde8870d3d3c3399.tar.gz
puppet-1586da321c223e856cf90f24dde8870d3d3c3399.tar.bz2
puppet-1586da321c223e856cf90f24dde8870d3d3c3399.tar.xz
puppet-1586da321c223e856cf90f24dde8870d3d3c3399.zip
Fix sudo so schedbot can create a new maintdb entry
The newly tightened sudoers configuration didn't take this into account. This seems to be the only command that schedbot can run, so reflect that in the new config.
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/templates/maintdb/sudoers.maintdb3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/maintdb/sudoers.maintdb b/modules/buildsystem/templates/maintdb/sudoers.maintdb
index 3572e2a7..91c88e47 100644
--- a/modules/buildsystem/templates/maintdb/sudoers.maintdb
+++ b/modules/buildsystem/templates/maintdb/sudoers.maintdb
@@ -1,5 +1,4 @@
%<%= scope.lookupvar('buildsystem::var::groups::packagers') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* get
%<%= scope.lookupvar('buildsystem::var::groups::packagers') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* [gs]et [a-zA-Z0-9]*
%<%= scope.lookupvar('buildsystem::var::groups::packagers') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* set [a-zA-Z0-9]* [a-z]*
-<%= scope.lookupvar('buildsystem::var::scheduler::login') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* [gs]et [a-zA-Z0-9]*
-<%= scope.lookupvar('buildsystem::var::scheduler::login') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* set [a-zA-Z0-9]* [a-z]*
+<%= scope.lookupvar('buildsystem::var::scheduler::login') %> ALL =(<%= scope.lookupvar('buildsystem::var::maintdb::login') %>) NOPASSWD: <%= scope.lookupvar('buildsystem::var::maintdb::binpath') %> [a-z]* new [a-zA-Z0-9]* [a-z]*