aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/websites/manifests/nav.pp
blob: 587abe0d1ab14f34290e816f57c480d1b2042d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class websites::nav {
    include websites::base
    $vhost = "nav.$::domain"
    $vhostdir = "$websites::base::webdatadir/$vhost"
    $svn_location = "svn://svn.$::domain/svn/web/nav/"

    apache::vhost::base { $vhost:
        location => $vhostdir,
    }

    apache::vhost::base { "ssl_$vhost":
        vhost    => $vhost,
        use_ssl  => true,
        location => $vhostdir,
    }

    subversion::snapshot { $vhostdir:
        source => $svn_location,
    }
}