Hi,
At my workplace we use virtual machines for development and before release,
we usually clone production machine, test the release and then go live.
The only thing, that changes in clones is hostname and ip.

How can I achieve an "if" in my boss.config, for example:

case hostname of
  "production" -> {db_host, Ip1};
  "staging" -> {db_host, Ip2}
end

If I can't do it in config,
should I evaluate them dynamically using script in ./priv/init?

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/07d545ca-6c50-49ff-bbbd-4cd1e197a8d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to