This cookbook no longer exposes recipe or attribute entry points.
The legacy interface:
beyondcompare::defaultbeyondcompare::installbeyondcompare::gitconfignode['beyondcompare'][...]
has been replaced by custom resources:
beyondcompare_packagebeyondcompare_git_config
The root recipes/ directory is gone. Consumers should declare resources directly in their own recipes instead of including beyondcompare::default, beyondcompare::install, or beyondcompare::gitconfig.
The root attributes/ directory is gone. Configuration now lives on resource properties instead of node attributes.
Examples that used to be implicit in cookbook recipes now live in test/cookbooks/test/recipes/default.rb.
Old:
include_recipe 'beyondcompare::install'New:
beyondcompare_package 'default'Old:
include_recipe 'beyondcompare::gitconfig'New:
beyondcompare_git_config 'default'Old:
include_recipe 'beyondcompare::default'New:
beyondcompare_package 'default'
beyondcompare_git_config 'default'Old:
node.default['beyondcompare']['version'] = '4.2.9.23626'New:
beyondcompare_package 'default' do
version '4.4.7.28397'
endOld:
node.default['beyondcompare']['source'] = 'http://www.scootersoftware.com/'New:
beyondcompare_package 'default' do
source 'https://www.scootersoftware.com/files/BCompare-4.4.7.28397.exe'
endOld:
node.default['beyondcompare']['checksum'] = '...'New:
beyondcompare_package 'default' do
checksum '...'
endOld:
node.default['beyondcompare']['git_exe'] = 'C:\\Program Files\\Git\\cmd\\git.exe'New:
beyondcompare_git_config 'default' do
git_exe 'C:\\Program Files\\Git\\cmd\\git.exe'
endOld:
node.default['beyondcompare']['bcompare_exe'] = 'C:\\Program Files\\Beyond Compare 4\\BCompare.exe'New:
beyondcompare_git_config 'default' do
bcompare_exe 'C:\\Program Files\\Beyond Compare 4\\BCompare.exe'
endIf you need to undo the old create/install behavior, use the resource removal actions explicitly.
Remove Beyond Compare:
beyondcompare_package 'default' do
action :remove
endRemove the managed Git settings:
beyondcompare_git_config 'default' do
action :remove
endFor most users, the direct replacement for the old default recipe is:
beyondcompare_package 'default'
beyondcompare_git_config 'default'