summaryrefslogtreecommitdiff
path: root/spec/fixtures
AgeCommit message (Collapse)Author
2017-05-09Test for defined_with_params() returning false for defined typesDominic Cleal
defined_with_params() now returns false for defined types, causing duplicate resources when using ensure_resources(). Introduced by 4f19c27 in PE-20308.
2017-01-13Addition of compat hash type for deprecationHelen Campbell
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-10-07Addition of several new typesHelen Campbell
2016-09-07(MODULES-3737) validate_legacy: refactoringDavid Schmitt
* validate_legacy now accepts undef values * update the TypeMismatch message to include the original validate function name * only notice, not warn, on newly allowed values * changed previous_validation to function_name to avoid confusion with the function of the same name * use deprecation() instead of warn(), when hitting a deprecated value * prepare the tests and function for MODULES-3735 * rewrite validate_legacy tests to use new rspec-puppet * move validate_re deprecation to puppet4 only * adapt validate_re_spec
2016-08-17Deprecation of ip functionsHelen Campbell
2016-08-11(WIP) Addition of validate legacy functionHelen Campbell
2016-08-10(MAINT) move test fixture to proper locationHelen Campbell
2016-08-08(modules-3532) deprecate string type checkstphoney
2016-08-08(modules-3533) deprecation for 3.x number functiontphoney
2016-07-01(MODULES-3435) Fix gitignore and fixtures directoryDavid Schmitt
This change more accurately reflects what is being ignored and what's required as fixtures.
2015-08-28(MODULES-2478) Support root_home fact on AIX through "lsuser" commandJon Fautley
Squashed, and amended test for comment lines.
2015-06-01Add the missing symlinks to get puppet 4 pickup the functions from the ↵David Schmitt
environmentpath
2014-01-22(PUP-1459) Add support for root_home on OS X 10.9William Van Hevelingen
getent does not exist on 10.9 so this commit uses dscacheutil to query the homedir for the root user.
2011-10-10(#10007) Revert "Merge pull request #13 from ↵Jeff McCune
kbarber/issue/master/8925-user_ssl_certs" This reverts commit 14852e0259e1e43371dbcb2675e00c6d6e614f05, reversing changes made to a95dccd464b55945feb8bcf7483f777c25164115. This is to fix the broken build (failing tests) as per #8925 and #10007
2011-08-17(#8925) Added new function called 'get_certificate' for retrievingKen Barber
certificates from a CA (or locally). This function works by either obtaining the file locally or remotely based on Puppets configuration. Also added get_pubkey which wraps get_certificate and extracts the public key.