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