Puppet Class: yp::serv
- Inherits:
- yp::params
- Defined in:
- manifests/serv.pp
Overview
Class for installing and managing ypserv
daemon.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'manifests/serv.pp', line 85
class yp::serv (
String $domain,
Boolean $has_yppasswdd = $::yp::params::serv_has_yppasswdd,
Boolean $has_ypxfrd = $::yp::params::serv_has_ypxfrd,
Boolean $manage_package = $::yp::params::serv_manage_package,
Array[String, 1] $maps = $::yp::params::serv_maps,
Optional[String] $map_extension = $::yp::params::serv_map_extension,
Optional[Stdlib::IP::Address::NoSubnet] $master = undef,
Boolean $merge_group = $::yp::params::serv_merge_group,
Boolean $merge_passwd = $::yp::params::serv_merge_passwd,
Integer[0] $minimum_gid = $::yp::params::serv_minimum_gid,
Integer[0] $minimum_uid = $::yp::params::serv_minimum_uid,
Optional[String] $package_name = $::yp::params::serv_package_name,
Boolean $service_enable = $::yp::params::serv_service_enable,
Enum['running', 'stopped'] $service_ensure = $::yp::params::serv_service_ensure,
Optional[String] $yppasswdd_service_name = $::yp::params::serv_yppasswdd_service_name,
String $ypserv_service_name = $::yp::params::serv_ypserv_service_name,
Optional[String] $ypxfrd_service_name = $::yp::params::serv_ypxfrd_service_name,
Optional[Array[Stdlib::IP::Address::NoSubnet, 1]] $slaves = undef,
Stdlib::Absolutepath $yp_dir = $::yp::params::yp_dir,
) inherits yp::params {
if defined(Class['yp::ldap']) {
fail('yp::ldap and yp::serv are mutually exclusive.')
}
contain yp::serv::install
contain yp::serv::config
contain yp::serv::service
Class['yp::serv::install'] -> Class['yp::serv::config']
~> Class['yp::serv::service']
}
|