lazy evaluation of the template variables
Signed-off-by: Markus Wagner <markus.wagner@open-xchange.com>
This commit is contained in:
parent
1c883490db
commit
9f917c5e27
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user