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

    subversion::snapshot { "$vhostdir/g":
        source => "svn://svn.$::domain/svn/web/www/trunk/g/",
    }
}