NameError ——— undefined local variable or method `service_name' when Chef executes on a node – CentOS
I have a chef recipe which downloads the jar from artifactory and creates a service for that java jar under /etc/systemd/system folder. It used to work with chef version 13.9.4 but with version 14.12.9 I am getting the error: NameError…