summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-21Merge pull request #719 from domcleal/metadata-test-moduleDavid Schmitt
Allow test module metadata.json to be read
2017-02-21Merge pull request #720 from DavidS/fix-hiera-is-not-a-classPaula McMaw
Fix acceptance test failure "Hiera is not a class"
2017-02-20Fix acceptance test failure "Hiera is not a class"David Schmitt
Due to [BKR-969](https://tickets.puppetlabs.com/browse/BKR-969) the global `Hiera` symbol is corrupted. Loading puppet before beaker fixes that.
2017-02-20Merge pull request #715 from domcleal/function-fact-freezeDavid Schmitt
Fix unsupported data type error with rspec-puppet master
2017-02-05Add glob functionSascha Spreitzer
2017-02-04Allow test module metadata.json to be readDominic Cleal
Since puppetlabs/puppet@f2e8e66, the test module's metadata.json is also read causing expectation failures. Like 5c51463, permit it to be read by Puppet.
2017-02-04Fix unsupported data type error with rspec-puppet masterDominic Cleal
The symbol used in the value of the facts hash is not a valid type of value for facts, and results in the following error since rspec-puppet@d50acf0e. Puppet::Error: Unsupported data type: 'Symbol' # puppet/lib/puppet/parser/scope.rb:788:in `deep_freeze' # puppet/lib/puppet/parser/scope.rb:781:in `block in deep_freeze' # puppet/lib/puppet/parser/scope.rb:781:in `each' # puppet/lib/puppet/parser/scope.rb:781:in `deep_freeze' # puppet/lib/puppet/parser/scope.rb:764:in `set_facts' # puppet/lib/puppet/parser/compiler.rb:850:in `set_node_parameters' # puppet/lib/puppet/parser/compiler.rb:166:in `block (2 levels) in compile' # puppet/lib/puppet/util/profiler/around_profiler.rb:58:in `profile' # puppet/lib/puppet/util/profiler.rb:51:in `profile' # puppet/lib/puppet/parser/compiler.rb:166:in `block in compile' # puppet/lib/puppet/context.rb:65:in `override' # puppet/lib/puppet.rb:293:in `override' # puppet/lib/puppet/parser/compiler.rb:162:in `compile' # rspec-puppet/lib/rspec-puppet/example/function_example_group.rb:161:in `build_compiler' The fact's presence doesn't change the behaviour, so remove it.
2017-02-03Add spec test for present + installed convergenceEmerson Prado
2017-02-03Include routine to converge ensure values 'present' and 'installed'Emerson Prado
If user declares ensure_package concurrently with ensure values 'present' and 'installed', function fails as if values were different Change causes function to interpret ensure => 'installed' as 'present', effectively elliminating the error Also works if user doesn't specify ensure value, since 'present' is the default
2017-02-02(FM-6019) - [WIP] - i18N tests for SpikePaula McMaw
2017-01-24Merge pull request #712 from puppetlabs/hunner_msyncEric Putnam
(MODULES-4098) Sync the rest of the files
2017-01-24(MODULES-4098) Sync the rest of the filesHunter Haugen
2017-01-20Merge pull request #713 from wilson208/implement_beaker-module_install_helperDavid Schmitt
Implement beaker-module_install_helper
2017-01-19Implement beaker-module_install_helperWilson McCoubrey
2017-01-18Merge pull request #706 from puppetlabs/hunner_msyncEric Putnam
(MODULES-4097) Sync travis.yml
2017-01-18Merge pull request #711 from HelenCampbell/rpreppBryan Jen
Release Prep for 4.15.0
2017-01-18Remove accidental Solaris version from metadataHelen Campbell
2017-01-18Fix typo in metadata OS compatibilityHelen Campbell
2017-01-18Release Prep for 4.15.0Helen Campbell
2017-01-18Merge pull request #710 from puppetlabs/releaseBryan Jen
Release mergeback - second attempt
2017-01-18Release Mergeback (#709)Helen
* Release prep for 4.14.0
2017-01-13Merge pull request #708 from HelenCampbell/hashcompatDavid Schmitt
Addition of compat hash type for deprecation
2017-01-13Addition of compat hash type for deprecationHelen Campbell
2017-01-10(MODULES-4097) Sync travis.ymlHunter Haugen
2017-01-04Merge pull request #705 from eputnam/xenialDavid Schmitt
add ubuntu xenial to metadata
2017-01-04add ubuntu xenial to metadataEric Putnam
2016-12-20Merge pull request #613 from reidmv/add_puppet_server_factWilson McCoubrey
Add puppet_server fact to return agent's server
2016-12-19Merge pull request #703 from blackknight36/masterDavid Schmitt
Change - Update str2bool documentation
2016-12-19Change - Update str2bool documentationMichael Watters
Updated documentation for this function to be consistent with the function itself.
2016-12-15Merge pull request #640 from hunner/add_pryBryan Jen
Add pry() function from hunner-pry
2016-12-15Merge pull request #702 from puppetlabs/modsyncDavid Schmitt
(FM-5972) gettext and spec.opts
2016-12-14gettext and spec.optsEric Putnam
2016-12-13Merge pull request #700 from petems/MODULES-4188-uuid_functionBryan Jen
(MODULES-4188) Add UUID generation function
2016-12-09Merge pull request #697 from ↵David Schmitt
HAIL9000/issue/master/MODULES-3829_add_tests_for_ensure_resources (MODULES-3829) Add tests for ensure_resources
2016-12-09(MODULES-3829) Make ensure_packages work with < 2.0Hailee Kenney
Prior to this commit, if a hash was passed in as an argument to the ensure_packages function a method of hash duplication would be used that is not supported with versions of ruby older than 2.0. In order to ensure the method is compatible with older ruby versions, switch to a different method of duplication. Additionally add tests to prevent further regressions.
2016-12-09(MODULES-4188) Add FQDN UUID generation functionPeter Souter
* Generates UUID based on a given FQDN string and the DNS namespace (6ba7b810-9dad-11d1-80b4-00c04fd430c8)
2016-12-08(MODULES-3829) Add tests for ensure_resourcesHailee Kenney
Prior to this commit, we didn't have tests for the ensure_resources function (only for the ensure_resource function). This meant that we weren't catching a bug in the ensure_resources function. In order to prevent this in the future, add some tests which test the specific functionality of ensure_resources.
2016-12-08Add pry() function from hunner-pryHunter Haugen
2016-12-05Merge pull request #699 from HelenCampbell/releaseprepTP Honey
Release prep for 4.14.0
2016-12-05Release prep for 4.14.0Helen Campbell
The previous release prep accidentally had 4.13.2 instead of 4.14.0 as is appropriate with releases with features. This is a PR to rectify that. No 4.13.2 release or tag will be made. The 4.14.0 release will go ahead instead.
2016-12-05Merge pull request #698 from HelenCampbell/releaseprepDavid Schmitt
Release prep for 4.13.2
2016-12-05Release prep for 4.13.2Helen Campbell
2016-12-02Merge pull request #696 from puppetlabs/hunner_msyncDavid Schmitt
(MODULES-3631) msync Gemfile for 1.9 frozen strings
2016-12-01(MODULES-3631) msync Gemfile for 1.9 frozen stringsHunter Haugen
2016-12-01Indicate that the type function is preferred (#695)Nick Walker
Prior to this commit, users coming to the type_of function would not realize that the type function in puppet does the same thing and is preferred over type_of. After this commit, we have a comment indicating the above.
2016-11-29Merge pull request #693 from HelenCampbell/moreErrorDetailDavid Schmitt
(MODULES-3393) Deprecation - Use puppet stacktrace if available
2016-11-29Update deprecation tests to include future parserHelen Campbell
2016-11-28Merge pull request #694 from DavidS/fix-v3-deprecation-function-typeEric Putnam
Remove rvalue declaration from v3 deprecation() function
2016-11-27Remove rvalue declaration from v3 deprecation() functionDavid Schmitt
Without this, some uses of this function do not work in puppet3. e.g. if $include_src != undef { deprecation('apt $include_src', "please use \$include => { 'src' => ${include_src} } instead") } causes Function 'deprecation' must be the value of a statement on puppet 3.8.7.
2016-11-24Deprecation - Use puppet stacktrace if availableHelen Campbell
A previous PR (#685) was raised on this issue, however once it was merged it was discovered that Puppet 3 with future parser enabled was calling the Puppet 4 version of the deprecation function. The Puppet stacktrace is not available until Puppet 4.6, so this was breaking existing setups. The solution was to check is the stacktrace was defined, and if it was to use it as part of the message output.