Defined Type: tcpwrappers::allow
- Defined in:
- manifests/allow.pp
Summary
The tcpwrappers::allow class creates a concat fragment for constructing hosts.allowOverview
Define tcpwrappers::allow
Defined type which specifies and creates concat hosts.allow fragment
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'manifests/allow.pp', line 23
define tcpwrappers::allow (
Variant[String,Array[String]] $client_list,
Variant[String,Array[String]] $daemon_list,
String $order,
Optional[String] $allow_template = 'tcpwrappers/allow.erb',
Optional[String] $comment = undef,
Optional[Variant[String,Array[String]]] $optional_actions = 'ALLOW',
) {
include ::tcpwrappers
concat::fragment { "tcpwrappers_${name}":
target => "${tcpwrappers::config_dir}/${tcpwrappers::file_allow}",
order => $order,
content => template($allow_template),
}
}
|