aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-07 23:19:13 +0000
committerMichael Scherer <misc@mageia.org>2012-01-07 23:19:13 +0000
commitb07f0c0edb8d687bcd3c06d3c185bf49fc2e2754 (patch)
tree35b5a07b9c1f21b7046cf65b1f333a236efb8b18 /modules/buildsystem/templates
parent51d5e0fb26b3238084845b1ba324fd2fc95b5e95 (diff)
downloadpuppet-b07f0c0edb8d687bcd3c06d3c185bf49fc2e2754.tar
puppet-b07f0c0edb8d687bcd3c06d3c185bf49fc2e2754.tar.gz
puppet-b07f0c0edb8d687bcd3c06d3c185bf49fc2e2754.tar.bz2
puppet-b07f0c0edb8d687bcd3c06d3c185bf49fc2e2754.tar.xz
puppet-b07f0c0edb8d687bcd3c06d3c185bf49fc2e2754.zip
split maintdb in a separate class, and clean it a little bit
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/sudoers.maintdb4
-rw-r--r--modules/buildsystem/templates/wrapper.maintdb2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/buildsystem/templates/sudoers.maintdb b/modules/buildsystem/templates/sudoers.maintdb
index 26e8a26d..7503eae4 100644
--- a/modules/buildsystem/templates/sudoers.maintdb
+++ b/modules/buildsystem/templates/sudoers.maintdb
@@ -1,2 +1,2 @@
-%<%= packagers_group %> ALL =(<%= maintdb_login %>) NOPASSWD: <%= maintdb_binpath %>
-<%= sched_login %> ALL =(<%= maintdb_login %>) NOPASSWD: <%= maintdb_binpath %>
+%<%= scope.lookupvar('buildsystem::base::packagers_group') %> ALL =(<%= maintdb_login %>) NOPASSWD: <%= maintdb_binpath %>
+<%= scope.lookupvar('buildsystem::base::sched_login') %> ALL =(<%= maintdb_login %>) NOPASSWD: <%= maintdb_binpath %>
diff --git a/modules/buildsystem/templates/wrapper.maintdb b/modules/buildsystem/templates/wrapper.maintdb
index 2f6e2324..a1ebf1f0 100644
--- a/modules/buildsystem/templates/wrapper.maintdb
+++ b/modules/buildsystem/templates/wrapper.maintdb
@@ -2,7 +2,7 @@
maintdbuser="<%= maintdb_login %>"
maintdbpath="<%= maintdb_binpath %>"
-packagersgroup="<%= packagers_group %>"
+packagersgroup="<%= scope.lookupvar('buildsystem::base::packagers_group') %>"
function isingroup()
{