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

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

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

revision 2203 by misc, Sun Jan 8 20:25:06 2012 UTC revision 2580 by misc, Sat Mar 17 16:53:34 2012 UTC
# Line 1  Line 1 
1  class websites {  class websites::releases {
2      class releases inherits base {      include websites::base
3          $vhostdir = "$webdatadir/releases.$domain"      $vhost = "releases.$::domain"
4          $svn_location = "svn://svn.$domain/svn/web/releases/"      $vhostdir = "$websites::base::webdatadir/$vhost"
5        $svn_location = "svn://svn.$::domain/svn/web/releases/"
6    
7          apache::vhost_base { "releases.$domain":      apache::vhost_base { $vhost:
8              location => $vhostdir,          location => $vhostdir,
9              options => [ "FollowSymLinks" ],          options  => [ 'FollowSymLinks' ],
10              }      }
11    
12          apache::vhost_base { "ssl_releases.$domain":      apache::vhost_base { "ssl_$vhost":
13              vhost => "releases.$domain",          vhost    => $vhost,
14              use_ssl => true,          use_ssl  => true,
15              location => $vhostdir,          location => $vhostdir,
16              options => [ "FollowSymLinks" ],          options  => [ 'FollowSymLinks' ],
17          }      }
18    
19          subversion::snapshot { "$vhostdir":      subversion::snapshot { $vhostdir:
20              source => $svn_location,          source => $svn_location,
         }  
21      }      }
22  }  }

Legend:
Removed from v.2203  
changed lines
  Added in v.2580

  ViewVC Help
Powered by ViewVC 1.1.30