Puppet Class: yp

Inherits:
yp::params
Defined in:
manifests/init.pp

Overview

Class for configuring the YP/NIS domain.

Examples:

Declaring the class

class { '::yp':
  domain => 'example.com',
}

Parameters:

  • domain (String)

    The YP/NIS domain.

  • yp_dir (Stdlib::Absolutepath) (defaults to: $::yp::params::yp_dir)

    The base YP directory, usually /var/yp.

See Also:



14
15
16
17
18
19
20
# File 'manifests/init.pp', line 14

class yp (
  String               $domain,
  Stdlib::Absolutepath $yp_dir = $::yp::params::yp_dir,
) inherits yp::params {

  contain yp::config
}