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

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

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

revision 2392 by misc, Sun Jan 8 20:25:06 2012 UTC revision 2393 by misc, Fri Feb 10 14:20:13 2012 UTC
# Line 1  Line 1 
1  class websites {  class websites::static {
2      class static inherits base {      include websites::base
3          $vhostdir = "$webdatadir/static.$domain"      $vhostdir = "$websites::base::webdatadir/static.$::domain"
4    
5          apache::vhost_other_app { "static.$domain":      apache::vhost_other_app { "static.$::domain":
6              vhost_file => 'websites/vhost_static.conf',          vhost_file => 'websites/vhost_static.conf',
7          }      }
8    
9          file { $vhostdir:      file { $vhostdir:
10              ensure => directory,          ensure => directory,
11          }      }
12    
13          subversion::snapshot { "$vhostdir/g":      subversion::snapshot { "$vhostdir/g":
14              source => "svn://svn.$domain/svn/web/www/trunk/g/",          source => "svn://svn.$::domain/svn/web/www/trunk/g/",
         }  
15      }      }
16  }  }

Legend:
Removed from v.2392  
changed lines
  Added in v.2393

  ViewVC Help
Powered by ViewVC 1.1.30