aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-02-17 17:07:11 +0000
committerMichael Scherer <misc@mageia.org>2012-02-17 17:07:11 +0000
commit97c545bbe49ae933b649622f02e78906dfb051fc (patch)
treeb293e5433d4aa7ea40773d05738c6aba227ea3d0 /modules/buildsystem/templates
parentf339a9a4d47e014f86d021fd842fba5fb8964996 (diff)
downloadpuppet-97c545bbe49ae933b649622f02e78906dfb051fc.tar
puppet-97c545bbe49ae933b649622f02e78906dfb051fc.tar.gz
puppet-97c545bbe49ae933b649622f02e78906dfb051fc.tar.bz2
puppet-97c545bbe49ae933b649622f02e78906dfb051fc.tar.xz
puppet-97c545bbe49ae933b649622f02e78906dfb051fc.zip
fix function call, and make use less temporary variable
Diffstat (limited to 'modules/buildsystem/templates')
-rw-r--r--modules/buildsystem/templates/submit-upload.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/buildsystem/templates/submit-upload.conf b/modules/buildsystem/templates/submit-upload.conf
index edd32a17..7de9fc76 100644
--- a/modules/buildsystem/templates/submit-upload.conf
+++ b/modules/buildsystem/templates/submit-upload.conf
@@ -1,4 +1,5 @@
<%
+Puppet::Parser::Functions.autoloader.loadall
escaped_domain = domain.gsub('.','\.')
%>
@@ -183,8 +184,7 @@ checks:
mode: freeze
infra_1:
-<%- infra_users = '^' + group_members('mga-sysadmin').join('|') + '$' -%>
- authorized_users: <%= infra_users %>
+ authorized_users: ^<%= scope.function_group_members("a").join('|') %>$
mode: freeze
cauldron: