X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/66cfdd2bef9b3b0b36bbadf42563a6e4a35f29d6..5456576609cbee101e13b251d2dfe9c850445da3:/cookbooks/mediawiki/resources/site.rb diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 476ce1699..7bf4d5abc 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -23,7 +23,6 @@ default_action :create property :site, :kind_of => String, :name_property => true property :aliases, :kind_of => [String, Array] -property :directory, :kind_of => String property :version, :kind_of => String, :default => "1.39" property :database_name, :kind_of => String, :required => true property :database_user, :kind_of => String, :required => [:create, :update] @@ -560,7 +559,7 @@ action_class do include OpenStreetMap::Mixin::PersistentToken def site_directory - new_resource.directory || "/srv/#{new_resource.site}" + "/srv/#{new_resource.site}" end def mediawiki_reference