Skip to content

Commit

Permalink
Merge pull request #143 from ton31337/Fix/TOML_dump_chef13
Browse files Browse the repository at this point in the history
Use `Generator` class instead of `dump` method for config generation
  • Loading branch information
bdangit authored Apr 26, 2017
2 parents e66ff2e + 85c0a48 commit 3492de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
require 'toml'

file path do
content TOML.dump(config)
content TOML::Generator.new(config).body
end
end

Expand Down

0 comments on commit 3492de7

Please sign in to comment.