aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-18(maint) Consolidate translated stringsMelissa Stone
2018-08-17Merge pull request #6 from puppetlabs/releaseJosh Cooper
Merge release branch back into master
2018-08-17Merge pull request #5 from melissa/maint/release/enable-locJosh Cooper
(PUP-9053) Enable localization
2018-08-16(PUP-9053) Enable localizationMelissa Stone
2018-08-15Merge pull request #4 from melissa/1.0.1-releaseJosh Cooper
1.0.1 release
2018-08-15Prep for the 1.0.1 releaseMelissa Stone
2018-08-15(PUP-9052) Bump puppet req to at least puppet 6Melissa Stone
2018-08-15Merge remote-tracking branch 'upstream/master' into releaseMelissa Stone
2018-07-18Merge pull request #3 from puppetlabs/install-modules-onMelissa
Include puppet 6 and remove default role
2018-07-17Include puppet 6 and remove default roleJosh Cooper
* bump max version to 7 * install module on all hosts, not just those with the default role * point project URL to module's README
2018-07-17Merge pull request #2 from melissa/maint/master/update-beaker-puppetJosh Cooper
(maint) Update beaker-puppet version to 0.16
2018-07-17(maint) Update beaker-puppet version to 0.16Melissa Stone
2018-07-16Merge pull request #1 from jhelwig/remove-evalJosh Cooper
Safely deserialize stringified array
2018-07-16(maint) Move array parser logic into a util moduleJacob Helwig
2018-07-12(MODULE-7443) Safely deserialize stringified arrayJacob Helwig
This ports PUP-8974, and the related follow-up maintenance commits from the Puppet repo. The augeas provider used Kernel#eval to convert stringified arrays to Ruby arrays. For example, it extracted the array part of the "clause" below: onlyif => 'values HostKey == ["/etc/ssh/ssh_host_rsa_key"]' and called Kernel#eval with '["/etc/ssh/ssh_host_rsa_key"]'. Using eval is bad because it executes arbitrary code. This commit changes the provider to convert the comma delimited string to a Ruby array. This mostly maintains the functionality of the original Kernel#eval (minus running arbitrary code) except for no longer handling the \M-x, \M-\C-x, \M-\cx, \c\M-x, \c?, and \C-? escape sequences in double-quoted strings, and \u{nnnn ...} is more lenient about whitespace.
2018-07-02Bump version to 1.0.0Josh Cooper
2018-06-28Fix typoJosh Cooper
2018-06-28Document module using puppet stringsJosh Cooper
2018-06-28Add puppet-stringsJosh Cooper
2018-06-28Bump version to 0.9.0Josh Cooper
2018-06-28pdk update using 1.6.0Josh Cooper
2018-06-28Update metadataJosh Cooper
2018-06-28Convert beaker tests to rspecJosh Cooper
Add default nodeset for ubuntu 16.04
2018-06-28Don't eval stringsJosh Cooper
Previously we were using eval to convert stringified arrays from the manifest into a ruby array. Use JSON instead, and ensure values are double quoted as required by JSON.
2018-06-28Run pdk updateJosh Cooper
Update rubocop rules and Gemfile
2018-06-28Move rubocopy overrides to .sync.ymlJosh Cooper
2018-06-28Use loop with breakJosh Cooper
See https://github.com/rubocop-hq/ruby-style-guide/commit/df933c0f9b3a805c00e5ef81889992b1aec787a7
2018-06-27Use guard clause and avoid assignment in conditionalJosh Cooper
2018-06-27Use rspec let instead of instance variablesJosh Cooper
Also remove shebang line, as they are not executable via ruby.
2018-06-27Automatic update of rubocop violationsJosh Cooper
Add exclusions for: Layout/IndentHeredoc, Metrics/BlockNesting: Metrics/LineLength: Style/AccessorMethodName: Style/DoubleNegation: Style/MultipleComparison: Style/NumericPredicate: Style/PredicateName: Style/SignalException: Style/VariableName: SignalException is disabled because Puppet::Type#fail overrides Kernel#fail, and we really do want fail and not raise.
2018-06-27Update for pdk test unitJosh Cooper
Add tmpfile helper
2018-06-27Initial augeas import from puppet#2b83deb189Josh Cooper
2018-06-27Module creation using pdk 1.5Josh Cooper
2018-06-27Initial commitJosh Cooper