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

Contents of /puppet/modules/phpbb/manifests/config.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2492 - (show annotations) (download)
Thu Mar 15 15:56:38 2012 UTC (12 years, 1 month ago) by misc
File size: 515 byte(s)
split phpbb::config in a separate file to please puppet-lint
1 define phpbb::config($key, $value, $database) {
2 exec { "phpbb_apply $name":
3 command => "/usr/local/bin/phpbb_apply_config.pl $key",
4 user => 'root',
5 environment => ["PGDATABASE=$database",
6 "PGUSER=$phpbb::base::user",
7 "PGPASSWORD=$phpbb::base::pgsql_password",
8 "PGHOST=pgsql.$::domain",
9 "VALUE=$value"],
10 require => File['/usr/local/bin/phpbb_apply_config.pl'],
11 }
12 }

  ViewVC Help
Powered by ViewVC 1.1.30