summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/web.pp16
1 files changed, 16 insertions, 0 deletions
diff --git a/manifests/web.pp b/manifests/web.pp
index 2b3d7b9..95aa3b7 100644
--- a/manifests/web.pp
+++ b/manifests/web.pp
@@ -102,4 +102,20 @@ class mail::web::mlmmj inherits websites::setup {
package { [ 'mlmmj-php-web', 'mlmmj-php-web-admin' ]:
ensure => present,
}
+
+ file { '/etc/mlmmj-php-web-admin':
+ ensure => directory,
+ owner => mlmmj,
+ group => mlmmj,
+ mode => 0640,
+ }
+
+ file { '/etc/mlmmj-php-web-admin/htpasswd':
+ ensure => present,
+ owner => mlmmj,
+ group => mlmmj,
+ mode => 0640,
+ source => [ "puppet:///modules/site-mail/mlmmj/htpasswd",
+ "puppet:///modules/mail/mlmmj/htpasswd" ],
+ }
}