Puppet Class: nscd::service

Defined in:
manifests/service.pp

Summary

controls nscd service

Overview

Parameters:

  • service_ensure (Any) (defaults to: $nscd::service_ensure)
  • service_enable (Any) (defaults to: $nscd::service_enable)
  • pkg_ensure (Any) (defaults to: $nscd::pkg_ensure)


4
5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/service.pp', line 4

class nscd::service (
  $service_ensure = $nscd::service_ensure,
  $service_enable = $nscd::service_enable,
  $pkg_ensure     = $nscd::pkg_ensure,
) {
  if $pkg_ensure != 'absent' {
    service { 'nscd':
      ensure => $service_ensure,
      enable => $service_enable,
    }
  }
}