[Labs-l] role::mail::(sender|mx) conflict

Tony Thomas 01tonythomas at gmail.com
Wed Oct 8 16:02:08 UTC 2014


The way I made an mx in my labs instance was :

   1. made the instance a self::puppetmaster
   2. remove 'include role::mail::sender' from class standard (
   manifests/site.pp )
   3. add 'include role::mail::mx' under node default( manifests/site.pp )
   4. remove 'include role::mail::sender' from role/labs.pp

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.

This would necessarily need the labs machine becoming a self::puppetmaster,
but the better outcome - as per JGreen is:-

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.


That would require a lot of dev works though, but the best way out.

Thanks,
Tony Thomas <http://tttwrites.wordpress.com/>
FOSS at Amrita <http://foss.amrita.ac.in>

*"where there is a wifi, there is a way"*

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)

mQENBFQqXKkBCACxZX3/IsdT1ONRA/RTDrn3/9QrGHfo2sXt2o9x3K7TTrsdACOO
MwifMU7NuWGDw0k4vYxrXylJ0Xli8ukL9EK1ZXLYoKqEexk+ZGB9hibDBbc2TRX+
hOL3hCjVmsHXB4zA5ZRMActX0XmT//VOBPqNJlVrWNBe4qXrrgm5Oeo23JkuVpxd
AhukLdFHs1we+dCy0a1a1FHNbvshFvmDByOzctNMfg0OMmh0+PNKRmC1YhBn0Tpf
aVCjTO64sP86dwv80AQRMZ3CMys8LOiD5d7nyf3cQkS3Y5Si4T8F2PQXPaEJO78q
uEKeA3JAjGPkVqcwhz8NowcLTDLVYuTgu61rABEBAAG0SlRvbnkgVGhvbWFzIChN
eSBFbGVjdHJvbmljIENvbW11bmljYXRpb24gR1BHIEtleSkgPDAxdG9ueXRob21h
c0BnbWFpbC5jb20+iQE4BBMBAgAiB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oh2CybIQ7h4/9eNA2c0Liy2pEfPkM0SCcrKR5sdZWeUp6fi/G
8yer4k4CeY31ksrR7CaWs25hboLNF7eIvg==
=2EAw
-----END PGP PUBLIC KEY BLOCK-----

On Tue, Oct 7, 2014 at 10:58 PM, Marc A. Pelletier <marc at uberbox.org> wrote:

> On 10/07/2014 01:26 PM, Marc A. Pelletier wrote:
> > I'm thinking hiera might be a better solution here;
>
> Ignore that bit, it's leftover from before I realized that a puppet
> variable is a simpler solution.  :-)
>
> -- Marc
>
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/labs-l/attachments/20141008/66862cb4/attachment.html>


More information about the Labs-l mailing list