attribute :cookbook, :kind_of => String
attribute :template, :kind_of => String, :required => true
attribute :variables, :kind_of => Hash, :default => {}
+attribute :restart_nginx, :kind_of => [TrueClass, FalseClass], :default => true
def after_created
- notifies :restart, "service[nginx]"
+ notifies :restart, "service[nginx]" if restart_nginx
end