/[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 1535 by misc, Tue Apr 19 10:16:25 2011 UTC revision 1536 by misc, Tue Apr 19 11:20:27 2011 UTC
# Line 81  class phpbb { Line 81  class phpbb {
81          }          }
82      }      }
83    
84        define locale_db($tag = "default"
85                         $user = $phpbb::base::user) {
86            postgresql::database { $name:
87                description => "$lang db for phpbb forum",
88                user => $user,
89                tag => $tag,
90                require => Postgresql::User[$user]
91            }
92        }
93    
94      # TODO find a way to avoid all the phpbb::base prefix      # TODO find a way to avoid all the phpbb::base prefix
95      define instance() {      define instance() {
96          include phpbb::base          include phpbb::base
# Line 135  class phpbb { Line 145  class phpbb {
145              content => template("phpbb/config.php"),              content => template("phpbb/config.php"),
146          }          }
147    
148            @@phpbb::locale_db { $database:
         postgresql::remote_database { $database:  
             description => "Phpbb database",  
149              user => $user,              user => $user,
150          }          }
151    

Legend:
Removed from v.1535  
changed lines
  Added in v.1536

  ViewVC Help
Powered by ViewVC 1.1.30