Skip to content

Commit

Permalink
Remove #deep_to_hash method (**Breaking change**: Requires Chef 11.12)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Sep 16, 2015
1 parent 533986c commit cadff9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 37 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Requirements
* postfix
* postgresql

## Required Applications

* Chef `>= 11.12.0`.

## Other Requirements

On RedHat based platforms, you need to disable or configure SELinux correctly. You can use the `selinux::disabled` recipe for that.
Expand Down
36 changes: 0 additions & 36 deletions libraries/deep_to_hash.rb

This file was deleted.

2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
block do
config_file = ::File.join(node['owncloud']['dir'], 'config', 'config.php')
config = OwnCloud::Config.new(config_file)
cookbook_config = node['owncloud']['config'].deep_to_hash
cookbook_config = node['owncloud']['config'].to_hash
# Add server name and server aliases to trusted_domains config option
cookbook_config['trusted_domains'] = [] unless cookbook_config.has_key?('trusted_domains')
[ node['owncloud']['server_name'], node['owncloud']['server_aliases'] ].flatten.each do |domain|
Expand Down

0 comments on commit cadff9e

Please sign in to comment.