Question

After a chef client is bootstrapped, if the IP address changes will the machine continue to update?

I was able to successfully set up Chef Workstation, Manage, Core Server and a Client. I am using Chef for onprem and DigitalOcean Ubuntu machines. I understand that the DigitalOcean instances will have static IPs. But for the onprem machines they won’t. As they’ll be moved to various locations. I don’t see where this is addressed by Chef.

Meaning I successfully added a node (node-1), it shows up in Chef Manage with the IP address I used to ssh into the onprem machine. I was able to then configure that machine with my cookbooks. Now that this is done, I am going to ship the product to someone else. When they set up the device on their own Internet service, their IP will change.

Question is, since it has my Chef client configured do I have to do anything else or will Chef Manage console be updated with the correct IP address? Aka will my Chef infra core server receive an updated IP address. And therefore will be able to receive future cookbook uploads?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up