Need to notify the service and not the class as doing so introduces a de...

Need to notify the service and not the class as doing so introduces a dependency cycle.

Error: Could not apply complete catalog: Found 1 dependency cycle:
(File[/etc/default/elasticsearch] => Class[Elasticsearch::Service] => File[/etc/default/elasticsearch])