43 |
location => "$bcd_home/public_html", |
location => "$bcd_home/public_html", |
44 |
content => template('bcd/vhost_bcd.conf'), |
content => template('bcd/vhost_bcd.conf'), |
45 |
} |
} |
46 |
file {".htaccess": |
file {"htaccess": |
47 |
path => "$bcd_home/public_html/", |
path => "$bcd_home/public_html/.htaccess", |
48 |
ensure => present, |
ensure => present, |
49 |
owner => bcd, |
owner => bcd, |
50 |
group => bcd, |
group => bcd, |
51 |
mode => 755, |
mode => 755, |
52 |
content => template("bcd/.htaccess") |
content => template("bcd/.htaccess") |
53 |
} |
} |
54 |
file {".htpasswd": |
file {"htpasswd": |
55 |
path => "$bcd_home/public_html/", |
path => "$bcd_home/public_html/.htpasswd", |
56 |
ensure => present, |
ensure => present, |
57 |
owner => bcd, |
owner => bcd, |
58 |
group => bcd, |
group => bcd, |