Hi,
I am having a scenario where I have 3 IPs, but not sure which is the proper one.
So I want to execute some command with each of the IP. If the command is successful with 1st IP, it should not execute the command for other 2 IPs.
If the 1st one failed, it should try with 2nd IP, and so on.
If all of them failed only puppet run should fail, otherwise it should till last IP.
↧