Commit graph

  • b30ed04390 First version. Simple capitalize function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-29 17:27:50 +0100
  • f35fb81998 First version. Simple type function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-29 15:19:31 +0100
  • e9d0b65807 Adding support for string alongside arrays. Krzysztof Wilczynski 2011-04-29 05:00:51 +0100
  • 1296b3fc28 First version. Simple is_hash function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-29 04:37:50 +0100
  • 65f98d2f09 Adding relevant code. Krzysztof Wilczynski 2011-04-29 04:36:28 +0100
  • eab2a63f1b Added TODO for future reference. Krzysztof Wilczynski 2011-04-29 04:22:04 +0100
  • 606820a4c9 Added TODO for future reference. Krzysztof Wilczynski 2011-04-29 04:21:20 +0100
  • c3877c1984 Added TODO for future reference. Krzysztof Wilczynski 2011-04-29 04:20:44 +0100
  • b387d5ef60 Changed wording from numeric to integer. Krzysztof Wilczynski 2011-04-29 04:19:30 +0100
  • 517227c75f Added TODO for future reference. Krzysztof Wilczynski 2011-04-29 04:18:29 +0100
  • 1c07b8dba9 First version. Simple abs function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-29 03:09:52 +0100
  • 177f0c730b Removing old unused file. Krzysztof Wilczynski 2011-04-28 03:45:05 +0100
  • d25cd57dbe First version. Simple strftime function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-28 03:44:28 +0100
  • 31041c0e37 First version. Simple time function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-28 03:44:11 +0100
  • fc886ed7b7 First version. Simple is_string function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-28 03:43:34 +0100
  • d495723d6f First version. Simple is_array function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-28 03:43:14 +0100
  • 0bd7550336 Minor changes. Krzysztof Wilczynski 2011-04-28 03:42:37 +0100
  • 79191fc127 Changing name of the function from include to includes as it clashes with a core function from Puppet::Parser. I had no idea that you can over-write some of the that way. Oops. Krzysztof Wilczynski 2011-04-27 23:26:41 +0100
  • cd4904b9d9 First version. Simple range function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 23:45:50 +0100
  • 0e3c0385ef Removing string interpolation from fact.rb. I am not sure whether we should fiddle with this. The old behaviour e.g. evaluate when inside "" and don't do anything when inside '' is probably better choice in the end as people are used to it working that way. Krzysztof Wilczynski 2011-04-26 04:21:32 +0100
  • c229a323a1 Changed comment line wording. Krzysztof Wilczynski 2011-04-26 04:21:00 +0100
  • 6776d09c0a Removing surplus files. Krzysztof Wilczynski 2011-04-26 03:55:04 +0100
  • 67ea75883f Changing name of collect_indices.rb to values_at.rb in order to be reasemble Ruby's Array#values_at more. Added support for ranges with hyphen, two and three dots notation. Krzysztof Wilczynski 2011-04-26 03:18:50 +0100
  • 5225570018 First version. Simple delete_at function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 02:54:18 +0100
  • 6bf04e1353 Small re-factor. We prefer our local clone of the array ... Krzysztof Wilczynski 2011-04-26 02:53:40 +0100
  • 528a16e377 First version. Simple size function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 01:29:53 +0100
  • c9dcca03b5 First version. Simple unique function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:14:48 +0100
  • 45b5b472a1 First version. Simple shuffle function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:14:38 +0100
  • 4d6b350509 First version. Simple reverse function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:14:24 +0100
  • 19f6ca9d75 First version. Simple include function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:14:12 +0100
  • a718b9b4a4 First version. Simple count function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:13:31 +0100
  • de0e7adb66 First version. Simple empty function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:09:26 +0100
  • 738db6eb70 Re-factor of the original function. Now its behaviour is either to join with prefix or just add prefix or simply join. This depends on its use. Krzysztof Wilczynski 2011-04-26 00:05:20 +0100
  • af5d789e15 First version. Simple prefix function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:04:10 +0100
  • 1b4ade7b2a First version. Simple join function to use within Puppet DSL. Krzysztof Wilczynski 2011-04-26 00:02:59 +0100
  • f87fcecdfb Small re-factor to fact function. Krzysztof Wilczynski 2011-04-26 00:00:58 +0100
  • 28254bef6b Changing name of join.rb to join_with_prefix.rb to make room for its simpler version. Krzysztof Wilczynski 2011-04-25 23:33:26 +0100
  • 50cb2cd05a Small re-factor of fact function. Krzysztof Wilczynski 2011-04-25 23:32:41 +0100
  • 7e7c7ce2ee First version. Function opposite to the bool2num one. Converts number to appropriate boolean value. Krzysztof Wilczynski 2011-04-25 03:47:31 +0100
  • 1a8617404c Minor update. Krzysztof Wilczynski 2011-04-25 03:46:46 +0100
  • 87a825e609 First version. Improvment upon bool2num function found on the Internet. Krzysztof Wilczynski 2011-04-25 03:19:10 +0100
  • 914d5c2f38 Added help accessible via the :doc functionality in Puppet's newfunction. Krzysztof Wilczynski 2011-04-25 02:47:16 +0100
  • bb231bdfc2 Updated help message. Krzysztof Wilczynski 2011-04-25 02:44:20 +0100
  • a64c206708 Update to error reporting. Krzysztof Wilczynski 2011-04-25 02:06:50 +0100
  • 61936fdeaa Updated error check and reporting. Also we now return empty string value i.e. "" instead of raising an exception when a particular fact is not present. We also make use of strinterp() explicitly to evaluate arguments passed to the function. Krzysztof Wilczynski 2011-04-25 02:02:00 +0100
  • 4a72b0efde Adding more error checking ... Krzysztof Wilczynski 2011-04-24 20:55:35 +0100
  • eefd7a9fc4 Adding ability to specifiy range as the index when selecting indices to collect. Krzysztof Wilczynski 2011-04-24 01:35:49 +0100
  • fa68d78b20 Small changes. Added better error checking etc ... Krzysztof Wilczynski 2011-04-23 18:11:08 +0100
  • 908459c1ad First version. Function that allows to collect selected indices from an array within Puppet manifest. More or less how array slicing works in Perl ... Krzysztof Wilczynski 2011-04-23 17:45:49 +0100
  • 92d4a4eb85 First version. Adding join to Puppet for use within the manifest files. Krzysztof Wilczynski 2011-04-23 16:43:11 +0100
  • 4a57da669c Fix. It is better to promote good practice... Krzysztof Wilczynski 2011-04-23 02:55:08 +0100
  • 0b1aab2ed5 Small changes. Mainly to formatting of the help provided. Krzysztof Wilczynski 2011-04-23 01:56:30 +0100
  • 54b0d37bac We do not need cronrand.rb any more. Krzysztof Wilczynski 2011-04-23 01:42:21 +0100
  • 399dd8cca8 First version. A function for Puppet that allows to retrieve a fact from Facter easily instead of resorting to awful "inline_template" use-and-abuse practices. Krzysztof Wilczynski 2011-04-23 01:19:43 +0100
  • 55c94178eb Minor changes. Added placeholder for :doc in Puppet's newfunction to fill later. Krzysztof Wilczynski 2011-04-23 01:18:52 +0100
  • e1bb7393bb Create destination directory on-demand i.e. when missing ... Krzysztof Wilczynski 2011-03-23 02:17:32 +0000
  • c3ed006be2 Changing the name of the file to reflect change in the function name. Krzysztof Wilczynski 2011-03-14 13:13:33 +0100
  • d629e15f29 Adding README file ... Krzysztof Wilczynski 2011-03-14 00:04:08 +0000
  • 8e6bf2a079 First version. Krzysztof Wilczynski 2011-03-13 23:56:44 +0000
  • a7081fd027 Changing the way how function description and usage was given. Now documentation is exposed properly via Puppet itself. Krzysztof Wilczynski 2011-03-13 23:39:43 +0000
  • c73be8fdbd Changing the name of the file to reflect change in the function name. Krzysztof Wilczynski 2011-03-13 23:37:16 +0000
  • 00a4c4ebcc Small re-factor. Krzysztof Wilczynski 2011-03-12 23:15:02 +0000
  • 0eea8ac101 Check for the number of arguments given. Krzysztof Wilczynski 2011-03-12 23:05:56 +0000
  • 49d208a13e Small re-factor. Krzysztof Wilczynski 2011-03-11 18:30:49 +0000
  • 36ec2c36ea Merge branch 'kwilczynski-master' Roman Barczyński 2011-03-04 14:06:42 +0100
  • 3a4b4559fe Merge branch 'master' of git://github.com/kwilczynski/puppet-functions into kwilczynski-master Roman Barczyński 2011-03-04 14:04:56 +0100
  • 19fd344a0f Fix. The data structure should only be populated and/or set to be empty if and only if key is present. Krzysztof Wilczynski 2011-03-03 13:14:56 +0100
  • c5293e630c Fix. Should yield empty data structure when given key cannot be found in the hash upon parsing YAML file. Krzysztof Wilczynski 2011-03-03 09:18:12 +0000
  • 688fd8c1aa Fix. Given vim mode line should end with : in order to work. Krzysztof Wilczynski 2011-03-03 09:17:06 +0000
  • 1064abcb6e Re-factor. Removed not needed shebang for Ruby. Krzysztof Wilczynski 2011-03-03 09:10:36 +0000
  • ab749e7414 no need for "#! ruby", vim modeline must end with ":", and fixed not found key bug Roman Barczyński 2011-03-03 04:08:32 +0100
  • 5caaf18c10 Merge git://github.com/kwilczynski/puppet-functions Roman Barczyński 2011-03-03 03:46:58 +0100
  • e566661cc7 Fix to a type in the documentation. Krzysztof Wilczynski 2011-03-03 02:45:11 +0000
  • 20fcf0e610 Re-factor of the code to make it more Puppet-friendly and update of the short documentation in the comment lines. Krzysztof Wilczynski 2011-03-03 02:37:26 +0000
  • 13098ff934 cronrand - stateful (between puppet runs) randomizer eg. for cron minutes for equal load distribution Roman Barczyński 2011-03-03 03:09:55 +0100
  • b305bbeac7 initial version Roman Barczyński 2011-03-03 02:48:35 +0100