From 86d6fae4a0b329ddc1ad19dc6f5c3f1d183707da Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 15 Mar 2012 15:56:36 +0000 Subject: rename phpbb_config to config, since the namespace is already taking care of separation --- modules/phpbb/manifests/init.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 5b2115a6..fd85d904 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -1,5 +1,5 @@ class phpbb { - define phpbb_config($key, $value, $database) { + define config($key, $value, $database) { exec { "phpbb_apply $name": command => "/usr/local/bin/phpbb_apply_config.pl $key", user => root, @@ -88,13 +88,13 @@ class phpbb { user => $user, } - Phpbb::Phpbb_config { + Phpbb::Config { database => $database, } $ldap_password = extlookup("phpbb_ldap",'x') - phpbb_config { + phpbb::config { "ldap_user/$lang": key => "ldap_user", value => "cn=phpbb-$hostname,ou=System Accounts,$dc_suffix"; "ldap_server/$lang": -- cgit v1.2.1