aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/static.pp
blob: f2efa792dc56a65fc2ffc640196f39d27ce1b91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class websites::static {
    include websites::base
    $vhostdir = "$websites::base::webdatadir/static.$::domain"

    apache::vhost::other_app { "static.$::domain":
        vhost_file => 'websites/vhost_static.conf',
    }

    file { $vhostdir:
        ensure => directory,
    }

    git::snapshot { "${vhostdir}":
        source => "git://git.$::domain/web/www",
    }
}