aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-10-07 08:22:28 -0700
committerDan Fandrich <danf@mageia.org>2024-10-07 08:22:28 -0700
commitb497aec0f9b963a0a7d0a77d67104424deae6d18 (patch)
tree78b728fc25fc7a91dd1b91b090f2c6077ab0315a /modules/buildsystem
parenta7797c331e1fa86bdef5c49d6870d822dc591217 (diff)
downloadpuppet-b497aec0f9b963a0a7d0a77d67104424deae6d18.tar
puppet-b497aec0f9b963a0a7d0a77d67104424deae6d18.tar.gz
puppet-b497aec0f9b963a0a7d0a77d67104424deae6d18.tar.bz2
puppet-b497aec0f9b963a0a7d0a77d67104424deae6d18.tar.xz
puppet-b497aec0f9b963a0a7d0a77d67104424deae6d18.zip
Allow maintdb get with no argument
This case was missed in commit 2a268618.
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/maintdb/sudoers.maintdb1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/maintdb/sudoers.maintdb b/modules/buildsystem/templates/maintdb/sudoers.maintdb
index 4744e534..3572e2a7 100644
--- a/modules/buildsystem/templates/maintdb/sudoers.maintdb
+++ b/modules/buildsystem/templates/maintdb/sudoers.maintdb
@@ -1,3 +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]*