X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..c61dad4d0afbe41d85716e5231e76d94b6a529af:/cookbooks/mediawiki/resources/skin.rb?ds=inline diff --git a/cookbooks/mediawiki/resources/skin.rb b/cookbooks/mediawiki/resources/skin.rb index 63e162742..e9ac65145 100644 --- a/cookbooks/mediawiki/resources/skin.rb +++ b/cookbooks/mediawiki/resources/skin.rb @@ -19,7 +19,7 @@ default_action :create -property :skin, :kind_of => String, :name_attribute => true +property :skin, :kind_of => String, :name_property => true property :site, :kind_of => String, :required => true property :source, :kind_of => String property :template, :kind_of => String @@ -57,7 +57,7 @@ action :create do end end - if new_resource.template # ~FC023 + if new_resource.template declare_resource :template, "#{mediawiki_directory}/LocalSettings.d/Skin-#{new_resource.skin}.inc.php" do cookbook "mediawiki" source new_resource.template