diff options
author | Micah Anderson <micah@riseup.net> | 2009-11-23 11:54:04 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2009-11-23 11:54:04 -0500 |
commit | 3ff12051c8efabcdfb43b99810ff1c2ea22750a3 (patch) | |
tree | 5145331d85099abd1e01dabca1a474b9651184f6 /plugins/puppet/parser/functions/prefix_with.rb | |
parent | 8a389425075f54f8c10e2ff08c1aa07827d14622 (diff) | |
download | puppet-common-3ff12051c8efabcdfb43b99810ff1c2ea22750a3.tar.gz puppet-common-3ff12051c8efabcdfb43b99810ff1c2ea22750a3.tar.bz2 |
move plugin directory to fit new 0.25.x style and update file paths accordingly
Diffstat (limited to 'plugins/puppet/parser/functions/prefix_with.rb')
-rw-r--r-- | plugins/puppet/parser/functions/prefix_with.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/plugins/puppet/parser/functions/prefix_with.rb b/plugins/puppet/parser/functions/prefix_with.rb deleted file mode 100644 index 5a12986..0000000 --- a/plugins/puppet/parser/functions/prefix_with.rb +++ /dev/null @@ -1,19 +0,0 @@ -# Prefixes arguments 2..n with first argument. -# -# prefix_with(string prefix, string[] arguments) : string[] -# -# Example: -# -# prefix_with("php-", [ "blah", "foo" ]) -# -# will result in this array: -# -# [ "php-blah", "php-foo" ] -# -module Puppet::Parser::Functions - newfunction(:prefix_with, :type => :rvalue) do |args| - prefix = args.shift - args.collect {|v| "%s%s" % [prefix, v] } - end -end - |