Jira (BOLT-1367) CLI options don't override inventory settings

2 views
Skip to first unread message

Christoph Jähnigen (JIRA)

unread,
Jun 6, 2019, 3:37:03 AM6/6/19
to puppe...@googlegroups.com
Christoph Jähnigen created an issue
 
Puppet Task Runner / Bug BOLT-1367
CLI options don't override inventory settings
Issue Type: Bug Bug
Affects Versions: BOLT 1.21.0
Assignee: Unassigned
Components: CLI
Created: 2019/06/06 12:36 AM
Priority: Normal Normal
Reporter: Christoph Jähnigen

I have configured the SSH transport options in my inventory.yaml:

version: 2
groups:
  - name: test
    targets:
      - name: test
    config:
      transport: ssh
      ssh:
        user: user
        private-key: some_key

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Christoph Jähnigen (JIRA)

unread,
Jun 6, 2019, 3:40:02 AM6/6/19
to puppe...@googlegroups.com
Christoph Jähnigen updated an issue
Change By: Christoph Jähnigen
I have configured the SSH transport options in my inventory.yaml:
{code :java }

version: 2
groups:
  - name: test
    targets:
      - name: test
    config:
      transport: ssh
      ssh:
        user: user
        private-key: some_key
{code}

If I try to use the --private-key CLI option still the private key as configured in the inventory file get's used. I need to remove the private-key from the inventory file to have the command line option being used.

My expectation would be that command line options generally override config file settings.

Reply all
Reply to author
Forward
0 new messages