Giter Club home page Giter Club logo

Comments (3)

joedevivo avatar joedevivo commented on July 3, 2024

I'm going to mull this over the weekend. I think it (or something similar) will solve some problems I've also had. Part of the mulling will be trying to remember what those problems were.

from cuttlefish.

Licenser avatar Licenser commented on July 3, 2024

mull away! If you want I can make a PR for this too but I wanted to discuss it before investing more time then just coming up with crazy stuff ;)

from cuttlefish.

joedevivo avatar joedevivo commented on July 3, 2024

This is covered now with the little publicized "right hand substitutions" feature. It would work like this:

{mapping, "data_dir", "riak_core.platform_data_dir",
 [{default, "{{platform_data_dir}}"},
  {datatype, directory}]}.

{mapping, "hanoi.data_root", "hanoidb.data_root",
 [{default, "#(data_dir)/hanoi"},
  {datatype, directory}]}.

then you could also override in your .conf file like this:

data_dir = /wherever
hanoi.data_root = #(data_dir)/some_other_hanoi_path

from cuttlefish.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.