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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2563 - (show annotations) (download)
Sat Mar 17 11:20:57 2012 UTC (10 years, 2 months ago) by misc
File size: 403 byte(s)
- merge htaccess with main apache file
- show a meaningfull error message
- do not put .htpasswd file into webroot, so no need to prevent download
- reuse existing variable

1 class bcd::web {
2 include bcd::base
3 # TODO simplify this
4 $bcd_home = $bcd::home
5
6 apache::vhost_base { "bcd.$::domain":
7 location => "$bcd_home/public_html",
8 content => template('bcd/vhost_bcd.conf'),
9 }
10
11 # not sure if that's useful, since the file is public and trivially
12 # bruteforced
13 file { "$bcd_home/htpasswd":
14 content => template('bcd/htpasswd')
15 }
16 }

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.28