Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-01-08 | Add a function to validate an x509 RSA key pair | Matt Bostock | |
Add a function to validate an x509 RSA certificate and key pair, as commonly used for TLS certificates. The rationale behind this is that we store our TLS certificates and private keys in Hiera YAML files, and poor indentation or formatting in the YAML file could cause a valid certificate to be considered invalid. Will cause the Puppet run to fail if: - an invalid certificate is detected - an invalid RSA key is detected - the certificate does not match the key, i.e. the certificate has not been signed by the supplied key The test certificates I've used in the spec tests were generated using the Go standard library: $ go run $GOROOT/src/crypto/tls/generate_cert.go -host localhost Example output: ==> cache-1.router: Error: Not a valid RSA key: Neither PUB key nor PRIV key:: nested asn1 error at /var/govuk/puppet/modules/nginx/manifests/config/ssl.pp:30 on node cache-1.router.dev.gov.uk | |||
2016-01-07 | Merge pull request #565 from tphoney/4.11.0_tweak | David Schmitt | |
minor tweak to 4.11.0 adding debian 8 to metadata | |||
2016-01-07 | minor tweak to 4.11.0 adding debian 8 to metadata | tphoney | |
2016-01-04 | Merge pull request #545 from mpolenchuk/master | David Schmitt | |
Add clamp function | |||
2015-12-31 | Merge pull request #564 from tphoney/4.11.0_prep | Jesse Lovelace | |
4.11.0 prep | |||
2015-12-31 | Add clamp function | Michael Polenchuk | |
Clamp keeps value within the range. Employ of soft() makes the whole thing is independant of order. | |||
2015-12-30 | 4.11.0 prep | tphoney | |
2015-12-21 | Merge pull request #553 from logicminds/absolute_path | Bryan Jen | |
adds new parser called is_absolute_path | |||
2015-12-21 | Merge pull request #561 from DavidS/fix-package_provider | TP Honey | |
Allow package_provider fact to resolve on PE 3.x | |||
2015-12-18 | Allow package_provider fact to resolve on PE 3.x | David Schmitt | |
PE 3.x emits a puppetversion fact in the format "3.x.x (Puppet Enterprise 3.x.x)". This fact causes an error when invoked on PE 3.x: Could not retrieve fact='package_provider', resolution='<anonymous>': Malformed version number string 3.8.1 (Puppet Enterprise 3.8.1 This fix has been tested on PE 3.8.2 and should work for PE 3.3, 3.7, and 3.8. Original-fix-by: Alex Harden <aharden@gmail.com> | |||
2015-12-17 | Merge pull request #559 from DavidS/fm-3802-fix-ensure_resource-test | TP Honey | |
(FM-3802) make ensure_resource test of packages | |||
2015-12-17 | (FM-3802) make ensure_resource test of packages | David Schmitt | |
This ensures that the test passes independently of changes to rubygems. | |||
2015-12-15 | refactors the validate_absolute_path to utilize the is_absolute_path | Corey Osman | |
2015-12-15 | adds new parser called is_absolute_path | Corey Osman | |
* is_absolute_path returns boolean true if the given path is absolute, returns false otherwise. * works for windows and unix | |||
2015-12-15 | Merge pull request #558 from puppetlabs/4.10.x | Jesse Lovelace | |
4.10.x mergeback | |||
2015-12-14 | Merge pull request #557 from jbondpdx/4.10.x | Bryan Jen | |
edits to README | |||
2015-12-14 | more carriage returns | jbondpdx | |
2015-12-14 | more carriage returns, no | jbondpdx | |
2015-12-14 | removing mid-line carriage returns | jbondpdx | |
2015-12-14 | edits to README | jbondpdx | |
2015-12-11 | Merge pull request #556 from HelenCampbell/4.10.0_prep | Bryan Jen | |
Changelog and versionbump for 4.10.0 | |||
2015-12-11 | Changelog and versionbump for 4.10.0 | Helen Campbell | |
2015-12-10 | Merge pull request #554 from kjetilho/ticket/2886-seeded_rand | Bryan Jen | |
(#2886) seeded_rand: new function | |||
2015-12-08 | Merge pull request #555 from puppetlabs/4.9.x | TP Honey | |
4.9.x Mergeback | |||
2015-12-08 | (#2886) seeded_rand: new function | Kjetil Torgrim Homme | |
seeded_rand is needed for repeatable randomness across nodes in a cluster | |||
2015-11-30 | Merge pull request #546 from jdevesa/validate_ip | Bryan Jen | |
Add validator for any IP address | |||
2015-11-30 | Add validator for any IP address | Jaume Devesa | |
Provide a validator for IP addresses, regardless they are IPv4 or IPv6, and its documentation. | |||
2015-11-24 | Merge pull request #550 from tphoney/release_4.9.1 | Bryan Jen | |
4.9.1 release prep | |||
2015-11-24 | 4.9.1 release prep | tphoney | |
2015-11-24 | Merge pull request #551 from mattbostock/fix_ipv4_doc | David Schmitt | |
Fix reference to validate_bool in IP4 function | |||
2015-11-23 | Fix reference to validate_bool in IP4 function | Matt Bostock | |
The documentation in `validate_ipv4_address` references `validate_bool`, but I believe this should read `validate_ipv4_address` instead, which makes more sense. | |||
2015-11-20 | Merge pull request #548 from bmjen/ruby187 | Hunter Haugen | |
Fix Gemfile to work with ruby 1.8.7 | |||
2015-11-20 | Fix Gemfile to work with ruby 1.8.7 | Bryan Jen | |
2015-11-20 | Merge pull request #543 from ghoneycutt/patch-2 | Bryan Jen | |
Use absolute class name in example | |||
2015-11-20 | Merge pull request #547 from reidmv/fm_3773 | Bryan Jen | |
(FM-3773) Fix root_home fact on AIX 5.x | |||
2015-11-19 | (FM-3773) Fix root_home fact on AIX 5.x | Reid Vandewiele | |
The -C (capital C) flag to lsuser is incorrect. It should be -c (lowercase). this commit updates the aix root_home fact to use `lsuser -c`, rather than `lsuser -C`. | |||
2015-11-09 | Merge pull request #544 from HelenCampbell/readmeaddition | David Schmitt | |
pick_default addition to readme | |||
2015-11-09 | pick_default addition to readme | Helen Campbell | |
2015-11-06 | Use absolute class name in example | Garrett Honeycutt | |
2015-11-06 | Merge pull request #542 from greg0ire/patch-1 | Helen | |
use properly encoded characters | |||
2015-11-03 | use properly encoded characters | Grégoire Paris | |
This is more severe than it sounds. These characters make puppet fail with the following message : > Error 400 on SERVER: "\xC3" on US-ASCII | |||
2015-10-28 | Merge pull request #541 from mattflaschen/patch-1 | David Schmitt | |
Fix capitalize docs | |||
2015-10-27 | Fix capitalize docs | Matt Flaschen | |
Capitalize lower-cases the remaining characters (due to the Ruby function having this behavior); document this, and make minor wording tweaks. | |||
2015-10-23 | Merge pull request #540 from marrero984/update_str2bool_readme | David Schmitt | |
(#2183) updated str2bool readme wording | |||
2015-10-22 | (#2183) updated str2bool readme wording | marrero984 | |
2015-10-16 | Merge pull request #538 from mmckinst/bool2str_enhance | David Schmitt | |
add functionality to bool2str function | |||
2015-10-15 | add functionality to bool2str to return strings of your choice for a boolean | Mark McKinstry | |
2015-10-15 | Merge pull request #539 from mentat/MODULES-2696 | Hunter Haugen | |
Add check to ensure regex does not throw for none type. | |||
2015-10-15 | Add check to ensure regex does not throw for none type. | Jesse Lovelace | |
Add a quick check to ensure puppetversion value is not nil and supporting test. | |||
2015-10-15 | Merge pull request #537 from cmurphy/fix_load_module_metadata | David Schmitt | |
Fix load module metadata |