Puppet Function: get_first_part
- Defined in:
- lib/puppet/parser/functions/get_first_part.rb
- Function type:
- Ruby 3.x API
Overview
9 10 11 12 13 14 |
# File 'lib/puppet/parser/functions/get_first_part.rb', line 9 newfunction(:get_first_part, :type => :rvalue) do |args| first_part = args[0].split(args[1])[0] first_part end |