Need to notify the service and not the class as doing do introduces a dependency cycle

Fixes dependency cycle when restart_on_change is true (default)
Error: Could not apply complete catalog: Found 1 dependency cycle:
(File[/etc/default/elasticsearch] => Class[Elasticsearch::Service] => File[/etc/default/elasticsearch])