/[adm]/puppet/modules/bcd/manifests/web.pp
ViewVC logotype

Diff of /puppet/modules/bcd/manifests/web.pp

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

revision 2564 by misc, Sat Mar 17 11:20:57 2012 UTC revision 2565 by misc, Sat Mar 17 11:23:52 2012 UTC
# Line 1  Line 1 
1  class bcd::web {  class bcd::web {
2      include bcd::base      include bcd::base
3      # TODO simplify this      $location = "$bcd::home/public_html"
     $bcd_home = $bcd::home  
4    
5      apache::vhost_base { "bcd.$::domain":      apache::vhost_base { "bcd.$::domain":
6              location => "$bcd_home/public_html",              location => $location,
7              content  => template('bcd/vhost_bcd.conf'),              content  => template('bcd/vhost_bcd.conf'),
8          }          }
9    
10      # not sure if that's useful, since the file is public and trivially      # not sure if that's useful, since the file is public and trivially
11      # bruteforced      # bruteforced
12          file { "$bcd_home/htpasswd":          file { "$bcd::home/htpasswd":
13          content => template('bcd/htpasswd')          content => template('bcd/htpasswd')
14      }      }
15  }  }

Legend:
Removed from v.2564  
changed lines
  Added in v.2565

  ViewVC Help
Powered by ViewVC 1.1.28