Adding private_key and ca_file as optional parameters. We need this since we our own trusted authorities certificates. Also I am adding the attribute to ensure the service is running, I am not sure why it wasn't set on the resource on the first place but this work for me.
Adding key and CAfile options on the template