mitchellh/vagrant — pull request #902 by dbroeglin (2012-04-26 10:01:59+00:00)
Title: Permit setting the cert and private key by the puppet server provisioner (plugin version)

Re. https://github.com/mitchellh/vagrant/issues/810

There are two small changes in a separate commit that just allow the puppet server provisioner to work (typos).

This version is updated for the new plugin architecture. It allows both inline certs/keys and files:

puppet.client_certificate_path = "~/.puppet_ssl/certs/test.sample.ch.pem"
puppet.client_private_key_path = "~/.puppet_ssl/private_keys/test.sample.ch.pem"

puppet.client_certificate = <<-EOF
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
EOF
puppet.client_private_key = <<-EOF
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
EOF