goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.5k stars 470 forks source link

Using goss to validate a remote system #815

Closed TheKushIsGood closed 11 months ago

TheKushIsGood commented 1 year ago

Hello

Can I use goss to validate few remote systems? Ie, i want to see if /var/tmp has the correct permission on few servers.

aelsabbahy commented 1 year ago

This is not supported by Goss, no.

You have a few options:

  1. Wrap Goss with something that runs it remotely on those servers
  2. Run goss serve on each server
  3. You could use the command feature of Goss, to have the command connect to remote server and do something, basically command is open ended.

Ultimately, Goss runs on the system under tests.. it executes commands or lookups locally.

aelsabbahy commented 11 months ago

Closing, feel free to open up a new issue if you still have questions, bug reports, or features.