aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests/web.pp
blob: 128af5eadc489e25d3c96de15975c0a69e090d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class bcd::web {
    include bcd::base 
    $location = "$bcd::home/public_html"

    apache::vhost_base { "bcd.$::domain":
	    location => $location,
	    content  => template('bcd/vhost_bcd.conf'),
	}

    # not sure if that's useful, since the file is public and trivially 
    # bruteforced
	file { "$bcd::home/htpasswd":
        content => template('bcd/htpasswd')
    }
}