summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-19Merge pull request #477 from mhaskel/aio_fixTravis Fields
AIO uses puppet 4 so should return true for is_future_parser_enabled
2015-06-19AIO uses puppet 4 so should return true for is_future_parser_enabledMorgan Haskel
2015-06-19Merge pull request #474 from DavidS/fix-getvar-specsJT (Jonny)
(maint) getvar: update spec to match implementation
2015-06-12(maint) getvar: update spec to match implementationDavid Schmitt
2015-06-11Merge pull request #470 from Yelp/getvar_future_parserDavid Schmitt
Also catch :undefined_variable as thrown by future parser
2015-06-09Merge pull request #472 from justinstoller/maint/master/set_puppet_versionDavid Schmitt
(maint) update PUPPET_VERSION default to be 3.8.1
2015-06-08(maint) update PUPPET_VERSION default to be 3.8.1Justin Stoller
2015-06-05Merge pull request #471 from puppetlabs/travisci_updateTP Honey
Updated travisci file to remove allow_failures on Puppet4
2015-06-05Also catch :undefined_variable as thrown by future parserTomas Doran
2015-06-04Merge pull request #469 from hunner/fix_timeMorgan Haskel
Fix time() on 1.8.7
2015-06-04Fix time() on 1.8.7Hunter Haugen
The time() function takes an argument of a timezone, and always returns time in epoch format. The epoch format is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds. This means that it is universally the same regardless of timezones. I don't know what the timezone argument is supposed to do, and it is not documented. So lets just make 1.8.7 work like > 1.8.7
2015-06-04Updated travisci file to remove allow_failures on Puppet4Jonathan Tripathy
2015-06-03Merge pull request #468 from kylog/camels-all-the-way-downDavid Schmitt
Fix spelling of camelcase
2015-06-03Merge pull request #466 from elyscape/fix/improve_fqdn_acceptance_testsDavid Schmitt
Improve fqdn_rotate/fqdn_rand_string acceptance tests
2015-06-02(doc) Fix spelling of camelcase in CHANGELOG.mdKylo Ginsberg
2015-06-02fqdn_rand_string: Add acceptance tests for custom charsetsEli Young
2015-06-02fqdn_rotate: Add acceptance tests for custom seedsEli Young
2015-06-02Merge pull request #467 from DavidS/document-rspec-puppet-version-reqsTP Honey
Gemfile: specify minimum rspec-puppet version
2015-06-02Gemfile: specify minimum rspec-puppet versionDavid Schmitt
Only 2.2 contains all the features we're currently using. Documenting that in the Gemfile should make that clear.
2015-06-02Merge pull request #462 from elyscape/fix/fqdn_rotate_seeds_with_argumentDavid Schmitt
fqdn_rotate: Don't use the value itself as part of the random seed
2015-06-01fqdn_rotate: Add tests for custom seedsEli Young
2015-06-01fqdn_rotate: Improve documentationEli Young
2015-06-01fqdn_rotate: Don't use the value itself as part of the random seedEli Young
Previously, the random number generator was seeded with the array or string to be rotated in addition to any values specifically provided for seeding. This behavior is potentially insecure in that it allows an attacker who can modify the source data to choose the post-shuffle order.
2015-06-01Merge pull request #464 from DavidS/modules-1882-convert-to-rspecHunter Haugen
(MODULES-1882) convert function tests to rspec-puppet
2015-06-01Remove unused puppet_spec codeDavid Schmitt
This is copied and changed code from an older version of puppet's internal test setup code. It does not work with puppet4.
2015-06-01Convert tests to use plain rspec-puppetDavid Schmitt
Tests in the new style produces the following documentation output: abs should not eq nil should run abs() and raise an Puppet::ParseError should run abs(-34) and return 34 should run abs("-34") and return 34 should run abs(34) and return 34 should run abs("34") and return 34
2015-06-01spec_helper: implement an easy way for specs to confine to puppet versionDavid Schmitt
Usage: describe 'puppet3 behaviour', :unless => RSpec.configuration.puppet_future do describe 'puppet4 behaviour', :if => RSpec.configuration.puppet_future do
2015-06-01Add the missing symlinks to get puppet 4 pickup the functions from the ↵David Schmitt
environmentpath
2015-06-01root all the gitignore patterns to avoid unintentional matchesDavid Schmitt
2015-06-01Remove duplicate rake task and enable metadata.json lintingDavid Schmitt
The :validate task is already provided by puppetlabs_spec_helper/rake_tasks and would check files twice. The metadata.json linting is just good form.
2015-06-01Workaround the broken rspec-mocks support in rspec-puppetDavid Schmitt
2015-06-01Enable bundler caching on travisDavid Schmitt
2015-05-30Merge pull request #465 from igalic/patch-1David Schmitt
simplify mac address regex
2015-05-29simplify mac address regexIgor Galić
let the computer do the counting and repetition and case
2015-05-29Merge pull request #463 from CENGN/fix/master/file_line_multiple_afterDavid Schmitt
(MODULES-2071) Patch file_line provider to use multiple with after
2015-05-29 (MODULES-2071) Refactor file_line provider to contain logic to handle ↵Raymond Maika
parameter multiple in function handle_create_with_after Without this, file_line resource without the `match` parameter but with the `after` param will throw an error if there are multiple matches for the after expression. This patch creates the handling for the `multiple` parameter in handle_create_with_after. This allows you to add a line after the `after` expression if it appears at multiple points in a file. Updated reference to `file_line` in the README to reflect that the multiple parameter can be set when using `after` and/or `match` as the matching regex.
2015-05-28Merge pull request #461 from DavidS/validate-hashesTP Honey
validate_integer, validate_numeric: explicitely reject hashes in arrays
2015-05-27validate_integer, validate_numeric: explicitely reject hashes in arraysDavid Schmitt
Without this patch, Ruby 1.8's Hash#to_s behaviour causes [{1=>2}] to be treated as "12" when validating values.
2015-05-27Add ability to unittest puppet 4Hunter Haugen
2015-05-26Merge pull request #460 from DavidS/fix-fqdn_rotate-seedTP Honey
fqdn_rotate: reset srand seed correctly on old ruby versions
2015-05-26fqdn_rotate: reset srand seed correctly on old ruby versionsDavid Schmitt
Without this, the global seed is reseeded on every use of fqdn_rotate, which is a waste. Older rubies might even use a time-base seed which adversly impacts the quality of the RNG.
2015-05-21Merge pull request #454 from elyscape/document_facts.d_cacheBryan Jen
(FM-2130) Document new location of facts.d cache
2015-05-21Merge pull request #455 from hunner/change_type_of_testMorgan Haskel
Remove all the pops stuff
2015-05-21Merge pull request #458 from ghoneycutt/patch-1Morgan Haskel
Update CHANGELOG.md
2015-05-20Update CHANGELOG.mdGarrett Honeycutt
2015-05-14Merge pull request #456 from jtappa/readme-editsBryan Jen
DOC-1504: Readme edits
2015-05-14DOC-1504: README editsJorie Tappa
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