Ken Barber
|
f9634b7f9b
|
Remove rand.
|
2011-07-29 22:08:09 +01:00 |
|
Ken Barber
|
284843bd96
|
Some improvements to values_at tests.
|
2011-07-29 21:17:19 +01:00 |
|
Ken Barber
|
6827ad804f
|
(#1) provide some more detailed tests for a number of functions.
|
2011-07-29 20:57:10 +01:00 |
|
Ken Barber
|
aa023c1e5d
|
Removed date stub since this functinality is available in strftime anyway.
|
2011-07-29 20:56:40 +01:00 |
|
Ken Barber
|
18e5302614
|
(#2) fix is_string finally so it also makes sure numbers return false.
|
2011-07-29 20:11:47 +01:00 |
|
Ken Barber
|
56a402e654
|
(#2) unstub is_valid_domain_name
|
2011-07-29 20:08:31 +01:00 |
|
James Turnbull
|
62520a2df0
|
Added doc strings for first five functions
|
2011-07-30 04:22:30 +10:00 |
|
Ken Barber
|
db7e06e301
|
Removed join_with_prefix.
|
2011-07-29 18:00:32 +01:00 |
|
Ken Barber
|
4080c0534e
|
(#2) unstub is_valid_mac_address.
|
2011-07-29 17:55:45 +01:00 |
|
Ken Barber
|
ce48eb6e7a
|
Allow sort for strings.
|
2011-07-29 00:10:31 +01:00 |
|
Ken Barber
|
7d6ae5d57c
|
Count functionality overlaps with size - so removing it.
|
2011-07-28 21:30:02 +01:00 |
|
Ken Barber
|
4915eff575
|
Removed crontab functions instead of unstubbing them.
|
2011-07-28 21:23:53 +01:00 |
|
Ken Barber
|
a47853502d
|
Removed load_variables. load_yaml is sufficient to solve this problem on its own.
|
2011-07-28 21:15:43 +01:00 |
|
Ken Barber
|
1a7bd1ae83
|
Remove is_valid_netmask instead of unstubbing. Doesn't seem like a sensible function on its own.
|
2011-07-28 21:10:33 +01:00 |
|
Ken Barber
|
313df566bf
|
(#2) unstub is_numeric function.
|
2011-07-28 21:03:33 +01:00 |
|
Ken Barber
|
635ed82e5c
|
(#2) - unstubbed is_valid_ip_address
|
2011-07-28 18:10:16 +01:00 |
|
Ken Barber
|
7efd6ec581
|
(#1) - added new test for upcase.
|
2011-07-28 15:44:26 +01:00 |
|
Ken Barber
|
a55930368a
|
(#2) - Added is_float and is_integer functionality.
|
2011-07-28 15:38:19 +01:00 |
|
Ken Barber
|
fde64f37c9
|
(#1) - fleshed out some more tests.
|
2011-07-24 00:39:17 +01:00 |
|
Ken Barber
|
07ee334554
|
Added validate_resource function and examples on how to use it (and kwalify as well)
|
2011-07-01 21:09:02 +02:00 |
|
Ken Barber
|
1abf4b62fc
|
Few more tests.
|
2011-06-30 01:00:32 +02:00 |
|
Ken Barber
|
c7c8647634
|
Move require inside function for kwalify.
|
2011-06-29 23:39:23 +01:00 |
|
Ken Barber
|
464fb1f41b
|
Add some more functional tests.
|
2011-06-29 23:37:37 +01:00 |
|
Ken Barber
|
ff56d9917e
|
New abs test.
|
2011-06-29 21:59:18 +01:00 |
|
Ken Barber
|
790818116e
|
Added tests for each function, fixing functions as we hit bugs.
|
2011-06-29 21:21:55 +01:00 |
|
Ken Barber
|
e071b05ab6
|
Added kwalify function.
|
2011-06-29 12:30:07 +01:00 |
|
Ken Barber
|
157531cd29
|
Copied function test scaffolding from puppet.
|
2011-06-29 12:25:43 +01:00 |
|
Ken Barber
|
e6b5a6dd02
|
Removed duplicate - is_hash is really now is_hash instead of is_array.
|
2011-06-26 14:33:53 +02:00 |
|
Ken Barber
|
5c42025cab
|
Rename to puppetlabs-functions.
|
2011-05-16 21:40:01 +01:00 |
|
Ken Barber
|
f71c3bd9e7
|
Added disclaimer and basic installation guide to README.markdown file.
|
2011-05-05 11:00:05 +02:00 |
|
Ken Barber
|
aafce9c99b
|
Moved more functions into lib/puppet/parser/functions/
|
2011-04-30 16:00:49 +02:00 |
|
Ken Barber
|
09abea2d47
|
Moved type.rb
|
2011-04-30 15:59:55 +02:00 |
|
Ken Barber
|
352bac3703
|
Moved type into pluginsync compat area.
|
2011-04-30 15:59:55 +02:00 |
|
Ken Barber
|
5c8f8f8edb
|
Added Apache license.
|
2011-04-30 15:59:31 +02:00 |
|
Ken Barber
|
323cd874c5
|
Change README.
|
2011-04-30 15:59:31 +02:00 |
|
Ken Barber
|
99a93d366f
|
Convert to module format.
|
2011-04-30 15:59:31 +02:00 |
|
Krzysztof Wilczynski
|
781a872057
|
Add number of stub code for future functions.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 14:36:25 +01:00 |
|
Krzysztof Wilczynski
|
d38e399b47
|
First version. Simple swapcase function to use within Puppet DSL.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 14:35:10 +01:00 |
|
Krzysztof Wilczynski
|
8733a57ffb
|
Making sure that the function hash will also work on older Rubies.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 03:44:59 +01:00 |
|
Krzysztof Wilczynski
|
b3be789b0d
|
Add number of stub code for future functions.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 03:16:12 +01:00 |
|
Krzysztof Wilczynski
|
72b23cb2e5
|
First version. Simple hash function to use within Puppet DSL.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 03:15:47 +01:00 |
|
Krzysztof Wilczynski
|
f74ab047cd
|
Change boolean detecion from string to make entire function more robust.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:57:48 +01:00 |
|
Krzysztof Wilczynski
|
4da6d8222e
|
Changed wording of the note in the comment.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:54:47 +01:00 |
|
Krzysztof Wilczynski
|
db7a27cf5b
|
Small re-factor. Remove not needed complexity.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:51:17 +01:00 |
|
Krzysztof Wilczynski
|
872c7f3c42
|
Added body of the function flatten.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:50:38 +01:00 |
|
Krzysztof Wilczynski
|
9d0e244771
|
Moved to unless from if not to improve code clarity. Changed
wording of few error messages.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:49:15 +01:00 |
|
Krzysztof Wilczynski
|
3c4c1c7c20
|
Moved to unless from if not to improve code clarity. Added TODO
for future reference. Changed wording of few error messages.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:48:25 +01:00 |
|
Krzysztof Wilczynski
|
9ec50e7968
|
Added TODO for future reference.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:47:20 +01:00 |
|
Krzysztof Wilczynski
|
5da2005d04
|
Moved to unless from if not to make code more clear. Plus a variable
name change for simplicity.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:46:03 +01:00 |
|
Krzysztof Wilczynski
|
4b2a0a9e1f
|
Small change to code formatting.
Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
|
2011-04-30 02:45:36 +01:00 |
|