We're using Clojure code for configuration.

In essence, it looks pretty much like:
https://gist.github.com/ifesdjeen/440320a52f4edeedfd1a

And you can run it as:

lein run --config config/development.clj



On Sun, Sep 8, 2013 at 10:07 PM, Gordon Stratton
<gordon.strat...@gmail.com>wrote:

> James,
>
> Plug much appreciated - Nomad looks great!
>
> On Sun, Sep 8, 2013 at 7:09 PM, James Henderson
> <james.hender...@likely.co> wrote:
> > Hi Gordon/all,
> >
> > Hope you'll forgive the plug, but it sounds like Nomad does what you want
> > here.
> >
> > In particular, it allows you to store configuration for multiple
> different
> > environments as a simple EDN config file in your project repo (Gordon's
> > 'global.clj'), meaning that it's versioned with the rest of your project
> > code (i.e. there's no need to configure Puppet etc separately, and keep
> the
> > project and Puppet versions co-ordinated). It also allows for 'private
> > config files' (Gordon's 'local.clj'), to store passwords etc that you
> don't
> > want in version control.
> >
> > HTH!
> >
> > James
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
alex p

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to