aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/config.pp
blob: 1ecb4905d6c9004e6ffd3f58a494cc61fd8bd7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == Class samba::server::config
#
class samba::server::config {

  file { '/etc/samba':
    ensure  => directory,
    owner   => 'root',
    group   => 'root',
    mode    => '0755',
  }

  file { '/etc/samba/smb.conf':
    ensure  => present,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    require => [File['/etc/samba'], Class['samba::server::install']],
    notify  => Class['samba::server::service']
  }

}