/[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 2641 by misc, Sat Mar 17 11:23:52 2012 UTC revision 2642 by misc, Mon Mar 19 19:51:46 2012 UTC
# Line 1  Line 1 
1  class bcd::web {  class bcd::web {
2      include bcd::base      include bcd::base
3      $location = "$bcd::home/public_html"      $location = "$bcd::home/public_html"
4    
5      apache::vhost_base { "bcd.$::domain":      apache::vhost_base { "bcd.$::domain":
6              location => $location,          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.2641  
changed lines
  Added in v.2642

  ViewVC Help
Powered by ViewVC 1.1.28