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

make the configuration file more flexible #112

Open
rhmk opened this issue May 14, 2018 · 0 comments
Open

make the configuration file more flexible #112

rhmk opened this issue May 14, 2018 · 0 comments

Comments

@rhmk
Copy link

rhmk commented May 14, 2018

add more parameters to /etc/redhat-access-insights/redhat-access-insights.conf.j2 template file, with e.g. a dictionary variable that contains the configs such as:

insight-client-config:
  loglevel: INFO
  proxy: http://myproxy:8888

Here are some examples how it could look like in the template file:

# Change log level, valid options DEBUG, INFO, WARNING, ERROR, CRITICAL. Default DEBUG
loglevel={{ insight-client-config.loglevel | default("DEBUG") }}

# URL for your proxy.  Example: http://user:[email protected]:8080
proxy={{ insight-client-config.proxy | default(omit) }}
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