Puppet Function: haproxy::generate_error_message
- Defined in:
- lib/puppet/functions/haproxy/generate_error_message.rb
- Function type:
- Ruby 4.x API
Overview
Function created to generate error message. Any string as error message can be passed and the function can be called in epp templates.
6 7 8 9 10 11 12 13 14 |
# File 'lib/puppet/functions/haproxy/generate_error_message.rb', line 6 Puppet::Functions.create_function(:'haproxy::generate_error_message') do dispatch :generate_error_message do param 'String', :error_message end def () raise() end end |