Added conditional source line the to the berksfile
This commit is contained in:
parent
0878565c1e
commit
7f4a1043fb
@ -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
|
metadata
|
||||||
cookbook 'mon_api', git: 'git@git.hpcloud.net:mon/cookbooks-mon_api'
|
cookbook 'mon_api', git: 'git@git.hpcloud.net:mon/cookbooks-mon_api'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user