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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2558 - (hide annotations) (download)
Sat Mar 17 10:53:59 2012 UTC (12 years, 1 month ago) by misc
File size: 538 byte(s)
split web class into a module, and clean it

1 misc 2558 class bcd::web {
2     include bcd::base
3     $bcd_home = $bcd::variable::bcd_home
4    
5     apache::vhost_base { "bcd.$::domain":
6     location => "$bcd_home/public_html",
7     content => template('bcd/vhost_bcd.conf'),
8     }
9    
10     # TODO should be merged with main file
11     file { "$bcd_home/public_html/.htaccess":
12     content => template('bcd/.htaccess')
13     }
14    
15     # not sure if that's useful, since the file is public and trivially
16     # bruteforced
17     file { "$bcd_home/public_html/.htpasswd":
18     content => template('bcd/.htpasswd')
19     }
20     }

Properties

Name Value
svn:keywords ID Date Rev

  ViewVC Help
Powered by ViewVC 1.1.30