Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node['fqdn'] should be lazy evalued during template rendering #205

Open
gionn opened this issue Apr 3, 2015 · 0 comments
Open

node['fqdn'] should be lazy evalued during template rendering #205

gionn opened this issue Apr 3, 2015 · 0 comments

Comments

@gionn
Copy link

gionn commented Apr 3, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant