Answer the question
In order to leave comments, you need to log in
How to write an autotest to check if folders exist on remote machines?
A Kubernetes cluster has been deployed, there are 3 machines. Master node and 2 work nodes, using ansible
from the master node, Kubernetes is installed on work, you need to write an autotest to check if the kuber is installed. I assumed that you could just check for folders in directories. In fact, you need to write an autotest that will check for the presence of folders in the directory. I'm just new to testing, tell me how it should look like, and what is needed for this, libraries, frameworks or something else.
Answer the question
In order to leave comments, you need to log in
In general, there is Terratest Inspec Kitchen (for perverts) ServerSpec (for rail guides) Bats (for oldfags).
Sort of like this
. Usually I myself use TerraTest / Bats / Inspec ... Chef's crafts from the evil one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question