Update upstream cookbooks

This commit is contained in:
Greg Karékinian
2017-03-20 13:19:10 +00:00
parent bfd2d52ea8
commit bcfd44b923
340 changed files with 12576 additions and 5465 deletions

View File

@@ -1,10 +1,10 @@
#
# Author:: Kendrick Martin (kendrick.martin@webtrends.com)
# Contributor:: David Dvorak (david.dvorak@webtrends.com)
# Cookbook Name:: iis
# Cookbook:: iis
# Resource:: config
#
# Copyright:: 2011, Webtrends Inc.
# Copyright:: 2011-2016, Webtrends Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -27,15 +27,19 @@ include Opscode::IIS::Processors
# :config deprecated, use :set instead
action :config do
config
Chef::Log.warn <<-eos
Use of action `:config` in resource `iis_config` is now deprecated and will be removed in a future release (v4.2.0).
`:set` should be used instead.
eos
new_resource.updated_by_last_action(true) if config
end
action :set do
config
new_resource.updated_by_last_action(true) if config
end
action :clear do
config(:clear)
new_resource.updated_by_last_action(true) if config(:clear)
end
def config(action = :set)