Merge pull request #131 from mawatech/master

lazy evaluation of template variables
This commit is contained in:
Tim Smith 2017-08-07 11:28:33 -07:00 committed by GitHub
commit 6ba4f9e17d

View File

@ -135,7 +135,9 @@ end
group node['root_group']
mode '0644'
notifies :restart, 'service[postfix]'
variables(settings: node['postfix'][cfg])
variables(
lazy { { settings: node['postfix'][cfg] } }
)
cookbook node['postfix']["#{cfg}_template_source"]
end
end