--- puppet/deployment/websites/manifests/init.pp 2011/12/20 13:41:07 2099 +++ puppet/deployment/websites/manifests/init.pp 2011/12/20 13:53:49 2100 @@ -21,6 +21,25 @@ } } + class www inherits base { + include apache::mod_php + include apache::mod_geoip + $vhostdir = "$webdatadir/www.$domain" + $svn_location = "svn://svn.$domain/svn/web/www/trunk" + + subversion::snapshot { $vhostdir: + source => $svn_location + } + + apache::vhost_base { "www-test.$domain": + content => template('websites/vhost_www.conf'), + } + + package { ['php-mbstring', 'php-mcrypt', 'php-gettext']: + ensure => "installed", + } + } + class hugs inherits base { $vhostdir = "$webdatadir/hugs.$domain" $svn_location = "svn://svn.$domain/svn/web/hugs/public/"