Puppet Class: samba::client

Defined in:
manifests/client.pp

Overview

@summary: This module installs the SAMBA/CIFS client. samba::client

Parameters:

  • packages (Struct[{ server => Array[String[1]], client => Array[String[1]], utils => Array[String[1]], }]) (defaults to: $samba::packages)

    The name of the Samba client package.

  • package_manage (Boolean) (defaults to: $samba::package_manage)

    Should the Samba client package be managed by this module?

  • package_ensure (Samba::PackageState) (defaults to: $samba::package_ensure)

    The installation state of the Samba client package



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'manifests/client.pp', line 13

class samba::client (
  Struct[{
      server => Array[String[1]],
      client => Array[String[1]],
      utils  => Array[String[1]],
  }]                  $packages       = $samba::packages,
  Boolean             $package_manage = $samba::package_manage,
  Samba::PackageState $package_ensure = $samba::package_ensure,
) {
  if $package_manage {
    package { $packages[client]:
      ensure => $package_ensure,
    }

    package { $packages[utils]:
      ensure => $package_ensure,
    }
  }
}