Skip to content

Commit

Permalink
Pin mime-type & rack for chef_supermarket provider
Browse files Browse the repository at this point in the history
To be ruby 1.9 compatible we already enforced chef <12
Chef 11.18 needs mime-type ~> 1.16 and rack < 2
  • Loading branch information
Annih committed Jul 21, 2016
1 parent bd41944 commit 38022c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/dpl/provider/chef_supermarket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class ChefSupermarket < Provider
# https://github.com/opscode/chef/blob/11.16.4/lib/chef/knife/cookbook_site_share.rb

# Compatibility with ruby 1.9
requires 'rack', version: '< 2.0'
requires 'mime-types', version: '~> 1.16'
requires 'chef', version: '< 12.0'
requires 'chef', load: 'chef/config'
requires 'chef', load: 'chef/cookbook_loader'
Expand Down

0 comments on commit 38022c7

Please sign in to comment.