Merge pull request #131 from mawatech/master
lazy evaluation of template variables
This commit is contained in:
commit
6ba4f9e17d
@ -135,7 +135,9 @@ end
|
|||||||
group node['root_group']
|
group node['root_group']
|
||||||
mode '0644'
|
mode '0644'
|
||||||
notifies :restart, 'service[postfix]'
|
notifies :restart, 'service[postfix]'
|
||||||
variables(settings: node['postfix'][cfg])
|
variables(
|
||||||
|
lazy { { settings: node['postfix'][cfg] } }
|
||||||
|
)
|
||||||
cookbook node['postfix']["#{cfg}_template_source"]
|
cookbook node['postfix']["#{cfg}_template_source"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user