Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-06 | (PUP-716) Change Puppet::FileSystem::File to module methods | Henrik Lindberg | 1 | -1/+1 | |
This changes the API in a new implementation in a file called file_.rb The intent is that it should replace the implemntation in File, or perhaps directly in a Puppet::FileSystem class. | |||||
2013-12-06 | (#23369) Handle invalid CSR attribute contents | Josh Cooper | 1 | -7/+47 | |
Previously, Puppet::Util::Yaml.load_file returned false when the file was empty, causing the CSR attributes code to call non-existent methods on `false`. In addition, the code assumed that the YAML file contained a Hash, and attempted to invoke non-existent methods on the loaded object. This commit passes in a fallback value for the load_file invocation, so that if the file is empty or contains only whitespace, we still generate the CSR. But if the file contains something other than a Hash, e.g. Arrray, then we raise an exception so we don't generate a CSR with unexpected data. Tests based on work by Josh Partlow <joshua.partlow@puppetlabs.com> Paired-with: Adrien Thebo <adrien@puppetlabs.com> | |||||
2013-11-19 | (#23201) Expose custom extensions in the certificate | Josh Partlow | 1 | -0/+90 | |
Certificates generated by the Puppet CA come with a number of standard extensions, but users may want to create certs with custom extensions and then retrieve them later. This commit adds a mechanism for adding extension requests to the CSR from the csr_attributes file and exposes custom extensions on the signed certificate. |