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
we are using the hostname cookbook (https://github.com/3ofcoins/chef-cookbook-hostname) to configure /etc/hostname in our nodes, that correctly issue an ohai reload after having changing it, however due to how chef evaluates attributes, this recipe will continue to use the previous value of node['fqdn'], so at the template resource should be better to use the lazy evaluation to make it properly works.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
we are using the hostname cookbook (https://github.com/3ofcoins/chef-cookbook-hostname) to configure /etc/hostname in our nodes, that correctly issue an ohai reload after having changing it, however due to how chef evaluates attributes, this recipe will continue to use the previous value of node['fqdn'], so at the template resource should be better to use the lazy evaluation to make it properly works.
Thanks!
The text was updated successfully, but these errors were encountered: