<div dir="ltr">The way I made an mx in my labs instance was :<div><ol><li>made the instance a self::puppetmaster<br></li><li>remove 'include role::mail::sender' from class standard ( manifests/site.pp )<br></li><li>add 'include role::mail::mx' under node default( manifests/site.pp )</li><li>remove 'include role::mail::sender' from role/labs.pp</li></ol><div>That one did a successful puppet apply - and I got the mx configuration alright. A minor issues is there - '/etc/exim4/wikimedia_domains' is not found for the exim to start - but upon creating that file - exim ran and started listening on port 25.</div></div><div><br></div>This would necessarily need the labs machine becoming a self::puppetmaster, but the better outcome - as per JGreen is:-<div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">9:07 PM Jeff_Green> what I would like to see is a checkbox for each role::mail::* class on the instance config page, with [x] role::mail::sender by default and you'd have the option to uncheck that, and instead select [x] role::mail::mx or in the future, other role::mail::* classes.</blockquote></div><div><br><div>That would require a lot of dev works though, but the best way out.</div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Thanks,</div><div><a href="http://tttwrites.wordpress.com/" target="_blank">Tony Thomas</a></div><div><a href="http://foss.amrita.ac.in" target="_blank">FOSS@Amrita</a></div><div><i><br></i></div><div><i>"where there is a wifi, there is a way"</i></div><div><i><br></i></div><div><div>-----BEGIN PGP PUBLIC KEY BLOCK-----</div><div>Version: GnuPG v1.4.12 (GNU/Linux)</div><div><br></div><div>mQENBFQqXKkBCACxZX3/IsdT1ONRA/RTDrn3/9QrGHfo2sXt2o9x3K7TTrsdACOO</div><div>MwifMU7NuWGDw0k4vYxrXylJ0Xli8ukL9EK1ZXLYoKqEexk+ZGB9hibDBbc2TRX+</div><div>hOL3hCjVmsHXB4zA5ZRMActX0XmT//VOBPqNJlVrWNBe4qXrrgm5Oeo23JkuVpxd</div><div>AhukLdFHs1we+dCy0a1a1FHNbvshFvmDByOzctNMfg0OMmh0+PNKRmC1YhBn0Tpf</div><div>aVCjTO64sP86dwv80AQRMZ3CMys8LOiD5d7nyf3cQkS3Y5Si4T8F2PQXPaEJO78q</div><div>uEKeA3JAjGPkVqcwhz8NowcLTDLVYuTgu61rABEBAAG0SlRvbnkgVGhvbWFzIChN</div><div>eSBFbGVjdHJvbmljIENvbW11bmljYXRpb24gR1BHIEtleSkgPDAxdG9ueXRob21h</div><div>c0BnbWFpbC5jb20+iQE4BBMBAgAiBQJUKlypAhsDBgsJCAcDAgYVCAIJCgsEFgID</div><div>AQIeAQIXgAAKCRC5LTf83q1l3pLQCACkfkrUvLucgA9CP22sRGnFNDAB0zCI/vlE</div><div>Ku/SlNfVgihgxeT2gU48HhcXC1p88QQkXOLAgK2suKh93kD7d0swwWBk0+ECyk+q</div><div>WbN/9MuY6ZBR7CsDyahpvo170oV7Ndr9QctAkVi/H6qrD0ptIHIhgk9/KPZntCtb</div><div>Xe2Tv7ig62KCFgOLSDk4FYMWe+CQaMkIiiSxrUoBXV+6KkUpa42y/lTNK2Lpti5P</div><div>4K2s1HaoLrS1tNTEXorppFsJ/wCHDrVoLlQdkUDYiVCKxTFCXIhR0JNml7qT5o+N</div><div>+MHDD68Ag4NaUW3eQvzWDl5an7+rWBn4tUKAcIJPI7esREEr6zXsuQENBFQqXKkB</div><div>CADiklo5t+wzgifTGRDyNCKpe5RnES8dWXp02kyaqlO8yZwBO1UaZq7+LJjdzUtH</div><div>FAQrqnSm38WOrb8iqE+5lwghx3tdsjzvgriuoDqAkVx4tB6ZkftjvWQULiE2jzni</div><div>z0171tvLrXNRiRut88+ZMD/XfqnDej8/JoBQnM+qYDFDDnLUCUPqv9vvoRDX1nmJ</div><div>guhRak4NmWS3gyLvdbc81p/HU2IX87UnlozDl1aO5cJ4xDkYRED84eLhCrYLjYMy</div><div>acEJ7gcwTRLwlmAUTVOfLEJUexwlwDnu7Hsi8dFsgNL3AMPmk7NmoG+Ii2veW7Kl</div><div>4BjjjobrVFX00lvc9GoX5XDHABEBAAGJAR8EGAECAAkFAlQqXKkCGwwACgkQuS03</div><div>/N6tZd7uBgf8CtmNsLogc06f0z25PI+12uco7lFat2WKS/gmRjbMw1E6qlQryDPo</div><div>FTTwQNm7lPcB9AwebfQPOia/agLngGnODzU3jHcP7VYyRz/UD2Vl3B3aAP6zdONf</div><div>0i+qYiZYyGELM6nAd/c7j7HMWx/ExK+V55SP7kEauacU23lAR6ZNq3ByLuNCy7Je</div><div>RkE3tRrBkKsMeOefenDAg1towXb5rLKTuUrxMabY+hN4CmbcQOHpGYvc6UCegetv</div><div>eoBFgXC37HCZCE7Oh2CybIQ7h4/9eNA2c0Liy2pEfPkM0SCcrKR5sdZWeUp6fi/G</div><div>8yer4k4CeY31ksrR7CaWs25hboLNF7eIvg==</div><div>=2EAw</div><div>-----END PGP PUBLIC KEY BLOCK-----</div></div></div></div>
<br><div class="gmail_quote">On Tue, Oct 7, 2014 at 10:58 PM, Marc A. Pelletier <span dir="ltr"><<a href="mailto:marc@uberbox.org" target="_blank">marc@uberbox.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/07/2014 01:26 PM, Marc A. Pelletier wrote:<br>
> I'm thinking hiera might be a better solution here;<br>
<br>
</span>Ignore that bit, it's leftover from before I realized that a puppet<br>
variable is a simpler solution. :-)<br>
<div class="HOEnZb"><div class="h5"><br>
-- Marc<br>
<br>
<br>
_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
</div></div></blockquote></div><br></div>