aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/static.pp
blob: 66711329ccc56376ddef50161308be550d3bbda9 (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",
    }
}