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