/[adm]/puppet/modules/phpbb/manifests/init.pp
ViewVC logotype

Diff of /puppet/modules/phpbb/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1181 by misc, Wed Feb 23 12:41:17 2011 UTC revision 1184 by misc, Wed Feb 23 16:47:15 2011 UTC
# Line 65  class phpbb { Line 65  class phpbb {
65          }          }
66      }      }
67    
68        define apache_writable_dir() {
69            file { "$forums_dir/$lang/phpBB/$name":
70                ensure => directory,
71                owner => apache,
72                group => root,
73                mode => 755,
74                require => Exec["git_clone $lang"],
75            }
76        }
77    
78      # TODO find a way to avoid all the phpbb::base prefix      # TODO find a way to avoid all the phpbb::base prefix
79      define instance() {      define instance() {
80          include phpbb::base          include phpbb::base
# Line 95  class phpbb { Line 105  class phpbb {
105    
106          # list found by reading ./install/install_install.php          # list found by reading ./install/install_install.php
107          # end of check_server_requirements ( 2 loops )          # end of check_server_requirements ( 2 loops )
108          $writable_dir = ['cache',          apache_writable_dir { ['cache',
109                           'images/avatars/upload',                           'images/avatars/upload',
110                           'files',                           'files',
111                           'store',                           'store' ]:
                         ]  
         file { "$forums_dir/$lang/phpBB/$writable_dir":  
             ensure => directory,  
             owner => apache,  
             group => root,  
             mode => 755,  
             require => Exec["git_clone $lang"],  
112          }          }
113    
114          file { "$forums_dir/$lang/phpBB/config.php":          file { "$forums_dir/$lang/phpBB/config.php":

Legend:
Removed from v.1181  
changed lines
  Added in v.1184

  ViewVC Help
Powered by ViewVC 1.1.30