How do I specify in puppet the start/restart of a service If I have ubuntu 14 and ubuntu 16.x and all the other ubuntu versions that will come.
For ubuntus 16X + I have to use systemd and for lower versions like 14, I use /etc/init.d/xxx [start,restart,stop] etc.
How do I specify that so puppet knows the way to action according the release of the ubuntu OS.
Thanks.
↧