summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-21Merge pull request #797 from reidmv/fact_functionHunter Haugen
Update README for fact() function
2017-07-21Update README for fact() functionReid Vandewiele
2017-07-21Merge pull request #787 from reidmv/fact_functionHunter Haugen
(FACT-932) Add new function, fact()
2017-07-20Merge pull request #791 from eputnam/MODULES-4908Hunter Haugen
(MODULES-4908) adds support for sensitive data type to pw_hash
2017-07-18Merge pull request #748 from npwalker/add_round_functionEric Putnam
Add a round function to complement ceiling and floor
2017-07-18Add a round function to complement ceiling and floorNick Walker
2017-07-18Add new file_line option append_on_no_matchasif.shaikh
2017-07-18(MODULES-4908) adds support for sensitive data type to pw_hashEric Putnam
Also includes a small fix to integer_spec so tests pass.
2017-07-15add type for MAC addressTim Meusel
2017-07-14Merge pull request #794 from ↵TP Honey
tkishel/MODULES-5003-file_line_does_not_change_multiple_lines_when_one_matches (MODULES-5003) file_line does not change multiple lines when one matches
2017-07-14Merge pull request #793 from tphoney/FM-6239Paula McMaw
(FM-6239) rewrite of test following std patterns
2017-07-14FM-6239 clean up for puppet 5.tests/deprecationtphoney
2017-07-13(MODULES-5003) file_line_does_not_change_multiple_lines_when_one_matchestkishel
The exists? method is called to determine the need to call the create and destroy methods. When the ensure, match, and multiple attributes are defined, the exists? method needs to return false unless all the lines that match the match attribute equal the line attribute. The first commit is minimal, and implements this change. The second commit normalizes the code, which I needed for comprehension.
2017-07-13(MODULES-5003) file_line_does_not_change_multiple_lines_when_one_matchestkishel
The exists? method is called to determine the need to call the create and destroy methods. When the ensure, match, and multiple attributes are defined, the exists? method needs to return false unless all the lines that match the match attribute equal the line attribute. The first commit is minimal, and implements this change. The second commit normalizes the code, which I needed for comprehension.
2017-07-13(FM-6239) rewrite of test following std patternstphoney
2017-07-13Merge pull request #790 from puppetlabs/msync_modules5187TP Honey
(MODULES-5187) mysnc puppet 5 and ruby 2.4
2017-07-11(MODULES-5187) fix spec tests for puppet 5 changesEric Putnam
2017-07-11Fix filenames of two function spec testsAlexander Fisher
The tests weren't being run. Total tests increase from 2742 to 2769. Also fix 'when using a class extending String' test. It had been failing with... ``` RuntimeError: can't modify frozen AlsoString ```
2017-07-08Add validate_domain_name functionFrank de Jong
2017-07-07(MODULES-5187) mysnc puppet 5 and ruby 2.4Eric Putnam
2017-07-07Merge pull request #716 from EmersonPrado/MODULES-4377TP Honey
(Modules 4377) Causes ensure_packages to accept concurrent declarations with ensure => 'present' and 'installed'
2017-07-07Merge pull request #788 from tphoney/MODULES-5003Eric Putnam
(MODULES-5003) file_line fix all broken lines
2017-07-07Merge pull request #756 from hunner/newline_integersTP Honey
(maint) Stdlib::Compat::Integer accepts numbers with newlines apparently
2017-07-07Merge pull request #786 from reidmv/MODULES-5113TP Honey
(MODULES-5113) Make line support Sensitive
2017-07-07Merge pull request #789 from tphoney/MODULES-5186Helen
(MODULES-5186) - do not run file_line unit tests on windows.
2017-07-07(MODULES-5186) dont run this test on windowstphoney
2017-07-06(MODULES-5186) move test to correct locationtphoney
2017-07-06(MODULES-5186) - removing whitespace from EOLtphoney
2017-07-03Revert "Allow use of fact() on other hashes"Reid Vandewiele
This reverts commit 409a974095a3f5b637e091494b5d14b451c5de78. After thinking about this, use case, and function naming, I think it's probably best for now to keep things simple and let `fact()` be single-purpose for looking up facts with no potentially confusing extensions. The only use case where the name makes sense is where it's being used on the `$facts` hash, and I think we'd rather in that circumstance promote the raw use of `fact()`.
2017-07-03(MODULES-5003) file_line fix all broken linestphoney
2017-07-01Merge pull request #783 from davewongillies/fix_changelog_headersTP Honey
Fix headers in CHANGELOG.md so that headers render correctly
2017-06-30(FACT-932) Allow use of fact() on other hashesReid Vandewiele
Because sometimes people want to use an alternative data set, but treat it like it's a set of facts.
2017-06-30(FACT-932) Add new function, fact()Reid Vandewiele
The fact() function allows dot-notation reference to facts. It is an alternative to using $facts directly with array-indexing. Array-indexing is often onerous to use since it doesn't align with how structured facts are accessed elsewhere in the ecosystem and if any element in a multi-step path doesn't exist, array indexing can cause a compilation failure. Example usage: fact('os.family')
2017-06-28(MODULES-5113) Make line support SensitiveReid Vandewiele
Do this by making it a property. The idea is to get rid of the warning that appears when a Sensitive value is passed to the line attribute.
2017-06-26Merge pull request #784 from hunner/bump_metadataGlenn Sarti
(MODULES-5144) Prep for puppet 5
2017-06-26(MODULES-5144) Prep for puppet 5Hunter Haugen
2017-06-16Fix headers in CHANGELOG.md so that headers render correctlyDavid Gillies
2017-06-16Merge pull request #782 from puppetlabs/releasePaula McMaw
4.17.1 Release Mergeback
2017-06-15Merge pull request #781 from HelenCampbell/rpreppoPaula McMaw
Release prep for 4.17.1
2017-06-15Release prep for 4.17.1Helen Campbell
2017-06-14Merge pull request #780 from thallgren/issue/modules-5095/workaround-pup-7650Helen
(MODULES-5095) Workaround for PUP-7650
2017-06-14(MODULES-5095) Workaround for PUP-7650Thomas Hallgren
This commit adds a simple workaround for the problem described in PUP-7650. The workaround is harmless and can remain in place regardless of if the fix for PUP-7650 is in place or not.
2017-05-30Merge pull request #778 from marsmensch/masterEric Putnam
MODULES-4821 puppetlabs-stdlib: Update the version compatibility to >= 4.7.0 < 5.0.0
2017-05-24Merge pull request #779 from jbondpdx/masterEric Putnam
(FM-6197) formatting fixes for file_line resource
2017-05-24(FM-6197) formatting fixes for file_line resourcejbondpdx
2017-05-23MODULES-4821 puppetlabs-stdlib: Update the version compatibility to >= 4.7.0 ↵Florian Maier
< 5.0.0
2017-05-10Merge pull request #776 from puppetlabs/releasePaula McMaw
Merge back 4.17.0
2017-05-09add testsHunter Haugen
2017-05-09Fix issue where the following causes obscure catalog compilation errors:Alex Dacre
``` file { '/tmp/somefile': ensure => 'file', } File['/tmp/somefile'] -> Package <| |> ensure_packages($somearray) ``` If $somearray is undefined or one of the elements contains an empty string, an error like the following is thrown: Could not find resource 'Package[]' for relationship from 'File[/tmp/somefile]' on node $::fqdn
2017-05-09(MODULES-4706) release prep 4.17.0tphoney