Hunter Haugen
8726caf996
Merge pull request #374 from petems/MODULES-444-add_concat_multiple
...
MODULES-444-Add concat multiple
2014-12-17 09:24:51 -08:00
Morgan Haskel
49acade831
Merge remote-tracking branch 'upstream/4.5.x' into merge_4.5.x_into_master
...
Conflicts:
metadata.json
2014-12-16 17:32:40 -08:00
Morgan Haskel
80f09623b6
Merge pull request #387 from hunner/remove_match_line
...
Remove line match validation
2014-12-16 15:07:02 -08:00
Morgan Haskel
0e84232503
Merge pull request #386 from jbondpdx/4.5.x
...
DOC-1095: edit file_line resource, match parameter
2014-12-16 15:06:13 -08:00
Hunter Haugen
c6c203fca8
Remove line match validation
...
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
a06c0d8115
and ask
https://ask.puppetlabs.com/question/14366/file_line-resource-match-problems/
for further examples of confusion.
2014-12-16 15:05:31 -08:00
jbondpdx
44596dcf3c
DOC-1095: edit file_line resource, match parameter
...
Was unclear and not accurate; rewrote the parameter, moved file_line from function list to resource section, added missing parameters for this resource.
2014-12-16 14:33:42 -08:00
Colleen Murphy
1493b212f2
Merge pull request #384 from mhaskel/doc_fixes_from_master
...
Doc fixes from master
2014-12-16 10:17:24 -08:00
jbondpdx
cff7645648
Added a note that stdlib no longer ships with PE 3.7+
...
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
2014-12-16 10:15:14 -08:00
jbondpdx
c54de9498f
FM-1523: Added module summary to metadata.json
2014-12-16 10:14:40 -08:00
Morgan Haskel
6237446582
Merge pull request #373 from jbondpdx/stdlib-readme-fix
...
Add to Readme: Stdlib no longer ships with PE
2014-12-16 10:09:08 -08:00
Morgan Haskel
8e9fa0ca43
Merge pull request #370 from jbondpdx/master
...
FM-1523: Added module summary to metadata.json
2014-12-16 10:08:50 -08:00
Travis Fields
64c9840949
Merge pull request #383 from mhaskel/doc_update
...
Update README for updated member() functionality
2014-12-15 16:23:14 -08:00
Morgan Haskel
ec08c60749
Update README for updated member() functionality
2014-12-15 16:21:28 -08:00
Travis Fields
3f9617fef0
Merge pull request #381 from mhaskel/4.5.0-prep
...
4.5.0 prep
2014-12-15 16:12:34 -08:00
Morgan Haskel
145eb08b1f
4.5.0 prep
2014-12-15 16:09:24 -08:00
Morgan Haskel
46ce05e4a5
Merge pull request #376 from cmurphy/master
...
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-09 08:23:39 -08:00
Colleen Murphy
a99971827f
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-08 10:33:35 -08:00
Oliver Bertuch
3053427829
Fixing ruby 1.8 support.
2014-12-05 08:51:40 +01:00
Oliver Bertuch
260c1f4b92
Add new functions validate_numeric() and validate_integer().
2014-12-04 22:33:15 +01:00
Peter Souter
84bd98645f
(MODULES-444) - Real meat of the change
...
This is the core change, we now go through the array and add it to the first element, instead of just two arguments.
2014-12-04 14:34:25 +00:00
Peter Souter
594c2dd38d
(MODULES-444) Change argument restriction to < 2
2014-12-04 14:33:23 +00:00
Peter Souter
75a6186512
(MODULES-444) Update docs with new functionality
2014-12-04 14:32:39 +00:00
Peter Souter
368c97f080
(MODULES-444) - Check for accepting > 2 args
2014-12-04 14:27:55 +00:00
Peter Souter
7a1c4a6d9e
(MODULES-444) Change test to > 2 arguments
...
Also add extra test for just 1 argument
2014-12-04 14:27:38 +00:00
Peter Souter
5e49c50458
(MODULES-444) Acceptance for multiple arrays
...
Acceptance test to take multiple arrays for concatenation
2014-12-04 14:15:33 +00:00
Peter Souter
7c570f75a5
(MODULES-444) Acceptance test for primitives
...
`concat` should be able to concat arrays and primitives
2014-12-04 14:15:03 +00:00
Peter Souter
ed192a0464
(MODULES-444) Add specs for new behaviour
...
`concat` can now take multiple arguments
2014-12-04 14:12:55 +00:00
jbondpdx
294b8b572d
Added a note that stdlib no longer ships with PE 3.7+
...
Users didn't realize we stopped shipping stdlib module with PE. I added this information to the stdlib readme.
2014-11-25 11:32:12 -08:00
jbondpdx
22bfa50cb9
FM-1523: Added module summary to metadata.json
2014-11-25 10:56:44 -08:00
Oliver Bertuch
89995e4db0
Allow array of pathes in validate_absolute_path
2014-11-25 12:45:23 +01:00
Morgan Haskel
4ebea40e08
Merge pull request #371 from cyberious/SLESSupport
...
FM-2020 SLES Support verified
2014-11-21 16:18:27 -05:00
Travis Fields
7148acdc9e
FM-2020 SLES Support verified
2014-11-21 16:13:59 -05:00
jbondpdx
b492115252
FM-1523: Added module summary to metadata.json
2014-11-20 15:21:24 -08:00
Colleen Murphy
72ee9b5b68
Merge pull request #367 from mhaskel/future_parser_fix
...
Need to convert strings and fixnums to arrays
2014-11-17 12:29:23 -08:00
Morgan Haskel
c5467cc507
Need to convert strings and fixnums to arrays
2014-11-17 12:27:05 -08:00
Hunter Haugen
fb42396c75
Merge pull request #319 from Spredzy/member_array_in_array
...
(MODULES-1329) Allow member to look for array
2014-11-13 12:27:14 -08:00
Hunter Haugen
b6830f1ade
Merge pull request #365 from dalen/range-integers
...
Make the range function work with integers
2014-11-13 10:16:21 -08:00
Hunter Haugen
b80c432ab9
Merge pull request #366 from mhaskel/merge_4.4.x
...
Merge 4.4.x
2014-11-12 11:54:41 -08:00
Yanis Guenane
c9f906f803
(MODULES-1329) Allow member function to look for array
...
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.
2014-11-12 14:40:34 -05:00
Erik Dalén
af0a2779cb
Add range tests for numeric with step and mixed arguments
2014-11-12 16:52:36 +01:00
Erik Dalén
ce995e15d5
Make the range function work with integers
...
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').
2014-11-12 16:02:05 +01:00
Erik Dalén
e61f402283
(maint) Fix indentation of range function
2014-11-12 15:52:33 +01:00
Morgan Haskel
ded4d516f1
Merge pull request #363 from hunner/fix_windows
...
Fix exclude windows test on ensure_package
2014-11-11 16:44:26 -08:00
Travis Fields
3584485902
Fix exclude windows test on ensure_package
...
Update to fix ensure_resource as well
2014-11-11 16:41:53 -08:00
Morgan Haskel
202e3707cf
Merge pull request #358 from hunner/fix_type
...
Correct type() logic
2014-11-11 10:47:00 -08:00
Hunter Haugen
970141e36a
Correct type() logic
...
It should NOT run if the future parser is enabled
2014-11-11 10:46:01 -08:00
Morgan Haskel
0a8963fbd3
Merge pull request #357 from hunner/hasInterfaceWithLookupBug
...
(PUP-3597) Catch :undefined_variable when Future Parser is enabled on 3.7.x
2014-11-10 17:15:11 -08:00
Hunter Haugen
4949cfd21c
Fix breaking out of .each loop
...
And some other small formatting fixes that don't belong in this patch.
2014-11-10 16:37:53 -08:00
Travis Fields
992ed8ffa8
Remove windows from ensure_package and ensure_resource testing
2014-11-10 16:34:05 -08:00
Travis Fields
c52e262a17
Catch :undefined_variable thrown when Future Parser is enabled with 3.7.x
2014-11-10 16:33:18 -08:00