Puppet Function: bool2httpd

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

Summary

DEPRECATED. Use the namespaced function [`apache::bool2httpd`](#apachebool2httpd) instead.

Overview

bool2httpd(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


4
5
6
7
8
9
10
11
12
# File 'lib/puppet/functions/bool2httpd.rb', line 4

Puppet::Functions.create_function(:bool2httpd) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'bool2httpd', 'This function is deprecated, please use apache::bool2httpd instead.')
    call_function('apache::bool2httpd', *args)
  end
end