/[adm]/puppet/deployment/websites/manifests/init.pp
ViewVC logotype

Diff of /puppet/deployment/websites/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2096 by boklm, Mon Dec 19 15:28:03 2011 UTC revision 2100 by boklm, Tue Dec 20 13:53:49 2011 UTC
# Line 21  class websites { Line 21  class websites {
21          }          }
22      }      }
23    
24        class www inherits base {
25            include apache::mod_php
26            include apache::mod_geoip
27            $vhostdir = "$webdatadir/www.$domain"
28            $svn_location = "svn://svn.$domain/svn/web/www/trunk"
29    
30            subversion::snapshot { $vhostdir:
31                source => $svn_location
32            }
33    
34            apache::vhost_base { "www-test.$domain":
35                content => template('websites/vhost_www.conf'),
36            }
37    
38            package { ['php-mbstring', 'php-mcrypt', 'php-gettext']:
39                ensure => "installed",
40            }
41        }
42    
43      class hugs inherits base {      class hugs inherits base {
44          $vhostdir = "$webdatadir/hugs.$domain"          $vhostdir = "$webdatadir/hugs.$domain"
45          $svn_location = "svn://svn.$domain/svn/web/hugs/public/"          $svn_location = "svn://svn.$domain/svn/web/hugs/public/"

Legend:
Removed from v.2096  
changed lines
  Added in v.2100

  ViewVC Help
Powered by ViewVC 1.1.30