diff --git a/recipes/default.rb b/recipes/default.rb index 72416d6..242f5b1 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -70,7 +70,7 @@ end file "#{node['riak']['platform_etc_dir']}/riak.conf" do - content Cuttlefish.compile('', node['riak']['config']).join("\n") + content lazy { Cuttlefish.compile('', node['riak']['config']).join("\n") } owner 'root' mode 0644 notifies :restart, "service[#{riak_service}]"