summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000529.html
blob: 21bb4f0ea58f4d2ca25575b7ff16397ff4a3e894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [254] Add params file
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B254%5D%20Add%20params%20file&In-Reply-To=%3C20101115005136.7B1C03FAF3%40valstar.mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000519.html">
   <LINK REL="Next"  HREF="000534.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [254] Add params file</H1>
    <B>root at mageia.org</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B254%5D%20Add%20params%20file&In-Reply-To=%3C20101115005136.7B1C03FAF3%40valstar.mageia.org%3E"
       TITLE="[Mageia-sysadm] [254] Add params file">root at mageia.org
       </A><BR>
    <I>Mon Nov 15 01:51:36 CET 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="000519.html">[Mageia-sysadm] [253] don't use a variable for shorewall dir (not	working)
</A></li>
        <LI>Next message: <A HREF="000534.html">[Mageia-sysadm] Keep puppet module generic without hardcoding	domain name
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#529">[ date ]</a>
              <a href="thread.html#529">[ thread ]</a>
              <a href="subject.html#529">[ subject ]</a>
              <a href="author.html#529">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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(&quot;bugzilla_password&quot;)
+    $passwordLdap = extlookup(&quot;bugzilla_ldap&quot;)
+
     file { '/etc/bugzilla/localconfig':
-        ensure =&gt; present,
-        owner =&gt; root,
-        group =&gt; root,
-        mode =&gt; 644,
-        content =&gt; template(&quot;bugzilla/localconfig&quot;)
+      ensure =&gt; present,
+      owner =&gt; root,
+      group =&gt; root,
+      mode =&gt; 644,
+      content =&gt; template(&quot;bugzilla/localconfig&quot;)
     }
 
+
+    file { '/var/lib/bugzilla/params':
+      ensure =&gt; present,
+      owner =&gt; root,
+      group =&gt; root,
+      mode =&gt; 644,
+      content =&gt; template(&quot;bugzilla/params&quot;)
+    }
 }
 

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
















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000519.html">[Mageia-sysadm] [253] don't use a variable for shorewall dir (not	working)
</A></li>
	<LI>Next message: <A HREF="000534.html">[Mageia-sysadm] Keep puppet module generic without hardcoding	domain name
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#529">[ date ]</a>
              <a href="thread.html#529">[ thread ]</a>
              <a href="subject.html#529">[ subject ]</a>
              <a href="author.html#529">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
mailing list</a><br>
</body></html>