summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-13(#FM-6068) allow file encoding to be specified (#726)Geoff Williams
* (#FM-6068) allow file encoding to be specified Add a new parameter `encoding` to allow non UTF-8 files to specify a file encoding. This prevents receiving the error message "invalid byte sequence in UTF-8" when special characters that are not UTF-8 encoded appear in the input stream, such as the copyright symbol. * (#FM-6068) allow file encoding to be specified Added docs and tests as requested
2017-03-10Merge pull request #735 from bulletproofnetworks/masterWilson McCoubrey
Should only try to apply the resource if it not defined
2017-03-10Should only try to aplpy the resource if it not definedmbakerbp
2017-03-08Merge pull request #734 from pmcmaw/FM-6086-unitTestsTP Honey
(FM-6086) - Unit tests for Resource Types
2017-03-08(FM-6086) - Unit tests for Resource TypesPaula McMaw
2017-03-07Merge pull request #733 from pmcmaw/FM-6085-unitTestsHailee Kenney
(FM-6085) - Unit tests for Data Types
2017-03-07(FM-6085) - Unit tests for Data TypesPaula McMaw
2017-03-03Merge pull request #732 from pmcmaw/FM-6063-unitTestsHailee Kenney
(FM-6063) - Unit tests for high effort functions
2017-03-03(FM-6063) - Unit tests for high effort functionsPaula McMaw
2017-03-03Merge pull request #731 from petems/MODULES-4485-improve_ip6_supportDavid Schmitt
(MODULES-4485) Improve ipv6 support for type
2017-03-03(MODULES-4485) Improve ipv6 support for typePeter Souter
* Improves regex to catch some valid (but less known) ipv6 strings, mostly those which are a mix of ipv6 strings and embedded ipv4 numbers * Regex inspired by the following: * https://github.com/sindresorhus/ip-regex * https://gist.github.com/cpetschnig/294476 * The original Dartware forum thread where someone originally created this beast of a regex, now lost except to archive.org * Whilst we're here, we can add the more tricky ipv6 strings to the existing functions to validate * Luckily, the `ipaddr` native ruby library used in the original functions already supports these
2017-03-01(MODULES-4473) join strings for i18n parserEric Putnam
This commit joins all strings that are split over two lines with a plus, backslash, or double less than so that our magical i18n parser can wave over the module and mark every ruby string with our i18n function.
2017-03-01Merge pull request #728 from tphoney/loosen_regex_testPaula McMaw
loosen the regex for tuple checking
2017-02-28loosen the regex for tuple checkingtphoney
2017-02-28Merge pull request #727 from pmcmaw/FM-6058-unitTestsHelen
(FM-6058) - Unit tests for med effort functions
2017-02-28(FM-6058) - Unit tests for med effort functionsPaula McMaw
2017-02-23Merge pull request #725 from pmcmaw/FM-6054-unitTestsTP Honey
(FM-6054) - Unit tests for low effort functions
2017-02-23(FM-6054) - Unit tests for low effort functionsPaula McMaw
2017-02-22Merge pull request #723 from ↵TP Honey
tphoney/remove_unsupported_platforms_and_future_parser remove unsupported platforms and future parser
2017-02-21remove unsupported platforms and future parsertphoney
2017-02-21Merge pull request #724 from pmcmaw/MODULES-4429-unitTestsHelen
Modules 4429 unit tests
2017-02-21Adding unit test for i18n delete_value functionPaula McMaw
2017-02-21Adding unit test for i18n delete_at functionPaula McMaw
2017-02-21Adding unit test for i18n delete functionPaula McMaw
2017-02-21Adding unit test for i18n count functionPaula McMaw
2017-02-21Adding unit test for i18n concat functionPaula McMaw
2017-02-21Merge pull request #714 from pmcmaw/SPIKEi18NDavid Schmitt
(FM-6019) - i18N tests for Spike
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