Do not vendor cookbooks using Berkshelf anymore
Instead, use the Berkshelf support in knife-solo and the vagrant-berkshelf plugin on Vagrant
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
#
|
||||
# Cookbook:: git
|
||||
# Recipe:: default
|
||||
#
|
||||
# Copyright:: 2008-2016, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
include_recipe 'git::package'
|
||||
@@ -1,37 +0,0 @@
|
||||
#
|
||||
# Cookbook:: git
|
||||
# Recipe:: package
|
||||
#
|
||||
# Copyright:: 2008-2016, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
case node['platform']
|
||||
when 'mac_os_x'
|
||||
# FIXME: The resource has three distinct groups of properties used in
|
||||
# different providers... should we make multiple resource types instead?
|
||||
git_client 'default' do
|
||||
osx_dmg_app_name node['git']['osx_dmg']['app_name']
|
||||
osx_dmg_package_id node['git']['osx_dmg']['package_id']
|
||||
osx_dmg_volumes_dir node['git']['osx_dmg']['volumes_dir']
|
||||
osx_dmg_url node['git']['osx_dmg']['url']
|
||||
osx_dmg_checksum node['git']['osx_dmg']['checksum']
|
||||
action :install
|
||||
end
|
||||
when 'windows'
|
||||
include_recipe 'git::windows'
|
||||
else
|
||||
git_client 'default' do
|
||||
action :install
|
||||
end
|
||||
end
|
||||
@@ -1,22 +0,0 @@
|
||||
#
|
||||
# Cookbook:: git
|
||||
# Recipe:: server
|
||||
#
|
||||
# Copyright:: 2009-2016, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
git_service 'default' do
|
||||
service_base_path node['git']['server']['base_path']
|
||||
action :create
|
||||
end
|
||||
@@ -1,28 +0,0 @@
|
||||
#
|
||||
# Cookbook:: git
|
||||
# Recipe:: source
|
||||
#
|
||||
# Copyright:: 2012-2016, Brian Flad, Fletcher Nichol
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# drive version from node attributes
|
||||
git_client 'default' do
|
||||
provider Chef::Provider::GitClient::Source
|
||||
source_checksum node['git']['checksum']
|
||||
source_prefix node['git']['prefix']
|
||||
source_url format(node['git']['url'], version: node['git']['version'])
|
||||
source_use_pcre node['git']['use_pcre']
|
||||
source_version node['git']['version']
|
||||
action :install
|
||||
end
|
||||
@@ -1,24 +0,0 @@
|
||||
#
|
||||
# Cookbook:: git
|
||||
# Recipe:: windows
|
||||
#
|
||||
# Copyright:: 2008-2016, Chef Software, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
git_client 'default' do
|
||||
windows_display_name node['git']['display_name']
|
||||
windows_package_url format(node['git']['url'], version: node['git']['version'], architecture: node['git']['architecture'])
|
||||
windows_package_checksum node['git']['checksum']
|
||||
action :install
|
||||
end
|
||||
Reference in New Issue
Block a user