Puppet Function: tomcat::change

Defined in:
lib/puppet/functions/tomcat/change.rb
Function type:
Ruby 4.x API

Overview

tomcat::change(Any $arg)Any

This function exists for usage of a returning the input params that is a deferred function Will be used for deferring the values at agent level

Parameters:

  • arg (Any)

Returns:

  • (Any)


5
6
7
8
9
10
11
12
13
14
# File 'lib/puppet/functions/tomcat/change.rb', line 5

Puppet::Functions.create_function(:'tomcat::change') do
  dispatch :change do
    param 'Any', :arg
    return_type 'Any'
  end

  def change(arg)
    arg
  end
end