aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/config.pp
blob: d51e432130edcbf1b753421f8815af9f04f0afbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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']
  }

}