| I have a plan that sets up p9 instances with software and users setting. It runs whoami on the local host so it knows what user to create on the instance. This worked fine with John on 1.19 on linux. But with 1.20 it is failing for me. I personally verified it worked on 1.14 and upgraded to 1.20 on my mac and saw it fail with this error {“node”:“localhost”,“target”:“localhost”,“action”:null,“object”:null,“status”:“failure”,“result”:{“_error”:{“kind”:“puppetlabs.tasks/escalate-error”,“msg”:“Sudo password for user randell was not provided for localhost”,“details”:{},“issue_code”:“NO_PASSWORD”}}} This is the line in the plan that fails. $result_whoami = run_command('whoami',"localhost",'_catch_errors' => true) Just put that line in a plan Here is the plan invocation bolt plan run p9_instance_setup::test_whoami --nodes 10.234.0.19 --user centos --private-key ~/.ssh/id_rsa-acceptance --tty --no-host-key-check --debug --run-as root The workaround is to remove the --run-as root. While that works to get the command to run. The rest of my flow doesn't... which I will file a different ticket about. |