Puppet Class: samba::service

Defined in:
manifests/service.pp

Overview

This class is meant to be called from samba to manage smb and nmb services



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/service.pp', line 5

class samba::service {
  assert_private('samba::service is a private class')

  service { $::samba::service_nmb_name:
    ensure     => $::samba::service_nmb_ensure,
    enable     => $::samba::service_nmb_enable,
    hasstatus  => true,
    hasrestart => true,
  }
  service { $::samba::service_smb_name:
    ensure     => $::samba::service_smb_ensure,
    enable     => $::samba::service_smb_enable,
    hasstatus  => true,
    hasrestart => true,
  }
}