<div><p>. is concatenation in Perl, but in tcl it has no special meaning.</p>
<br/><br/>-----Original Message-----<br/>From: bob watson &lt;bobthebaritone@gmail.com&gt;<br/>To: Martin Barry &lt;marty@supine.com&gt;<br/>Cc: &quot;rancid-discuss@shrubbery.net&quot; &lt;rancid-discuss@shrubbery.net&gt;<br/>Sent: Mon, 03 Dec 2012 5:05 AM<br/>Subject: Re: [rancid] groups, customers and so on in RANCID....<br/><br/></div><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">Don't forget that .cloginrc is TCL. The . character I think is concatenation. Take that out and it may work...<div><br></div><div>Cheers,</div><div><br></div><div>Bob</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 3 December 2012 20:56, Martin Barry <span dir="ltr">&lt;<a href="mailto:marty@supine.com" target="_blank">marty@supine.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
$quoted_author = &quot;Javier A. Herrera&quot; ;<br>
<div class="im">&gt;<br>
&gt; sure i'm missing or misunderstanding something, but i'm not able to make<br>
&gt; RANCID work with customers or groups, unless i'm supposing things that<br>
&gt; RANCID doesn't do...let me explain...what i wanted to do was to put<br>
&gt; several customers or groups on the LIST_OF_GROUPS entry, each one of<br>
&gt; then associated with a router.db list of devices in the corresponding<br>
&gt; directory, and then, in the .cloginrc file, use a different credentials<br>
&gt; for each group, that is, for example:<br>
&gt;<br>
&gt; add method *.group1 ssh<br>
&gt; add method *.group2 telnet<br>
&gt; add method *.group3 ssh telnet<br>
&gt; add password *.group1 {pass1} {pass2}<br>
&gt; add password *.group2 {pass1} {passpass}<br>
<br>
</div>The regex matching in cloginrc is only against the hostname and not any<br>
other grouping you may have defined.<br>
<br>
This works best if you have structured hostnames that contain the relevant<br>
identifying information like location or customer ID etc.etc.<br>
<br>
cheers<br>
Marty<br>
_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br>
</blockquote></div><br></div>