]> git.openstreetmap.org Git - chef.git/commitdiff
Make default mw file extensions a blank array
authorGrant Slater <grant.slater@wearefriday.com>
Sun, 9 Aug 2015 11:00:08 +0000 (12:00 +0100)
committerGrant Slater <grant.slater@wearefriday.com>
Sun, 9 Aug 2015 11:00:08 +0000 (12:00 +0100)
cookbooks/mediawiki/resources/site.rb

index 32916d2bcee38fc452fc08eb7da428ec86b8d69a..a210e806b6ac8498b6486f27b4a8b83a4b222b2f 100644 (file)
@@ -46,7 +46,7 @@ attribute :private_accounts, :kind_of => [TrueClass, FalseClass], :default => fa
 attribute :private, :kind_of => [TrueClass, FalseClass], :default => false
 attribute :recaptcha_public_key, :kind_of => String
 attribute :recaptcha_private_key, :kind_of => String
 attribute :private, :kind_of => [TrueClass, FalseClass], :default => false
 attribute :recaptcha_public_key, :kind_of => String
 attribute :recaptcha_private_key, :kind_of => String
-attribute :extra_file_extensions, :kind_of => [String, Array]
+attribute :extra_file_extensions, :kind_of => [String, Array], :default => []
 attribute :reload_apache, :kind_of => [TrueClass, FalseClass], :default => true
 
 def after_created
 attribute :reload_apache, :kind_of => [TrueClass, FalseClass], :default => true
 
 def after_created