From: Silvio Rhatto Date: Sat, 7 Apr 2012 22:20:50 +0000 (-0300) Subject: Web config for mlmmj X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8055770c9ce7df932cc63337355c059f54e556b9;p=puppet-mail.git Web config for mlmmj --- diff --git a/files/mlmmj/htpasswd b/files/mlmmj/htpasswd new file mode 100644 index 0000000..e69de29 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" ], + } }