Skip to content

Latest commit

 

History

History
92 lines (50 loc) · 1.85 KB

REFERENCE.md

File metadata and controls

92 lines (50 loc) · 1.85 KB

Reference

Table of Contents

Classes

Classes

nisclient

Manages the NIS client

Examples

Declaring the class
include nisclient

Parameters

The following parameters are available in the nisclient class:

domainname

Data type: Stdlib::Fqdn

NIS domain name

Default value: $::facts['domain']

server

Data type: Stdlib::Host

NIS server hostname or IP

Default value: '127.0.0.1'

broadcast

Data type: Boolean

On Linux, enable ypbind broadcast mode. If both broadcast and server options are specified, broadcast mode will be used.

Default value: false

package_ensure

Data type: String[1]

ensure attribute for NIS client package

Default value: 'installed'

package_name

Data type: Variant[Array,String[1]]

Array of NIS client package(s). 'USE_DEFAULTS' will use platform specific defaults provided by the module. Passing a string is deprecated and only available for easier upgrading.

Default value: 'USE_DEFAULTS'

service_ensure

Data type: String[1]

ensure attribute for NIS client service

Default value: 'running'

service_name

Data type: String[1]

String name of NIS client service. 'USE_DEFAULTS' will use platform specific defaults provided by the module.

Default value: 'USE_DEFAULTS'