summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/002392.html
blob: da11a28ea20db1d1091f41e2d89d333ff3feb38b (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-sysadm] [871] do not hardcode our domain name
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B871%5D%20do%20not%20hardcode%20our%20domain%20name&In-Reply-To=%3C1295772690.4234.13.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002362.html">
   <LINK REL="Next"  HREF="002355.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-sysadm] [871] do not hardcode our domain name</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B871%5D%20do%20not%20hardcode%20our%20domain%20name&In-Reply-To=%3C1295772690.4234.13.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-sysadm] [871] do not hardcode our domain name">misc at zarb.org
       </A><BR>
    <I>Sun Jan 23 09:51:30 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002362.html">[Mageia-sysadm] [871] do not hardcode our domain name
</A></li>
        <LI>Next message: <A HREF="002355.html">[Mageia-sysadm] [872] - add a main mirror modules ( mirror was already used ), and add content
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2392">[ date ]</a>
              <a href="thread.html#2392">[ thread ]</a>
              <a href="subject.html#2392">[ subject ]</a>
              <a href="author.html#2392">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le vendredi 21 janvier 2011 &#224; 15:26 +0100, Jerome Quelin a &#233;crit :
&gt;<i> On 11/01/21 15:10 +0100, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> wrote:
</I>&gt;<i> &gt; -	    remoteurl =&gt; '<A HREF="rsync://rsync.mageia.org/bootstrap">rsync://rsync.mageia.org/bootstrap</A>',
</I>&gt;<i> &gt; +	    remoteurl =&gt; &quot;<A HREF="rsync://rsync.$domain.org/bootstrap">rsync://rsync.$domain.org/bootstrap</A>&quot;,
</I>&gt;<i> &gt;  
</I>&gt;<i> &gt; -	    remoteurl =&gt; '<A HREF="rsync://rsync.mageia.org/mageia">rsync://rsync.mageia.org/mageia</A>',
</I>&gt;<i> &gt; +	    remoteurl =&gt; &quot;<A HREF="rsync://rsync.$domain/mageia">rsync://rsync.$domain/mageia</A>&quot;,
</I>&gt;<i> 
</I>&gt;<i> i don't know anything about that or what you're trying to achieve, but
</I>&gt;<i> there's likely an error in the first snippet. (s/$domain.org/$domain/)
</I>
Yup, sorry about that, I guess I shouldn't do sysadmin while being in a
meeting.

For the reference, I have changed mageia.org to $domain because this is
used as a variable, given by facter. 

The goal is double :
- be able to reuse the configuration if the domain name must be changed
( like, forking or someone sue us )
- more realistically, deploy a test infrastructure using different
domain name to avoid interference ( like what I do on my own network ).


-- 
Michael Scherer

</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002362.html">[Mageia-sysadm] [871] do not hardcode our domain name
</A></li>
	<LI>Next message: <A HREF="002355.html">[Mageia-sysadm] [872] - add a main mirror modules ( mirror was already used ), and add content
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2392">[ date ]</a>
              <a href="thread.html#2392">[ thread ]</a>
              <a href="subject.html#2392">[ subject ]</a>
              <a href="author.html#2392">[ 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>