Update cookbooks and add wordpress cookbook
This commit is contained in:
@@ -26,4 +26,7 @@ attribute :path, kind_of: String, default: '/'
|
||||
attribute :application_pool, kind_of: String
|
||||
attribute :physical_path, kind_of: String
|
||||
attribute :enabled_protocols, kind_of: String
|
||||
attribute :default_documents, kind_of: Array, default: []
|
||||
attribute :mime_maps, kind_of: Array, default: []
|
||||
|
||||
attr_accessor :exists, :running
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
actions :config
|
||||
default_action :config
|
||||
actions :config, :clear, :set
|
||||
default_action :set
|
||||
|
||||
attribute :cfg_cmd, kind_of: String, name_attribute: true
|
||||
attribute :returns, kind_of: [Integer, Array], default: 0
|
||||
|
||||
@@ -18,11 +18,13 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
actions :add, :delete
|
||||
actions :add, :delete, :install, :uninstall
|
||||
default_action :add
|
||||
|
||||
attribute :module_name, kind_of: String, name_attribute: true
|
||||
attribute :type, kind_of: String, default: nil
|
||||
attribute :add, kind_of: [FalseClass, TrueClass], default: nil
|
||||
attribute :image, kind_of: String, default: nil
|
||||
attribute :precondition, kind_of: String, default: nil
|
||||
attribute :application, kind_of: String, default: nil
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ attribute :pool_password, kind_of: String
|
||||
attribute :logon_type, kind_of: Symbol, equal_to: [:LogonBatch, :LogonService], default: :LogonBatch
|
||||
attribute :manual_group_membership, kind_of: [TrueClass, FalseClass], default: false
|
||||
attribute :idle_timeout, kind_of: String, default: '00:20:00'
|
||||
attribute :idle_timeout_action, kind_of: Symbol, equal_to: [:Terminate, :Suspend], default: :Terminate
|
||||
attribute :shutdown_time_limit, kind_of: String, default: '00:01:30'
|
||||
attribute :startup_time_limit, kind_of: String, default: '00:01:30'
|
||||
attribute :pinging_enabled, kind_of: [TrueClass, FalseClass], default: true
|
||||
|
||||
31
cookbooks/iis/resources/root.rb
Normal file
31
cookbooks/iis/resources/root.rb
Normal file
File diff suppressed because one or more lines are too long
@@ -30,7 +30,7 @@ attribute :host_header, kind_of: String, default: nil
|
||||
attribute :bindings, kind_of: String, default: nil
|
||||
attribute :application_pool, kind_of: String, default: nil
|
||||
attribute :options, kind_of: String, default: ''
|
||||
attribute :log_directory, kind_of: String, default: "#{node['iis']['pubroot']}\\logs\\LogFiles"
|
||||
attribute :log_directory, kind_of: String, default: node['iis']['log_dir']
|
||||
attribute :log_period, kind_of: Symbol, default: :Daily, equal_to: [:Daily, :Hourly, :MaxSize, :Monthly, :Weekly]
|
||||
attribute :log_truncsize, kind_of: Integer, default: 1_048_576
|
||||
|
||||
|
||||
Reference in New Issue
Block a user