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]