Update the mediawiki cookbook and upstream cookbooks
Compatibility with Chef 14
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
# Installs the core msys utilities needed for mingw/git/any other posix
|
||||
# based toolchain at a desired location using mingw-get.exe.
|
||||
|
||||
property :package, kind_of: String, name_property: true
|
||||
property :root, kind_of: String, required: true
|
||||
property :package, String, name_property: true
|
||||
property :root, String, required: true
|
||||
|
||||
resource_name :mingw_get
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
# well that's your problem isn't it? And they don't believe in preserving
|
||||
# older versions. Good luck!
|
||||
|
||||
property :package, kind_of: String, name_property: true
|
||||
property :root, kind_of: String, required: true
|
||||
property :package, String, name_property: true
|
||||
property :root, String, required: true
|
||||
|
||||
resource_name :msys2_package
|
||||
|
||||
@@ -49,8 +49,8 @@ action_class do
|
||||
def msys2_init
|
||||
cache_dir = ::File.join(root, '.cache')
|
||||
f_cache_dir = win_friendly_path(cache_dir)
|
||||
base_url = 'http://downloads.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20160205.tar.xz'
|
||||
base_checksum = '7e97e2af042e1b6f62cf0298fe84839014ef3d4a3e7825cffc6931c66cc0fc20'
|
||||
base_url = node['msys2']['url']
|
||||
base_checksum = node['msys2']['checksum']
|
||||
|
||||
unless ::File.exist?(::File.join(root, 'msys2.exe'))
|
||||
seven_zip_archive "cache msys2 base to #{f_cache_dir}" do
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
|
||||
# Installs a gcc based C/C++ compiler and runtime from TDM GCC.
|
||||
|
||||
property :flavor, kind_of: Symbol, is: [:sjlj_32, :seh_sjlj_64], default: :seh_sjlj_64
|
||||
property :root, kind_of: String, required: true
|
||||
property :version, kind_of: String, is: ['5.1.0'], name_property: true
|
||||
property :flavor, Symbol, is: [:sjlj_32, :seh_sjlj_64], default: :seh_sjlj_64
|
||||
property :root, String, required: true
|
||||
property :version, String, is: ['5.1.0'], name_property: true
|
||||
|
||||
resource_name :mingw_tdm_gcc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user