Gerard Kok

Results 4 comments of Gerard Kok

Adding `run-as-command` to `bolt.yaml` does unfortunately not help, I get: ``` Started on ... Failed on : The command failed with exit code 1 STDERR: sudo: a password is required...

My `bolt.yaml` looks like this: ```yaml # bolt.yaml ssh: run-as-command: - "sudo" - "-n" - "-u" ``` (I copy/pasted it from your second post to be certain it was correct)....

The single quotes in the puppet command, like so: ``` echo | bolt command run "/opt/puppetlabs/bin/puppet resource '' ensure=present ..." --transport ssh --targets - -u --run-as root ``` 'resource name'...

I tested this on a stock Enterprise Starter AMI (version SFTPGo 93a9a83e); I only set an admin password, and created a user with storage on a new S3 bucket). And...