aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/static.pp
blob: 0883d77902d39af56cd4dd471006c3d0f5a4b0c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class websites {
    class static inherits base {
        $vhostdir = "$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/",
        }
    }
}