Update upstream cookbooks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user