summaryrefslogtreecommitdiff
path: root/manifests/defaultdavdbdir.pp
blob: c0e2a81a2e421ea0beb281ac4848cbd3d6f6628b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class apache::defaultdavdbdir {
    file {
        '/var/www/dav_db_dir' :
            ensure => directory,
            require => Package['apache'],
            owner => root,
            group => 0,
            mode => 0755 ;
    }
    if $::selinux != 'false' {
        selinux::fcontext {
            ['/var/www/dav_db_dir/.+(/.*)?'] :
                setype => 'httpd_var_lib_t',
                before => File['/var/www/dav_db_dir'] ;
        }
    }
}