Skip to content
New issue

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

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

Already on GitHub? # to your account

Comma missing in Autotls json template roles/cloudera_manager/autotls/templates/auto-tls-key.json #214

Open
hadoopch opened this issue Mar 19, 2024 · 0 comments

Comments

@hadoopch
Copy link

Hi,

the autotls role is not working when using key authentication because of a missing comma in the template auto-tls-key.json:

{
    "customCA" : false,
    "configureAllServices" : "true",
    "sshPort" : 22,
    {% if freeipa_activated %}"trustedCaCerts" : "/etc/ipa/ca.crt",{% endif %}
    "userName" : "{{ sudoerUser|default("root") }}",
    "privateKey": "{{ node_key_one_line|default('~/node_key') }}"
    "passphrase": "{{ passphrase|default("") }}"
} 

The template should look like this

{
    "customCA" : false,
    "configureAllServices" : "true",
    "sshPort" : 22,
    {% if freeipa_activated %}"trustedCaCerts" : "/etc/ipa/ca.crt",{% endif %}
    "userName" : "{{ sudoerUser|default("root") }}",
    "privateKey": "{{ node_key_one_line|default('~/node_key') }}",
    "passphrase": "{{ passphrase|default("") }}"
} 

Regards

Uli

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

1 participant