projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
decommission goedel (rt#3690)
[mirror/dsa-puppet.git]
/
modules
/
puppetmaster
/
lib
/
puppet
/
parser
/
functions
/
join_spc.rb
1
module Puppet::Parser::Functions
2
# given an list, join with spaces
3
newfunction(:join_spc, :type => :rvalue) do |args|
4
x = args.shift
5
6
raise Puppet::ParseError, "Argument is not an array." unless x.kind_of?(Array)
7
return x.join(' ')
8
end
9
end
10
# vim:set et:
11
# vim:set sts=2 ts=2:
12
# vim:set shiftwidth=2: