Sha256: f02be0b3f6f5aff7498c0e40c91bf905770d11c118c977cf63c6954e3db26801

Contents?: true

Size: 1017 Bytes

Versions: 6

Compression:

Stored size: 1017 Bytes

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']

windows_path "#{ PROGRAM_FILES }\\Git\\Cmd" do
  action :add
end

Version data entries

6 entries across 5 versions & 3 rubygems

Version Path
fast_food-0.1.2 chef/cookbooks/git/recipes/windows.rb
fast_food-0.1.1 chef/cookbooks/git/recipes/windows.rb
fast_food-0.1.0 chef/cookbooks/git/recipes/windows.rb
guard-strainer-1.0.0 spec/fixtures/cookbooks/git/recipes/windows.rb
vagrant-openstack-0.0.4 tmp/librarian/cache/source/chef/site/877777683730772c36b1e6a3fc3aa2c3/git/version-uri/306302c1591982b67153d5c49a36c542/package/recipes/windows.rb
vagrant-openstack-0.0.4 cookbooks/git/recipes/windows.rb