diff options
Diffstat (limited to 'modules/bcd/manifests')
-rw-r--r-- | modules/bcd/manifests/init.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/bcd/manifests/init.pp b/modules/bcd/manifests/init.pp index bba103f2..e4f4cd45 100644 --- a/modules/bcd/manifests/init.pp +++ b/modules/bcd/manifests/init.pp @@ -43,6 +43,22 @@ class bcd { location => "$bcd_home/public_html", content => template('bcd/vhost_bcd.conf'), } + file {".htaccess": + path => "$bcd_home/public_html/", + ensure => present, + owner => bcd, + group => bcd, + mode => 755, + content => template("bcd/.htaccess") + } + file {".htpasswd": + path => "$bcd_home/public_html/", + ensure => present, + owner => bcd, + group => bcd, + mode => 755, + content => template("bcd/.htpasswd") + } } class rsync inherits base { |