X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3a38185237fab2c369bce4cdc3723f1fa563c1c1..1cb6635911ae9d6feab1c8efc7d4c33380169cd5:/cookbooks/mediawiki/resources/skin.rb diff --git a/cookbooks/mediawiki/resources/skin.rb b/cookbooks/mediawiki/resources/skin.rb index 1e4aba290..3aa00ce25 100644 --- a/cookbooks/mediawiki/resources/skin.rb +++ b/cookbooks/mediawiki/resources/skin.rb @@ -27,12 +27,12 @@ attribute :template, :kind_of => String attribute :variables, :kind_of => Hash, :default => {} attribute :version, :kind_of => String attribute :repository, :kind_of => String -attribute :tag, :kind_of => String +attribute :revision, :kind_of => String attribute :update_site, :kind_of => [TrueClass, FalseClass], :default => true def after_created if update_site - notifies :update, "mediawik_site[site]" + notifies :update, "mediawiki_site[#{site}]" else site_directory = node[:mediawiki][:sites][site][:directory]