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", } }