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

add configurable configuration location #63

Closed
evanrich opened this issue Jun 14, 2024 · 2 comments
Closed

add configurable configuration location #63

evanrich opened this issue Jun 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@evanrich
Copy link

excellent tool, one quick suggestion: make the configuration file location a parameter, something like salt-exporter --config /etc/salt-exporter.yaml

I'm placing the salt-exporter and salt-live binaries in /usr/local/bin, but as of right now I see no way to keep the configuration file in a better path.

@kpetremann kpetremann self-assigned this Jun 14, 2024
@kpetremann kpetremann added the enhancement New feature or request label Jun 14, 2024
@kpetremann
Copy link
Owner

kpetremann commented Jun 14, 2024

hello @evanrich,

good point, I am on it.

excellent tool

thanks :)

@kpetremann
Copy link
Owner

implemented in the v0.10.0 release.

salt-exporter --config-file="/srv/salt-exporter/config.yml"

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

No branches or pull requests

2 participants