diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2010-11-15 00:51:36 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2010-11-15 00:51:36 +0000 |
commit | e6f64407e33afd476bf0daea12b6b6065ba53c99 (patch) | |
tree | d6718b887b9ef9750faaa020fbd37938d516cac5 /modules/bugzilla | |
parent | f51b438ccdac881b1bd723e78dd9a083ce1bfb54 (diff) | |
download | puppet-e6f64407e33afd476bf0daea12b6b6065ba53c99.tar puppet-e6f64407e33afd476bf0daea12b6b6065ba53c99.tar.gz puppet-e6f64407e33afd476bf0daea12b6b6065ba53c99.tar.bz2 puppet-e6f64407e33afd476bf0daea12b6b6065ba53c99.tar.xz puppet-e6f64407e33afd476bf0daea12b6b6065ba53c99.zip |
Add params file
Diffstat (limited to 'modules/bugzilla')
-rw-r--r-- | modules/bugzilla/manifests/init.pp | 20 | ||||
-rw-r--r-- | modules/bugzilla/templates/params | 107 |
2 files changed, 122 insertions, 5 deletions
diff --git a/modules/bugzilla/manifests/init.pp b/modules/bugzilla/manifests/init.pp index 6f758ce5..4e2a70bd 100644 --- a/modules/bugzilla/manifests/init.pp +++ b/modules/bugzilla/manifests/init.pp @@ -5,13 +5,23 @@ class bugzilla { } $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") + } } diff --git a/modules/bugzilla/templates/params b/modules/bugzilla/templates/params new file mode 100644 index 00000000..78c5b5e3 --- /dev/null +++ b/modules/bugzilla/templates/params @@ -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&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&email1=%userid%&field0-0-0=bug_status&type0-0-0=notequals&value0-0-0=UNCONFIRMED&field0-0-1=reporter&type0-0-1=equals&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 + ); |