[Mageia-sysadm] [254] Add params file

root at mageia.org root at mageia.org
Mon Nov 15 01:51:36 CET 2010


Revision: 254
Author:   dmorgan
Date:     2010-11-15 01:51:36 +0100 (Mon, 15 Nov 2010)
Log Message:
-----------
Add params file

Modified Paths:
--------------
    puppet/modules/bugzilla/manifests/init.pp

Added Paths:
-----------
    puppet/modules/bugzilla/templates/params

Modified: puppet/modules/bugzilla/manifests/init.pp
===================================================================
--- puppet/modules/bugzilla/manifests/init.pp	2010-11-12 22:36:51 UTC (rev 253)
+++ puppet/modules/bugzilla/manifests/init.pp	2010-11-15 00:51:36 UTC (rev 254)
@@ -5,13 +5,23 @@
     }
 
     $password = extlookup("bugzilla_password")
+    $passwordLdap = extlookup("bugzilla_ldap")
+
     file { '/etc/bugzilla/localconfig':
-        ensure => present,
-        owner => root,
-        group => root,
-        mode => 644,
-        content => template("bugzilla/localconfig")
+      ensure => present,
+      owner => root,
+      group => root,
+      mode => 644,
+      content => template("bugzilla/localconfig")
     }
 
+
+    file { '/var/lib/bugzilla/params':
+      ensure => present,
+      owner => root,
+      group => root,
+      mode => 644,
+      content => template("bugzilla/params")
+    }
 }
 

Added: puppet/modules/bugzilla/templates/params
===================================================================
--- puppet/modules/bugzilla/templates/params	                        (rev 0)
+++ puppet/modules/bugzilla/templates/params	2010-11-15 00:51:36 UTC (rev 254)
@@ -0,0 +1,107 @@
+%param = (
+           'LDAPBaseDN' => 'ou=People,dc=mageia,dc=org',
+           'LDAPbinddn' => 'cn=bugzilla-alamut,ou=System Accounts,dc=mageia,dc=org:<%= passwordLdap %>',
+           'LDAPfilter' => '',
+           'LDAPmailattribute' => 'mail',
+           'LDAPserver' => 'ldap.mageia.org',
+           'LDAPstarttls' => '1',
+           'LDAPuidattribute' => 'uid',
+           'RADIUS_NAS_IP' => '',
+           'RADIUS_email_suffix' => '',
+           'RADIUS_secret' => '',
+           'RADIUS_server' => '',
+           'allow_attach_url' => 0,
+           'allow_attachment_deletion' => 0,
+           'allow_attachment_display' => 0,
+           'allowbugdeletion' => 0,
+           'allowemailchange' => 1,
+           'allowloginid' => '0',
+           'allowuserdeletion' => 0,
+           'announcehtml' => '',
+           'attachment_base' => '',
+           'auth_env_email' => '',
+           'auth_env_id' => '',
+           'auth_env_realname' => '',
+           'bonsai_url' => '',
+           'chartgroup' => 'editbugs',
+           'commentonchange_resolution' => 0,
+           'commentonduplicate' => 0,
+           'confirmuniqueusermatch' => 1,
+           'cookiedomain' => '',
+           'cookiepath' => '/',
+           'createemailregexp' => '.*',                                                                                                     
+           'cvsroot' => '',                                                                                                                 
+           'cvsroot_get' => '',                                                                                                             
+           'defaultopsys' => '',                                                                                                            
+           'defaultplatform' => '',                                                                                                         
+           'defaultpriority' => '---',                                                                                                      
+           'defaultquery' => 'bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailqa_contact2=1&order=Importance&long_desc_type=substring',                                                                 
+           'defaultseverity' => 'enhancement',                                                                                              
+           'docs_urlbase' => 'docs/%lang%/html/',                                                                                           
+           'duplicate_or_move_bug_status' => 'RESOLVED',
+           'emailregexp' => '^[\\w\\.\\+\\-=]+@[\\w\\.\\-]+\\.[\\w\\-]+$',
+           'emailregexpdesc' => 'A legal address must contain exactly one \'@\', and at least one \'.\' after the @.',
+           'emailsuffix' => '',
+           'globalwatchers' => '',
+           'inbound_proxies' => '',
+           'insidergroup' => '',
+           'letsubmitterchoosemilestone' => 1,
+           'letsubmitterchoosepriority' => 1,
+           'lxr_root' => '',
+           'lxr_url' => '',
+           'mail_delivery_method' => 'Sendmail',
+           'mailfrom' => 'bugzilla-daemon',
+           'makeproductgroups' => 0,
+           'maxattachmentsize' => '1000',
+           'maxlocalattachment' => '0',
+           'maxusermatches' => '1000',
+           'mostfreqthreshold' => '2',
+           'move-button-text' => 'Move To Bugscape',
+           'move-enabled' => 0,
+           'move-to-address' => 'bugzilla-import',
+           'move-to-url' => '',
+           'moved-default-component' => '',
+           'moved-default-product' => '',
+           'moved-from-address' => 'bugzilla-admin',
+           'movers' => '',
+           'musthavemilestoneonaccept' => 0,
+           'mybugstemplate' => 'buglist.cgi?bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;emailassigned_to1=1&amp;emailreporter1=1&amp;emailtype1=exact&amp;email1=%userid%&amp;field0-0-0=bug_status&amp;type0-0-0=notequals&amp;value0-0-0=UNCONFIRMED&amp;field0-0-1=reporter&amp;type0-0-1=equals&amp;value0-0-1=%userid%',
+           'noresolveonopenblockers' => 0,
+           'proxy_url' => '',
+           'querysharegroup' => 'editbugs',
+           'quip_list_entry_control' => 'open',
+           'rememberlogin' => 'on',
+           'requirelogin' => '0',
+           'sendmailnow' => 1,
+           'shadowdb' => '',
+           'shadowdbhost' => '',
+           'shadowdbport' => '3306',
+           'shadowdbsock' => '',
+           'shutdownhtml' => '',
+           'smtp_debug' => 0,
+           'smtp_password' => '',
+           'smtp_username' => '',
+           'smtpserver' => 'localhost',
+           'specific_search_allow_empty_words' => 1,
+           'ssl_redirect' => 0,
+           'sslbase' => '',
+           'strict_isolation' => 0,
+           'timetrackinggroup' => 'editbugs',
+           'upgrade_notification' => 'latest_stable_release',
+           'urlbase' => 'http://bugs.mageia.org/',
+           'use_mailer_queue' => 0,
+           'use_see_also' => 1,
+           'usebugaliases' => 0,
+           'useclassification' => 0,
+           'usemenuforusers' => '0',
+           'useqacontact' => 0,
+           'user_info_class' => 'CGI',
+           'user_verify_class' => 'LDAP',
+           'usestatuswhiteboard' => 0,
+           'usetargetmilestone' => 0,
+           'usevisibilitygroups' => 0,
+           'usevotes' => 0,
+           'utf8' => 1,
+           'webdotbase' => 'http://www.research.att.com/~north/cgi-bin/webdot.cgi/%urlbase%',
+           'whinedays' => 7
+         );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101115/20345dee/attachment-0001.html>


More information about the Mageia-sysadm mailing list