aboutsummaryrefslogtreecommitdiffstats
path: root/modules/bcd/manifests/web.pp
blob: d33506d5010ce5fe373c894e4bb2fd53d9050c08 (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')
    }
}