Puppet Class: samba::server::config

Defined in:
manifests/server/config.pp

Overview

Class: samba::server::config



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/server/config.pp', line 3

class samba::server::config {

  $config           = $samba::server::config
  $logdir           = $samba::server::logdir
  $hosts_allow      = $samba::server::hosts_allow
  $interfaces       = $samba::server::interfaces
  $global_workgroup = $samba::server::global_workgroup

  # Stand Alone Server Options
  $sa_security      = $samba::server::sa_security
  $passdb_backend   = $samba::server::passdb_backend

  # Printer Options
  $printer          = $samba::server::printer

  concat { $config:
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
  }

  concat::fragment { '01-global':
    target  => $config,
    order   => '01',
    content => template('samba/smb.conf.erb'),
  }

}