diff options
Diffstat (limited to 'deployment/websites/manifests/static.pp')
-rw-r--r-- | deployment/websites/manifests/static.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/websites/manifests/static.pp b/deployment/websites/manifests/static.pp new file mode 100644 index 00000000..0883d779 --- /dev/null +++ b/deployment/websites/manifests/static.pp @@ -0,0 +1,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/", + } + } +} |