aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests/web.pp
blob: b7fb125a29e96219c45037fb6abc9ba6036e32ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class bcd::web {
    include bcd::base 
    # TODO simplify this
    $bcd_home = $bcd::home

    apache::vhost_base { "bcd.$::domain":
	    location => "$bcd_home/public_html",
	    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')
    }
}