diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 19:20:50 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 19:20:50 -0300 |
commit | 8055770c9ce7df932cc63337355c059f54e556b9 (patch) | |
tree | cde69b1702306c9c0b76f4eafab9a03532f4cfa7 /manifests | |
parent | 8ecd58a72f40f5801970b6c439e5f0f038cd6031 (diff) | |
download | puppet-mail-8055770c9ce7df932cc63337355c059f54e556b9.tar.gz puppet-mail-8055770c9ce7df932cc63337355c059f54e556b9.tar.bz2 |
Web config for mlmmj
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/web.pp | 16 |
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" ], + } } |