HomePhorge

(PUP-1955) Use symbols not booleans in purge_ssh_keys
cefd13e32311Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1955) Use symbols not booleans in purge_ssh_keys

Unfortunately, defaultto false is somewhat broken: a parameter default of
false is cast to nil (PUP-1955). This patch alters the boolean
representation of the User Type parameter purge_ssh_keys to use Symbols
instead of booleans as deafaultto :false works correctly.

Also added some logic to convert boolean values (true) and string values
("true") to symbols during munging. Both of these cases can occur depending
on whether a quoted string or bare word is used to define a parameter in the
Puppet manifest.

Details

Provenance
Charlie Sharpsteen <chuck@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU7807591405af: (PUP-1978) Fix issues with [] operator error reporting
Branches
Unknown
Tags
Unknown

Event Timeline

Charlie Sharpsteen <chuck@puppetlabs.com> committed rPUcefd13e32311: (PUP-1955) Use symbols not booleans in purge_ssh_keys (authored by Charlie Sharpsteen <chuck@puppetlabs.com>).Mar 19 2014, 8:12 AM