Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
functions to get/update app.config settings #15
I had posted a Gist to my blog with some erlang i wrote to get and update values in app.config in order to facilitate automated deployment of a Riak cluster. Mark Phillups suggested I contribute it here.
Let me know if there is anything I need to change in the script or overview file.
Right now the main limitation of the update_config_value function is that it only takes one value at a time and so you're doing a lot of extra work if you are updating many values. I intend to update it to take an array of tuples that contain all of the settings to update so that i can do one full sweep of the terms read in from the app.config file and process all the updates at once.