<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>That's basically what I would have recommended. Put a line like
that in each cron that you want to execute as a separate rancid
instance right above the cron entry.</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2/20/2017 8:56 AM, Adrian Dimitrov
wrote:<br>
</div>
<blockquote
cite="mid:490FA8C6CC4CDA44A7D3E449D75BF1F72C3B79@exchanger.efellows.bg"
type="cite">
<pre wrap="">Hello Again,
I made it work with adding the following:
CLOGINRC="/usr/local/rancid/var/Group/.cloginrc"; export CLOGINRC
Still an example will be apriciated.
Best Regards,
Adrian Dimitrov
System Administrator
-----Original Message-----
From: Adrian Dimitrov
Sent: Monday, February 20, 2017 11:49 AM
To: 'heasley' <a class="moz-txt-link-rfc2396E" href="mailto:heas@shrubbery.net"><heas@shrubbery.net></a>
Cc: <a class="moz-txt-link-abbreviated" href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>
Subject: RE: [rancid] How .cloginrc works and can i have separate .cloginrc files for each group
Hello Heasley , team ,
I tried another thing, adjusting .cloginrc file with include <file>, and made a new file for each group/customer. This works as a charm, but still, it is not suitable for our environment, so I tried to add variable to custom rancid.conf file, but unfortunately it didn't work. I am still not skillful enough, can u please give me a simple example.
What I did was:
1. Copied original rancid.conf and move it to Group1 directory, same thing for .cloginrc.
2. creating variable .cloginrc=Directory where the new file is, in this case directory of group1.
Still rancid is using the original .cloginrc file or if there is no such file I get an error.
Best Regards,
Adrian Dimitrov
System Administrator
-----Original Message-----
From: heasley [<a class="moz-txt-link-freetext" href="mailto:heas@shrubbery.net">mailto:heas@shrubbery.net</a>]
Sent: Thursday, February 16, 2017 6:46 PM
To: Adrian Dimitrov <a class="moz-txt-link-rfc2396E" href="mailto:adrian.dimitrov@efellows.bg"><adrian.dimitrov@efellows.bg></a>
Cc: heasley <a class="moz-txt-link-rfc2396E" href="mailto:heas@shrubbery.net"><heas@shrubbery.net></a>; <a class="moz-txt-link-abbreviated" href="mailto:rancid-discuss@shrubbery.net">rancid-discuss@shrubbery.net</a>
Subject: Re: [rancid] How .cloginrc works and can i have separate .cloginrc files for each group
Thu, Feb 16, 2017 at 04:36:46PM +0000, Adrian Dimitrov:
</pre>
<blockquote type="cite">
<pre wrap="">Hello I get the point and went through the manuals, one last thing, I cannot find where in the rancid.conf file I can set which .cloginrc to use.
</pre>
</blockquote>
<pre wrap="">
just add a line; its just shell variables.
</pre>
<blockquote type="cite">
<pre wrap="">One last thing I guess custom rancid.conf should be copied from the original one and customized.
</pre>
</blockquote>
<pre wrap="">
customize it.
_______________________________________________
Rancid-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>
<a class="moz-txt-link-freetext" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td style="padding-left: 20px" width="90%">Doug Hughes<br>
Keystone NAP<br>
Fairless Hills, PA<br>
1.844.KEYBLOCK (539.2562)</td>
<td style="align: right;padding-right: 20px"><img
src="cid:part1.8906DA5A.A259E42F@keystonenap.com">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>