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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-sysadm] [222] - do not store password in clear in the svn
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B222%5D%20-%20do%20not%20store%20password%20in%20clear%20in%20the%20svn&In-Reply-To=%3C20101110005745.051B93FC19%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="000429.html">
<LINK REL="Next" HREF="000432.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-sysadm] [222] - do not store password in clear in the svn</H1>
<B>root at mageia.org</B>
<A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B222%5D%20-%20do%20not%20store%20password%20in%20clear%20in%20the%20svn&In-Reply-To=%3C20101110005745.051B93FC19%40valstar.mageia.org%3E"
TITLE="[Mageia-sysadm] [222] - do not store password in clear in the svn">root at mageia.org
</A><BR>
<I>Wed Nov 10 01:57:44 CET 2010</I>
<P><UL>
<LI>Previous message: <A HREF="000429.html">[Mageia-sysadm] [221] - do not hardcode the domainname ( for reusability )
</A></li>
<LI>Next message: <A HREF="000432.html">[Mageia-sysadm] [223] - add key of thomas, sent by private mail
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#430">[ date ]</a>
<a href="thread.html#430">[ thread ]</a>
<a href="subject.html#430">[ subject ]</a>
<a href="author.html#430">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Revision: 222
Author: misc
Date: 2010-11-10 01:57:44 +0100 (Wed, 10 Nov 2010)
Log Message:
-----------
- do not store password in clear in the svn
Modified Paths:
--------------
puppet/modules/bugzilla/manifests/init.pp
puppet/modules/bugzilla/templates/localconfig
Modified: puppet/modules/bugzilla/manifests/init.pp
===================================================================
--- puppet/modules/bugzilla/manifests/init.pp 2010-11-10 00:54:29 UTC (rev 221)
+++ puppet/modules/bugzilla/manifests/init.pp 2010-11-10 00:57:44 UTC (rev 222)
@@ -4,6 +4,7 @@
ensure => installed;
}
+ $password = extlookup("bugzilla_password")
file { '/etc/bugzilla/localconfig':
ensure => present,
owner => root,
Modified: puppet/modules/bugzilla/templates/localconfig
===================================================================
--- puppet/modules/bugzilla/templates/localconfig 2010-11-10 00:54:29 UTC (rev 221)
+++ puppet/modules/bugzilla/templates/localconfig 2010-11-10 00:57:44 UTC (rev 222)
@@ -56,7 +56,7 @@
# If you use apostrophe (') or a backslash (\) in your password, you'll
# need to escape it by preceding it with a '\' character. (\') or (\)
# (Far simpler just not to use those characters.)
-$db_pass = 'bugs';
+$db_pass = '<%= password %>';
# Sometimes the database server is running on a non-standard port. If that's
# the case for your database server, set this to the port number that your
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101110/6e7596c3/attachment-0001.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000429.html">[Mageia-sysadm] [221] - do not hardcode the domainname ( for reusability )
</A></li>
<LI>Next message: <A HREF="000432.html">[Mageia-sysadm] [223] - add key of thomas, sent by private mail
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#430">[ date ]</a>
<a href="thread.html#430">[ thread ]</a>
<a href="subject.html#430">[ subject ]</a>
<a href="author.html#430">[ 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>
|