puppetlabs-toy-chest/wash

Wash fails to write config on startup on Linux

Closed this issue · 0 comments

When I first start Wash on a Linux machine, I get

Do you use aws (y/n)? n
docker? y
gcp? n
kubernetes? n
The docker core plugins have been enabled.
WARN Failed to write-back the list of enabled plugins to ~/.puppetlabs/wash/wash.yaml: open /root/.puppetlabs/wash/wash.yaml: no such file or directory

Welcome to Wash! Try 'docs .'
wash . ❯

The warning is unexpected, and it indeed doesn't write anything to wash.yaml.

On 2nd run it seems to fix itself, but I have to answer all the prompts again

Do you use kubernetes (y/n)? n
aws? n
docker? y
gcp? n
The docker core plugins have been enabled.
You can disable them by modifying the 'plugins' key in your config
file (~/.puppetlabs/wash/wash.yaml), and then restarting the shell

Welcome to Wash! Try 'docs .'
wash . ❯