we have like 300+ Linux Redhat machines running on AWS. we have a requirement to update New Entries for /etc/resolv.conf with new DNS entries by deleting the old ones is it possible to perform this job using chef…
I tried using hosts-file cookbook from chef-supermarket to update /etc/hosts and it was successfully completed , is there any quickbook available for this task? or do i need to update manually by deleting old entries and add the new ones?
below is example for my requirement
generated by /sbin/dhclient-script
[root@abc .ssh]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
Appreciate for quick response