[Lsb-messages] /var/www/bzr/lsb/devel/puppet-lsb r302: update dbadmin + make sure admin mode is not enabled

Mats Wichmann mats at linuxfoundation.org
Tue May 29 13:07:57 UTC 2012


------------------------------------------------------------
revno: 302
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: puppet-lsb
timestamp: Tue 2012-05-29 07:07:57 -0600
message:
  update dbadmin + make sure admin mode is not enabled
modified:
  modules/apachehttpd/manifests/modules.pp
  modules/apachehttpd/templates/dbconfig/dbadmin.erb
-------------- next part --------------
=== modified file 'modules/apachehttpd/manifests/modules.pp'
--- a/modules/apachehttpd/manifests/modules.pp	2012-05-25 04:41:11 +0000
+++ b/modules/apachehttpd/manifests/modules.pp	2012-05-29 13:07:57 +0000
@@ -7,7 +7,7 @@
     # Revisions we want for each module.  This is just passed to -r,
     # so any bzr revisionspec is allowed (revnos, tags, revids, etc.).
 
-    $dbadminrev = 'revid:denis.silakov at rosalab.ru-20120522154120-vjkrzkaphnthx9bd'
+    $dbadminrev = 'revid:denis.silakov at rosalab.ru-20120529091319-btd5fxppuyqgjmx4'
 
     $certrev = 'revid:licquia at linuxfoundation.org-20120327170504-zkg8g6i20hanae3a'
     $prdbrev = 'revid:stewb at linux-foundation.org-20120308195539-lgg7p3y6ooby0age'

=== modified file 'modules/apachehttpd/templates/dbconfig/dbadmin.erb'
--- a/modules/apachehttpd/templates/dbconfig/dbadmin.erb	2012-02-25 01:47:52 +0000
+++ b/modules/apachehttpd/templates/dbconfig/dbadmin.erb	2012-05-29 13:07:57 +0000
@@ -1,11 +1,11 @@
 <?php
 // Navigator configuration file
 
-// Copy or rename this file to 'connection.inc' and edit that file.
-// DO NOT EDIT THIS FILE. This will have no effect.
+// this is a copy of 'connection.inc.tmpl' and contains the actual config
+// it may be necessary to resync this file with the template on certain changes
 
 // Please set connection parameters for different modes here.
-// If some mode should not be eneblae, just set appropriate 
+// If some mode should not be enabled, just set appropriate 
 // variables to any invalid value or just comment out the lines.
 
 // Connection parameters for the 'browse' mode
@@ -16,10 +16,13 @@
 $LSBDBHOST_browse = "db21.linux-foundation.org";
 
 // Connection parameters for the 'admin' mode
-$LSBDB_admin = "lsb";
-$LSBDBPASSWD_admin = "<%= scope.lookupvar('webdb::lsbadmin') %>";
-$LSBUSER_admin = "lsbadmin";
-$LSBDBHOST_admin = "db21.linux-foundation.org";
+// WARNING: do not enable admin mode on a production site
+// WARNING: the code has not been audited for vulnerabilities
+// WARNING: and should be used only in a closed environment
+$LSBDB_admin = "admin_db";
+$LSBDBPASSWD_admin = "admin_password";
+$LSBUSER_admin = "admin_user";
+$LSBDBHOST_admin = "admin_host";
 
 // Connection parameters for the 'futures tracker' mode
 $LSBDB_ft = "lsb";



More information about the lsb-messages mailing list