vagrant works
This commit is contained in:
5
ops/cookbooks/vendor/windows/CHANGELOG.md
vendored
5
ops/cookbooks/vendor/windows/CHANGELOG.md
vendored
@ -2,6 +2,11 @@
|
||||
|
||||
This file is used to list changes made in each version of the windows cookbook.
|
||||
|
||||
## 6.0.1 (2019-10-01)
|
||||
|
||||
- Update README.md for Windows cookbook suggesting core dns resources (#616) - [@NAshwini](https://github.com/NAshwini)
|
||||
- Add a warning when using windows_zipfile resource as users should migrate to archive_file (#617) - [@NAshwini](https://github.com/NAshwini)
|
||||
|
||||
## 6.0.0 (2019-04-25)
|
||||
|
||||
### Breaking Changes
|
||||
|
6
ops/cookbooks/vendor/windows/README.md
vendored
6
ops/cookbooks/vendor/windows/README.md
vendored
@ -22,7 +22,7 @@ Provides a set of Windows-specific resources to aid in the creation of cookbooks
|
||||
|
||||
### Deprecated Resources Note
|
||||
|
||||
As of Chef 14.7+ the windows_share and windows_certificate resources are now included in the Chef Client. If you are running Chef 14.7+ the resources in Chef client will take precedence over the resources in this cookbook. In November 2019 we will release a new major version of this cookbook that removes these resources.
|
||||
As of Chef 14.7+ the windows_share and windows_certificate resources are now included in the Chef Client. Also the windows_zipfile resource is replaced by the new archive_file resource in Chef 15.0.293+. If you are running Chef 14.7+ the resources in Chef client will take precedence over the resources in this cookbook. In November 2019 we will release a new major version of this cookbook that removes these resources.
|
||||
|
||||
### windows_certificate
|
||||
|
||||
@ -135,6 +135,8 @@ end
|
||||
|
||||
### windows_dns
|
||||
|
||||
`Note`: This resource is now included in Chef 15 and later. If you are using newer versions of [windows](https://devblogs.microsoft.com/powershell/configuration-in-a-devops-world-windows-powershell-desired-state-configuration/) then should use the core [resource](https://github.com/chef/chef/blob/master/RELEASE_NOTES.md#windows_dns_record-resource) instead of windows_dns.
|
||||
|
||||
Configures A and CNAME records in Windows DNS. This requires the DNSCMD to be installed, which is done by adding the DNS role to the server or installing the Remote Server Admin Tools.
|
||||
|
||||
#### Actions
|
||||
@ -345,6 +347,8 @@ SeTakeOwnershipPrivilege Take ownership of files or other objects
|
||||
|
||||
### windows_zipfile
|
||||
|
||||
`Note`: This resource has been deprecated as Chef Infra Client 15.0 shipped with a new archive_file resource, which natively handles multiple archive formats. Please update any cookbooks using this resource to instead use the `archive_file` resource: https://docs.chef.io/resource_archive_file.html
|
||||
|
||||
Most version of Windows do not ship with native cli utility for managing compressed files. This resource provides a pure-ruby implementation for managing zip files. Be sure to use the `not_if` or `only_if` meta parameters to guard the resource for idempotence or action will be taken every Chef run.
|
||||
|
||||
#### Actions
|
||||
|
2
ops/cookbooks/vendor/windows/metadata.json
vendored
2
ops/cookbooks/vendor/windows/metadata.json
vendored
File diff suppressed because one or more lines are too long
3
ops/cookbooks/vendor/windows/metadata.rb
vendored
3
ops/cookbooks/vendor/windows/metadata.rb
vendored
@ -3,8 +3,7 @@ maintainer 'Chef Software, Inc.'
|
||||
maintainer_email 'cookbooks@chef.io'
|
||||
license 'Apache-2.0'
|
||||
description 'Provides a set of useful Windows-specific primitives.'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '6.0.0'
|
||||
version '6.0.1'
|
||||
supports 'windows'
|
||||
source_url 'https://github.com/chef-cookbooks/windows'
|
||||
issues_url 'https://github.com/chef-cookbooks/windows/issues'
|
||||
|
@ -23,11 +23,6 @@
|
||||
|
||||
include Windows::Helper
|
||||
|
||||
# Support whyrun
|
||||
def whyrun_supported?
|
||||
true
|
||||
end
|
||||
|
||||
action :create do
|
||||
if @current_resource.exists
|
||||
needs_change = (@new_resource.record_type != @current_resource.record_type) ||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Author:: Richard Lavey (richard.lavey@calastone.com)
|
||||
# Cookbook Name:: windows
|
||||
# Cookbook:: windows
|
||||
# Resource:: dns
|
||||
#
|
||||
# Copyright:: 2015, Calastone Ltd.
|
||||
|
@ -116,6 +116,7 @@ action_class do
|
||||
|
||||
def ensure_rubyzip_gem_installed
|
||||
require 'zip'
|
||||
Chef::Log.warn('The windows_zipfile resource has been deprecated as Chef Infra Client 15.0 shipped with a new archive_file resource, which natively handles multiple archive formats. Please update any cookbooks using this resource to instead use the `archive_file` resource: https://docs.chef.io/resource_archive_file.html')
|
||||
rescue LoadError
|
||||
Chef::Log.info("Missing gem 'rubyzip'...installing now.")
|
||||
chef_gem 'rubyzip' do
|
||||
|
Reference in New Issue
Block a user