summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-12Remove all the pops stuffHunter Haugen
The rspec-puppet matchers don't allow to check the return types, but this is a pretty rare thing to need to do anyway, so probably not worth patching rspec-puppet
2015-05-11(FM-2130) Document new location of facts.d cacheEli Young
2015-05-07Merge pull request #449 from puppetlabs/modulesync_updatesDavid Schmitt
sync via modulesync
2015-05-06sync via modulesyncMorgan Haskel
2015-05-06Merge pull request #448 from DavidS/fix_rangeTP Honey
range(): fix TypeError(can't convert nil into Integer) when using range ...
2015-05-06range(): fix TypeError(can't convert nil into Integer) when using range syntaxDavid Schmitt
2015-05-06Merge pull request #447 from elyscape/fix_rangeDavid Schmitt
Restore removed functionality to range()
2015-05-06Merge pull request #446 from elyscape/fix_pw_hashDavid Schmitt
Fix pw_hash() on JRuby < 1.7.17
2015-05-05range: Clean up and clarify function contentsEli Young
2015-05-05Revert "range: remove dead code"Eli Young
This reverts commit 063c58a992c1b5441b7e7b2a2e4886531035bb25, which actually removed non-dead code. Specifically, it removed the ability to make calls such as `range('2..3')`, `range('2...3')`, and `range('2-3')`. cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#commitcomment-11055565
2015-05-05pw_hash: Fix functionality on JRuby < 1.7.17Eli Young
The previous change to this function broke it on JRuby before 1.7.17 by attempting to use a variable that wasn't defined (`salt`). To fix this, define `salt` ahead of time and use that instead of building the salt later. cf. https://github.com/puppetlabs/puppetlabs-stdlib/pull/443#discussion_r29718588
2015-05-05Merge pull request #443 from DavidS/prep-work-for-new-specsTP Honey
Prep work for new specs
2015-05-05validate_augeas: fix URL to docsDavid Schmitt
2015-05-05range: remove dead codeDavid Schmitt
Since a ParseError is always thrown for zero arguments, the if and all dependent code can be removed.
2015-05-05pw_hash: avoid ruby magic when running on javaDavid Schmitt
2015-05-05spec_helper: Remove unneccesary stubbingDavid Schmitt
This only roots all Facter instances into memory, while something already creates a new Facter instance each run.
2015-05-05spec_helper: use proper mocha import to avoid warningDavid Schmitt
2015-05-05spec_helper: set parser config if requestedDavid Schmitt
2015-05-05spec_helper_acceptance: fix FUTURE_PARSER usageDavid Schmitt
Use the more common "yes", instead of "true" to detect FUTURE_PARSER.
2015-05-05specs: move function specs to where rspec-puppet expects themDavid Schmitt
2015-04-23specs: loosen certain error expectations to make tests pass on future parserDavid Schmitt
2015-04-20Merge pull request #441 from mrzarquon/change_stdlib_to_includeHunter Haugen
uses include type class declaration
2015-04-20uses include type class declarationChris Barker
previous behavior used class { 'stdlib::stages':} which isn't singleton and could cause duplication resource declaration on the stages class. Since many community modules work by calling 'include stdlib' we should make stdlib's include of stages singleton as well.
2015-04-18Merge pull request #440 from DavidS/fix-error-messageTP Honey
fqdn_rand_string: fix argument error message
2015-04-17fqdn_rand_string: fix argument error messageDavid Schmitt
2015-04-16Merge pull request #439 from puppetlabs/4.6.xMorgan Haskel
4.6.x
2015-04-16Merge pull request #314 from amateo/feature/loadyaml_check_fileMorgan Haskel
Check if file exists before loading with loadyaml. If not, return nil
2015-04-14Merge pull request #438 from hunner/fix_dateBryan Jen
Fix the 4.6.0 release date
2015-04-14Fix the 4.6.0 release dateHunter Haugen
2015-04-14Merge pull request #437 from hunner/release_4.6.0Morgan Haskel
Prep for 4.6.0
2015-04-14Prep for 4.6.0Hunter Haugen
2015-04-13test case for when the file does not existAngel L. Mateo
2015-04-10Merge pull request #434 from bmjen/modules-2474Hunter Haugen
Modules-2474: Only runs enhanced salts functions test on systems that ...
2015-04-10Modules-2474: Only runs enhanced salts functional test on systems that ↵Bryan Jen
support it.
2015-04-10Merge pull request #433 from cmurphy/fix_acceptanceBryan Jen
Fix acceptance tests for #405
2015-04-10Fix acceptance tests for #405Colleen Murphy
This fixes the acceptance tests by: - Ensuring the fqdn_rand_string spec is passed undef as the second parameter so that the seed is not used as the charset - Ensuring the pw_hash spec is passed the key specifying the type of hash, rather than the value that will be used to generate the password - Expecting puppet to report nil instead of empty string for undef passwords - Removing the fqdn_rand_base64 test because there is no such function
2015-04-10Merge pull request #425 from jeffcoat/validate_augeas_specDavid Schmitt
Fix off-by-one error in validate_augeas_spec.rb that was causing rspec failure Even without the gem installed always, this is helpful to avoid errors should augeas be enabled/installed due to something else.
2015-04-09Merge pull request #431 from bmjen/file-line-refactorMorgan Haskel
File_line checks provided after param if no match is found
2015-04-09Merge pull request #432 from cmurphy/fix_acceptance_undefined_varMorgan Haskel
Fix unsupported platforms variable name in tests
2015-04-09Fix unsupported platforms variable name in testsColleen Murphy
unsupported_platforms is not a valid identifier, and trying to use it causes acceptance tests to error out before running any tests. The correct identifier for the unsupported platforms constants is UNSUPPORTED_PLATFORMS.
2015-04-09Add spec tests and pulled in PR #427Travis Fields
Changed append line to open in 'w' mode and have to rewrite lines in order to append new line
2015-04-09file_line honors after if match not found.Bryan Jen
2015-04-09Merge pull request #430 from mhaskel/gjngeldenhuis-docupdateHunter Haugen
Clarifying behaviour of attributes and adding an extra example.
2015-04-09Clarifying behaviour of attributes and adding an extra example.Gerrard Geldenhuis
2015-04-09Merge pull request #405 from elyscape/feature/fqdn_rand_stringsHunter Haugen
(MODULES-1715) Add FQDN-based random string generator
2015-04-09Merge pull request #408 from elyscape/feature/pw_hashHunter Haugen
(MODULES-1737) Add pw_hash() function
2015-04-09Merge pull request #429 from DavidS/modulesync-configs-updateMorgan Haskel
Update Travis CI job from current modulesync_configs
2015-04-08Update Travis CI job from current modulesync_configsDavid Schmitt
2015-04-05(MODULES-1737) Add pw_hash() functionEli Young
2015-03-31(MODULES-1715) Add fqdn_rand string generatorsEli Young