spamassassin is restarting after each modification even if spamd is disabled
nicutor opened this issue · comments
Nicu B commented
Cookbook Version
2.1.0
Chef Client Version
Chef: 14.10.9
Platform Details
CentOS 7
If node['spamassassin']['spamd']['enabled'] = false, the spamassassin is still restarting after any modification.
Can you fix it by adding something like this each time service[#{service_name}] is notified?
notifies :restart, "service[#{service_name}]" if node['spamassassin']['spamd']['enabled']
Thank you.