]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/puppetmaster/lib/puppet/parser/functions/join_spc.rb
Always remove acpi packages from jessie hosts
[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: