Added conditional source line the to the berksfile

This commit is contained in:
Tim Kuhlman 2014-04-17 11:47:23 -06:00
parent 0878565c1e
commit 7f4a1043fb

View File

@ -1,4 +1,8 @@
source 'https://api.berkshelf.com'
require 'rubygems'
if Gem::Specification::find_by_name('berkshelf').version.to_s[0] == '3'
source 'https://api.berkshelf.com'
end
metadata
cookbook 'mon_api', git: 'git@git.hpcloud.net:mon/cookbooks-mon_api'