Jira (BOLT-1537) Bolt doesn't work when user's login shell is fish

2 views
Skip to first unread message

Andrew Forgue (JIRA)

unread,
Feb 9, 2020, 6:15:04 PM2/9/20
to puppe...@googlegroups.com
Andrew Forgue created an issue
 
Puppet Task Runner / Bug BOLT-1537
Bolt doesn't work when user's login shell is fish
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2020/02/09 3:14 PM
Priority: Minor Minor
Reporter: Andrew Forgue

Bolt doesn't work if the remote user's shell is fish (probably any non-bourne shell):

      {
        "target": "host1",
        "action": "task",
        "object": "puppet_agent::install",
        "status": "failure",
        "result": {
          "_output": "",
          "_error": {
            "kind": "puppetlabs.tasks/task-error",
            "issue_code": "TASK_ERROR",
            "msg": "The task failed with exit code 127:\nfish: Unsupported use of '='. To run 'PT__boltdir=/Users/ajf/git/homebolt' with a modified environment, please use 'env PT_stop_service=true PT__boltdir=/Users/ajf/git/homebolt…'\nPT_stop_service=true PT__boltdir=/Users/ajf/git/homebolt PT__task=puppet_agent::install PT__installdir=/tmp/6ebeeb68-cd64-478e-8cec-0586cbed99bb sudo -S -H -u root -p \\[sudo\\]\\ Bolt\\ needs\\ to\\ run\\ as\\ another\\ user,\\ password:\\  -E sh -c 'cd && /tmp/6ebeeb68-cd64-478e-8cec-0586cbed99bb/puppet_agent/tasks/install_shell.sh'\n^\n",
            "details": {
              "exit_code": 127
            }
          }
        },
        "node": "host1"
      }

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages