Age | Commit message (Collapse) | Author |
|
DOC-1095: edit file_line resource, match parameter
|
|
The `match` attribute was validated to match `line`, except that in many
cases (even the example given in the docs) a user would want to match a
line entirely different from the new line.
See comments on the original commit
https://github.com/puppetlabs/puppetlabs-stdlib/commit/a06c0d8115892a74666676b50d4282df9850a119
and ask
https://ask.puppetlabs.com/question/14366/file_line-resource-match-problems/
for further examples of confusion.
|
|
Was unclear and not accurate; rewrote the parameter, moved file_line from function list to resource section, added missing parameters for this resource.
|
|
Doc fixes from master
|
|
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
|
|
|
|
Add to Readme: Stdlib no longer ships with PE
|
|
FM-1523: Added module summary to metadata.json
|
|
Update README for updated member() functionality
|
|
|
|
4.5.0 prep
|
|
|
|
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
|
|
|
|
This is the core change, we now go through the array and add it to the first element, instead of just two arguments.
|
|
|
|
|
|
|
|
Also add extra test for just 1 argument
|
|
Acceptance test to take multiple arrays for concatenation
|
|
`concat` should be able to concat arrays and primitives
|
|
`concat` can now take multiple arguments
|
|
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
|
|
|
|
|
|
FM-2020 SLES Support verified
|
|
|
|
|
|
Need to convert strings and fixnums to arrays
|
|
|
|
(MODULES-1329) Allow member to look for array
|
|
Make the range function work with integers
|
|
Merge 4.4.x
|
|
Currently, the member function allows one to only find if a variable
is part of an array. Sometimes it is useful to find if an array is part
of a bigger array for validation purpose.
|
|
|
|
This is needed for the future parser which actually treats numbers as
numbers and strings as strings. With this patch you can use range(1,5)
instead of having to quote them like range('1','5').
|
|
|
|
Fix exclude windows test on ensure_package
|
|
Update to fix ensure_resource as well
|
|
Correct type() logic
|
|
It should NOT run if the future parser is enabled
|
|
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
|
|
And some other small formatting fixes that don't belong in this patch.
|
|
|
|
|
|
|
|
(QENG-1404) Segregate system testing gems
|
|
Prior to this there was generic :test group.
Unfortunately Beaker will be EOL-ing support for Ruby 1.8 (a number of
Beaker's dependencies already have and pinning to older versions is
becoming costly). Once Beaker does this it will cause failures whenever
running `bundle install`.
To avoid this failure we can segregate the system testing gems, allowing
unit, lint and development to continue with
`bundle install --without system_tests`.
|
|
Release 4.4.0
|
|
Summary
This release has an overhauled readme, new private manifest function,
and fixes many future parser bugs.
Features
- All new shiny README
- New `private()` function for making private manifests (yay!)
Bugfixes
- Code reuse in `bool2num()` and `zip()`
- Fix many functions to handle `generate()` no longer returning a string on new puppets
- `concat()` no longer modifies the first argument (whoops)
- strict variable support for `getvar()`, `member()`, `values_at`, and `has_interface_with()`
- `to_bytes()` handles PB and EB now
- Fix `tempfile` ruby requirement for `validate_augeas()` and `validate_cmd()`
- Fix `validate_cmd()` for windows
- Correct `validate_string()` docs to reflect non-handling of `undef`
- Fix `file_line` matching on older rubies
|