lusis / chef-logstash

Semi-official Logstash cookbook
Other
271 stars 353 forks source link

When using runit, don't try to create the service everytime an action is run on it #496

Open crevetor opened 5 years ago

crevetor commented 5 years ago

When using runit if logstash_service gets notified it will always try to enable the service first (creating some templates, etc) because runit's default_action is enable.

This change makes it so that we override the defaut_action when the resource is created. Then we can call whatever action on the created ressource.