Skip to content

Commit

Permalink
Merge pull request #184 from basho-labs/hotfix/lazy_content
Browse files Browse the repository at this point in the history
Lazily evaluate config content
  • Loading branch information
Seth Thomas committed Jul 24, 2015
2 parents b3790e9 + 5599e00 commit 9081d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}]"
Expand Down

0 comments on commit 9081d8c

Please sign in to comment.