I'm not sure exactly what happens, but you can sidestep the issue simply by using two different resource names, and specifying the actual service name with the service_name attribute.
Kevin Keane
The NetTech
http://www.4nettech.com
Our values: Privacy, Liberty, Justice
See https://www.4nettech.com/corp/the-nettech-values.html
-----Original message-----
From: Koert Kuipers < >
Sent: Tuesday 27th January 2015 11:47
To:
Subject: [chef] define same service multiple times
what happens if i define the same service multiple times across recipes?
for example:
i define it once just so i can have it restart if a template changes (but in that recipe i do not enable or start it)
i define it again in another recipe to enable and start it.do these multiple definitions get merged somehow? what if they conflict?
thanks! koert
Archive powered by MHonArc 2.6.16.