X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/326bfea5448bcd22cd294a1fd0f2505bf083f6cf..5fef39842bb8b48f83422b60e8baacc63106ee24:/cookbooks/wordpress/resources/site.rb diff --git a/cookbooks/wordpress/resources/site.rb b/cookbooks/wordpress/resources/site.rb index c86705d5d..1771c2a1b 100644 --- a/cookbooks/wordpress/resources/site.rb +++ b/cookbooks/wordpress/resources/site.rb @@ -25,8 +25,8 @@ property :aliases, :kind_of => [String, Array] property :directory, :kind_of => String property :version, :kind_of => String property :database_name, :kind_of => String, :required => true -property :database_user, :kind_of => String, :required => true -property :database_password, :kind_of => String, :required => true +property :database_user, :kind_of => String, :required => [:create] +property :database_password, :kind_of => String, :required => [:create] property :database_prefix, :kind_of => String, :default => "wp_" property :urls, :kind_of => Hash, :default => {} property :reload_apache, :kind_of => [TrueClass, FalseClass], :default => true