From a7b1ed6001cee6a8d0848351ce449a68908cb934 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Mon, 16 May 2016 12:38:26 +0100 Subject: [PATCH] Fix mediawiki site_notice/site_readonly attributes --- cookbooks/mediawiki/resources/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 4985240a6..b05ebe4c3 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -35,8 +35,8 @@ attribute :email_sender, :kind_of => String, :default => "" attribute :email_sender_name, :kind_of => String, :default => "MediaWiki Mail" attribute :commons, :kind_of => [TrueClass, FalseClass], :default => true attribute :skin, :kind_of => String, :default => "vector" -attribute :site_notice, :kind_of => String, :default => "" -attribute :site_readonly, :kind_of => String, :default => "" +attribute :site_notice, :kind_of => [String, TrueClass, FalseClass], :default => false +attribute :site_readonly, :kind_of => [String, TrueClass, FalseClass], :default => false attribute :admin_user, :kind_of => String, :default => "Admin" attribute :admin_password, :kind_of => String, :required => true attribute :ssl_enabled, :kind_of => [TrueClass, FalseClass], :default => false -- 2.39.5