Sha256: 1866b3c035da6dfeae886a6f3e4e71d66ecafdc1a1f20c90e369a3182f8e0e69
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 KB
Contents
# # Cookbook Name:: git # Recipe:: windows # # Copyright 2008-2009, Opscode, 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. windows_package node['git']['display_name'] do action :install source node['git']['url'] checksum node['git']['checksum'] installer_type :inno end # Git is installed to Program Files (x86) on 64-bit machines and # 'Program Files' on 32-bit machines PROGRAM_FILES = ENV['ProgramFiles(x86)'] || ENV['ProgramFiles'] GIT_PATH = ";#{ PROGRAM_FILES }\\Git\\Cmd" # COOK-3482 - windows_path resource doesn't change the current process # environment variables. Therefore, git won't actually be on the PATH # until the next chef-client run ENV['PATH'] += ";#{GIT_PATH}" windows_path GIT_PATH do action :add end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vault-tree-0.3.4 | support/cookbooks/git/recipes/windows.rb |
vault-tree-0.3.3 | support/cookbooks/git/recipes/windows.rb |
vault-tree-0.1.0 | support/cookbooks/git/recipes/windows.rb |