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

The Parser 'RHSMConf ' should set allow_no_value to "True" when parse_content #4296

Open
shzhou12 opened this issue Dec 5, 2024 · 0 comments

Comments

@shzhou12
Copy link
Contributor

shzhou12 commented Dec 5, 2024

According to the docstring example, The parser should allow no value when parse_content:
https://github.com/RedHatInsights/insights-core/blob/master/insights/parsers/rhsm_conf.py#L39

Typical content of "/etc/rhsm/rhsm.conf" is::
    # Unified Entitlement Platform Configuration
    [server]
    # Server hostname:
    hostname = subscription.rhn.redhat.com

    # Server prefix:
    prefix = /subscription

    # Server port:
    port = 443

    # Set to 1 to disable certificate validation:
    insecure = 0

    # Set the depth of certs which should be checked
    # when validating a certificate
    ssl_verify_depth = 3

    # an http proxy server to use
    proxy_hostname =

    # port for http proxy server
    proxy_port =
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