New MongoDB formula, rewritten to use official packages and APT repo

Mostly a rewrite to use the official mongodb packages so we can use 2.6.5.

Also have tidied up and automated (tho still needs work) the admin user creation, and normal user creation.

There are helpers for replica set creation, and reindexing, recovery.

Ah, yes of course. I've seen that pig of a message before.


On 3 November 2014 11:59, Ash Berlin <notifications@github.com> wrote:

> In mongodb/init.sls:
>
> > @@ -1,15 +1,25 @@
> > -{% from "mongodb/map.jinja" import mongodb with context %}
> > +{% from 'mongodb/map.jinja' import mongodb with context %}
> > +{% from 'logstash/lib.sls' import logship with context %}
> > +{% from 'firewall/lib.sls' import firewall_enable with context %}
>
> So without these includes if you have a highstate that just includes the
> mongo formula then this would give you errors like "cannot extend state
> firewall-apply because it is not part of the highstate" so we've already
> got the dependencies.
>
> I agree that it's not ideal but I'd rather have this than an obscure error
> in some circumstances (specifically this will break on kitchen tests)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ministryofjustice/mongodb-formula/pull/1/files#r19729060>
> .
>