Update the mediawiki cookbook and upstream cookbooks
Compatibility with Chef 14
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user