summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-29Add some more functional tests.Ken Barber
2011-06-29New abs test.Ken Barber
2011-06-29Added tests for each function, fixing functions as we hit bugs.Ken Barber
2011-06-29Added kwalify function.Ken Barber
2011-06-29Copied function test scaffolding from puppet.Ken Barber
2011-06-26Removed duplicate - is_hash is really now is_hash instead of is_array.Ken Barber
2011-05-16Rename to puppetlabs-functions.Ken Barber
2011-05-05Added disclaimer and basic installation guide to README.markdown file.Ken Barber
2011-04-30Moved more functions into lib/puppet/parser/functions/Ken Barber
2011-04-30Moved type.rbKen Barber
2011-04-30Moved type into pluginsync compat area.Ken Barber
2011-04-30Added Apache license.Ken Barber
2011-04-30Change README.Ken Barber
2011-04-30Convert to module format.Ken Barber
2011-04-30Add number of stub code for future functions.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30First version. Simple swapcase function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Making sure that the function hash will also work on older Rubies.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Add number of stub code for future functions.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30First version. Simple hash function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Change boolean detecion from string to make entire function more robust.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Changed wording of the note in the comment.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Small re-factor. Remove not needed complexity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added body of the function flatten.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to improve code clarity. ChangedKrzysztof Wilczynski
wording of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to improve code clarity. Added TODOKrzysztof Wilczynski
for future reference. Changed wording of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added TODO for future reference.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not to make code more clear. Plus a variableKrzysztof Wilczynski
name change for simplicity. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Small change to code formatting.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added comment line.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added comment line.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Corrected function name from chop to strip. Moved to unless from if notKrzysztof Wilczynski
to improve code clarity. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Function has now more robust error detection.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Now prefix will convert everything into string which is the sameKrzysztof Wilczynski
as join would do. Also function is now more robust in error detection. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Added ability to flatten the resulting array in the function zip.Krzysztof Wilczynski
This would allow for creating hashes on the fly from two arrays. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not and changed wording of few error messages.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not plus removed surplus empty lines.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not and removed TODO.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Moved to unless from if not for code clarity and changed wordingKrzysztof Wilczynski
of few error messages. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-30Adding support for hash and string to the function count.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Small re-factor. Changed if not to unless for code clarity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Small re-factor. Changed if not to unless for code clarity.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor changes.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Changed wording in the error message.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Removing old file includes.rbKrzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Renaming the file from includes.rb to member.rb.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Renaming from includes to member in order to avoid confusion andKrzysztof Wilczynski
possibility of a clash with Puppet built-in function include. Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor change.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Added check to ensure that given fact name is a string.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29Minor changes.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
2011-04-29First version. Simple str2bool function to use within Puppet DSL.Krzysztof Wilczynski
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>