/[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 2103 by boklm, Tue Dec 20 14:14:46 2011 UTC revision 2105 by boklm, Tue Dec 20 14:39:51 2011 UTC
# Line 28  class websites { Line 28  class websites {
28          $vhostdir = "$webdatadir/www.$domain"          $vhostdir = "$webdatadir/www.$domain"
29          $svn_location = "svn://svn.$domain/svn/web/www/trunk"          $svn_location = "svn://svn.$domain/svn/web/www/trunk"
30    
31            apache::apache_group
32    
33          subversion::snapshot { $vhostdir:          subversion::snapshot { $vhostdir:
34              source => $svn_location              source => $svn_location
35          }          }
36    
37            file { "$vhostdir/var/tmp/cache":
38                ensure => directory,
39                owner => root,
40                group => $apache::base::apache_group,
41                mode => 0660,
42            }
43    
44          apache::vhost_base { "$vhost":          apache::vhost_base { "$vhost":
45              content => template('websites/vhost_www.conf'),              content => template('websites/vhost_www.conf'),
46              location => $vhostdir,              location => $vhostdir,

Legend:
Removed from v.2103  
changed lines
  Added in v.2105

  ViewVC Help
Powered by ViewVC 1.1.30