I'm using Puppet for a custom system service (GitLab Runner in Docker). I want Puppet to set up and start the service, but I also want to be able to stop and restart it anytime (e.g. through SSH). I read about Puppet's service resource, but it doesn't tell how to control the services or whether it's possible at all.
In case this is not possible in Puppet, what is the best practice regarding this? Writing multiple service configs (e.g. systemd unit file, init.d shell scripts etc.)