diff options
Diffstat (limited to 'deployment/websites/manifests/static.pp')
| -rw-r--r-- | deployment/websites/manifests/static.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/deployment/websites/manifests/static.pp b/deployment/websites/manifests/static.pp new file mode 100644 index 00000000..66711329 --- /dev/null +++ b/deployment/websites/manifests/static.pp @@ -0,0 +1,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, + } + + git::snapshot { "${vhostdir}": + source => "git://git.${::domain}/web/www", + } +} |
