I am planning to write a goss test for /etc/hosts entry. But , I am unable any parameters to validate the values liek the below. As I need to validate multiple servers, i need to provide the values dynamically . Coudl you please let me know if any options?
/etc/hosts - file should be present
entry shouldbe :
Hi ,
I am planning to write a goss test for /etc/hosts entry. But , I am unable any parameters to validate the values liek the below. As I need to validate multiple servers, i need to provide the values dynamically . Coudl you please let me know if any options?
/etc/hosts - file should be present entry shouldbe :