I am using a cookbook_file resource to copy a file to the node. The file contains a variable as HOST_ADDR='x.x.x.x'
HOST_ADDR='x.x.x.x'
Now, after copying the file to the node, I want to replace value of Host_ADDR from 'x.x.x.x' to #{node['ipaddress']}
Host_ADDR
'x.x.x.x'
#{node['ipaddress']}
Aucun commentaire:
Enregistrer un commentaire