Better SSL handling, only use the puppet module when its needed