summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2017-05-09Release prep 4.17.0Hunter Haugen
2017-05-09(PE-20308) Also fix defined type strings & referencesHunter Haugen
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-05-09(maint) rename main readme (#772)Eric Putnam
Transifex, our translation service, only works with .md files, so this renames from .markdown to .md
2017-05-08Merge pull request #771 from eputnam/masterJean B
(MODULES-4706) prerelease fixes
2017-05-08(MODULES-4706) prerelease fixesjbondpdx
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-05Merge pull request #768 from pmcmaw/removeitalicsJean B
Removing italics for 'undef' value
2017-05-05Removing italics for 'undef' valuePaula McMaw
This causes issues with displaying a Japanese translation. It struggles rendering the `) therefore removing italics.
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-05Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-04Updating translations for readmes/README_ja_JP.mdtransifex-bot
2017-05-04Updating translations for locales/ja/puppetlabs-stdlib.potransifex-bot
2017-04-26Merge pull request #763 from hunner/fix_type_loadingHelen
(PE-20308) Correct boundary for 4.5 vs 4.6
2017-04-26(PE-20308) Correct boundary for 4.5 vs 4.6Hunter Haugen
2017-04-26Merge pull request #761 from hunner/fix_type_loadingThomas Hallgren
(PE-20308) Pass a literal type and not a string to findresource
2017-04-25(PE-20308) Pass a literal type and not a string to findresourceHunter Haugen
- `defined_with_params` calls `findresource(reference.to_s)` - `findresource` is https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/parser/compiler.rb#L407 and points to https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/resource/catalog.rb#L352 - This calls `Puppet::Resource.new` with the type https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/resource/catalog.rb#L366 - This ends up calling `resource_type` via https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/resource.rb#L317-L319 and that ends up declaring the type via the autoloader api at https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/resource.rb#L390 - But why does the autoloader API fail to find it in the current environment? - Okay, so when the autoloader is trying to find the type, it uses the typeloader to look it up in the current environment https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/metatype/manager.rb#L171 - this calls `get_file` and `mark_loaded` https://github.com/puppetlabs/puppet/blob/4.8.1/lib/puppet/util/autoload.rb#L64-L67 Suggested workaround is to pass a literal type instead of a string to `findresource` to fix in stdlib, and also to fix loading/requiring of type in core puppet. This seems to affect more recent versions of puppet, so fallback to original behavior on pre-4.5
2017-04-25Merge pull request #760 from puppetlabs/releaseEric Putnam
Release mergeback
2017-04-19Merge pull request #758 from sathieu/file_line_ruby18Hunter Haugen
Ruby 1.8 doesn't support open_args
2017-04-18Ruby 1.8 doesn't support open_argsMathieu Parent
Regression from #726
2017-04-14(maint) Stdlib::Compat::Integer accepts numbers with newlines apparentlyHunter Haugen
2017-04-06Merge pull request #755 from rnelson0/patch-1Hunter Haugen
TOC updates
2017-04-05TOC updatesRob Nelson
Add TOC entries for the various reference sections, plus a markdown-related typo in a header
2017-04-04Merge pull request #747 from jbondpdx/loc-editHunter Haugen
(MODULES-4322) pre-loc edit on stdlib README
2017-04-04(MODULES-4322) pre-localization edit on stdlib READMEjbondpdx
So many fixes, just so many.
2017-03-30[msync] 786266 Implement puppet-module-gems, a45803 Remove metadata.json ↵Wilson McCoubrey
from locales config (#754) * [msync] 786266 Implement puppet-module-gems, a45803 Remove metadata.json from locales config * [maint] Fix puppet-lint warnings introduced with 2.2.0 puppet-lint release