Skip to content

Commit

Permalink
Merge pull request #98 from alvaromorales/toml-gem
Browse files Browse the repository at this point in the history
Use gem toml-rb instead of toml
  • Loading branch information
bdangit committed Jan 22, 2016
2 parents 07e4f22 + 1eb4644 commit be74090
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The following gems are used by the custom resources and are installed by the
`default` recipe:

- [InfluxDB gem](https://github.com/influxdb/influxdb-ruby)
- [TOML](https://github.com/mojombo/toml)
- [toml-rb](https://github.com/emancu/toml-rb)

This cookbook ships with five custom resources for managing the configuration
file, users, databases, cluster admins, and retention policies:
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# Installs InfluxDB

chef_gem 'toml' do
chef_gem 'toml-rb' do
compile_time false if respond_to?(:compile_time)
end

Expand Down
2 changes: 1 addition & 1 deletion resources/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
require 'toml'

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

Expand Down

0 comments on commit be74090

Please sign in to comment.