Puppet function to create and manage secrets for nodes on puppet master