Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Implement configuration pattern #21

Closed
brianredbeard opened this issue Jul 8, 2015 · 2 comments
Closed

Implement configuration pattern #21

brianredbeard opened this issue Jul 8, 2015 · 2 comments

Comments

@brianredbeard
Copy link
Member

Mayday will reasonably have different options depending on the running platform. Furthermore, some users will want to change the default behavior. There are a number of mechanisms which could be used the implement this.

The simplest solution would be to use environment variables which could also be supplied as run-time arguments. This behavior would be familiar to users of etcd and fleet.

A second option would be the use of a configuration file (possibly at /etc/mayday/mayday.conf). Suggestions have been made for the configuration to be in either YAML or JSON format. As this is not a commonly edited file this could be a reasonable solution, though it raises issues about how the command should proceed when the configuration file does not lint correctly.

@weberr13
Copy link

weberr13 commented Jul 8, 2015

I will keep these issues in mind as I lookk into it.

@brianredbeard
Copy link
Member Author

THE DAY HAS COME!

Implemented via #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants