You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to be compatible with cookbooks that set the hostname during a converge like the system cookbook, can we change the references to node['fqdn'] to use lazy attribute evaluation? See this issue for some background info.
I am hesitant to fix something in the LWRP which you can work around when calling the resource.
This lazy evaluation seems like something that is probably not widely needed by most people using the cookbook. It is also a change that could impact compatibility with older versions of Chef.
I ran into the issue pretty quickly as a newcomer to chef, thought it might be helpful for others. Didn't realize there's a risk of impacting compatibility with older versions of Chef. Maybe just #35 then?
In order to be compatible with cookbooks that set the hostname during a converge like the system cookbook, can we change the references to
node['fqdn']
to use lazy attribute evaluation? See this issue for some background info.I had to use this the following as a workaround:
The text was updated successfully, but these errors were encountered: