class RuboCop::Cop::Chef::Correctness::InvalidNotificationResource

The resource to notify when calling ‘notifies` or `subscribes` must be a string.

@example

### incorrect

template '/etc/www/configures-apache.conf' do
  notifies :restart, service['apache'], :immediately
end

template '/etc/www/configures-apache.conf' do
  notifies :restart, service[apache], :immediately
end

### correct

template '/etc/www/configures-apache.conf' do
  notifies :restart, 'service[apache]', :immediately
end