diff options
author | Michael Scherer <misc@mageia.org> | 2011-02-21 15:52:21 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-02-21 15:52:21 +0000 |
commit | d52e535f68687424633fcf4249a6f233f5932f37 (patch) | |
tree | 66ca9b8ada59e824fbe60e5ab4017dd0d13af91a /modules/phpbb | |
parent | 2d1add629203c3a79ecf72e0f9a116028df1424c (diff) | |
download | puppet-d52e535f68687424633fcf4249a6f233f5932f37.tar puppet-d52e535f68687424633fcf4249a6f233f5932f37.tar.gz puppet-d52e535f68687424633fcf4249a6f233f5932f37.tar.bz2 puppet-d52e535f68687424633fcf4249a6f233f5932f37.tar.xz puppet-d52e535f68687424633fcf4249a6f233f5932f37.zip |
clean comments, and add missing configuration set in the db
Diffstat (limited to 'modules/phpbb')
-rw-r--r-- | modules/phpbb/manifests/init.pp | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 1e04b76a..0675ca15 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -22,10 +22,6 @@ class phpbb { source => 'puppet:///modules/phpbb/phpbb_apply_config.pl', } - # TODO phpbb config - # cookie_domain - # board_contact - # $pgsql_password = extlookup("phpbb_pgsql",'x') @@postgresql::user { $user: password => $pgsql_password, @@ -37,7 +33,8 @@ class phpbb { owner => root, group => root, } - + # TODO add a ssl counterpart + # TODO check that everything is locked down apache::vhost_base { "forums.$domain": content => template("phpbb/forums_vhost.conf"), } @@ -67,6 +64,7 @@ class phpbb { $pgsql_password = $phpbb::base::pgsql_password $forums_dir = $phpbb::base::forums_dir + # TODO manage the permission of the various subdirectory exec { "git clone git://git.$domain/forum/ $lang": cwd => $forums_dir, creates => "$forums_dir/$lang", @@ -88,11 +86,6 @@ class phpbb { require => Postgresql::User[$user] } - # TODO server_name => forums.$domain - # cookie_domain => forums.$domain - # auth_method => ldap - # ldap_uid => uid - # ldap_mail => mail phpbb_config { "ldap_user": value => "cn=phpbb-friteuse,ou=System Accounts,$dc_suffix", } @@ -109,5 +102,27 @@ class phpbb { phpbb_config { "ldap_base_dn": value => "ou=People,$dc_suffix", } + + phpbb_config { "auth_method": + value => "ldap", + } + + phpbb_config { "ldap_mail": + value => "mail", + } + + phpbb_config { "ldap_uid": + value => "uid", + } + + phpbb_config { "cookie_domain": + value => "forums.$domain", + } + + phpbb_config { "server_name": + value => "forums.$domain", + } + + } } |