puppet-haproxy/manifests/params.pp

20 lines
470 B
ObjectPascal
Raw Permalink Normal View History

2022-12-03 23:38:31 -05:00
# @summary Handles default parameters for Haproxy.
#
# This class is not intended to be called directly.
#
# @example
# include haproxy::params
class haproxy::params {
case $::osfamily {
'Archlinux', 'Debian', 'Redhat', 'Gentoo', 'Suse', 'Linux' : {
$package_name = 'haproxy'
}
'FreeBSD': {
$package_name = 'haproxy'
}
default: { fail("The ${::osfamily} operating system is not supported with the haproxy module") }
}
}