Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to map files only #20

Open
aroca opened this issue Jan 25, 2018 · 0 comments
Open

Possibility to map files only #20

aroca opened this issue Jan 25, 2018 · 0 comments

Comments

@aroca
Copy link

aroca commented Jan 25, 2018

Hi guys, I know this seems kinda dead, but still very useful, so i was trying to map a key directly to a file but is seems it only knows how to map to directories...

"mappings" : [{
"onchange": "service fsconsul restart",
"prefix": "/config/serviceA/roleA.json",
"path": "/etc/serviceA/main.json",
}]

Right now the workaround i am thinking is to create another hierarchy in the KV

/config/serviceA/roleA/main.conf

Should it be too much trouble to add this? just wondering if the effort is not that much to try. I can always help.

Cheers!

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

No branches or pull requests

1 participant