summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests/files.pp
blob: d2ef8a9875b42a5080e0f863f867d3b0fae2f8c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# set up core leap files and directories
class site_config::files {

  file {
    '/srv/leap':
      ensure  => directory,
      owner   => 'root',
      group   => 'root',
      mode    => '0711';

    [ '/etc/leap', '/var/lib/leap']:
      ensure => directory,
      owner  => 'root',
      group  => 'root',
      mode   => '0755';

    '/var/log/leap':
      ensure => directory,
      owner  => 'root',
      group  => 'adm',
      mode   => '0750';
  }

}