Puppet Class: fail2ban::install
- Defined in:
- manifests/install.pp
Overview
Private class.
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'manifests/install.pp', line 2
class fail2ban::install {
assert_private()
if $fail2ban::manage_repo and $fail2ban::ensure == 'present' {
if $::osfamily == 'RedHat' {
include ::epel
$_require = Class['epel']
} else {
$_require = undef
}
} else {
$_require = undef
}
package { 'fail2ban':
ensure => $fail2ban::_package_ensure,
name => $fail2ban::package_name,
require => $_require,
}
}
|