diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:06:33 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-23 15:06:33 +0000 |
commit | b94f912e40602823ad977f3e5c6059fa3a2fccef (patch) | |
tree | 69766b1612f62330318fc7ac3badfc45e6821f90 /modules/buildsystem | |
parent | 40a95441f2fdc21eeebdee52dad83782e9e69192 (diff) | |
download | puppet-b94f912e40602823ad977f3e5c6059fa3a2fccef.tar puppet-b94f912e40602823ad977f3e5c6059fa3a2fccef.tar.gz puppet-b94f912e40602823ad977f3e5c6059fa3a2fccef.tar.bz2 puppet-b94f912e40602823ad977f3e5c6059fa3a2fccef.tar.xz puppet-b94f912e40602823ad977f3e5c6059fa3a2fccef.zip |
Move group_members function to mga-common
The group_members function currently defined in buildsystem module could
be used outside of this module, so move it to mga-common.
Diffstat (limited to 'modules/buildsystem')
-rw-r--r-- | modules/buildsystem/lib/puppet/parser/functions/group_members.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/buildsystem/lib/puppet/parser/functions/group_members.rb b/modules/buildsystem/lib/puppet/parser/functions/group_members.rb deleted file mode 100644 index c5cecbe8..00000000 --- a/modules/buildsystem/lib/puppet/parser/functions/group_members.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'etc' -# group_members($group) -# -> return a array with the login of the group members - -module Puppet::Parser::Functions - newfunction(:group_members, :type => :rvalue) do |args| - group = args[0] - return Etc.getgrnam(group).mem - end -end |