cachet icon indicating copy to clipboard operation
cachet copied to clipboard

Ensure Cachet Commands Respect `--no-interaction`

Open GrahamCampbell opened this issue 7 years ago • 7 comments

In particular, the cachet:install command needs to select good defaults automatically (if it can). Perhaps we should allow the command to create an sqlite database on disk?

GrahamCampbell avatar Dec 28 '18 22:12 GrahamCampbell

We did start this, but I think providing sensible defaults is the best option, including generating a password for an admin account.

jbrooksuk avatar Dec 29 '18 10:12 jbrooksuk

but I think providing sensible defaults is the best option

Yeh, then with sensible defaults, --no-interaction will work properly.

GrahamCampbell avatar Dec 29 '18 13:12 GrahamCampbell

This bug extends to the framework core commands too.

GrahamCampbell avatar Dec 31 '18 00:12 GrahamCampbell

@GrahamCampbell where are we about this feature ? Do you know if we can user cachet:install without any interaction in a salt recipe for example (with an admin account created) ?

brunob avatar Apr 08 '20 18:04 brunob

The idea would actually be that the command crashes and says you have to run it with interaction. Rather than just hanging forever waiting for input.

GrahamCampbell avatar Apr 08 '20 19:04 GrahamCampbell

@GrahamCampbell thx for answer, so you mean that for now we can't fully install and configure cachet from a script or a salt recipe ?

brunob avatar Apr 09 '20 09:04 brunob

Hey, is there an update regarding this? I looked for a way to automate the initial setup of cachet but couldn't find a way. Thanks.

mor120 avatar Nov 30 '21 13:11 mor120