From 67e91bb8b523a0dddf0c94b4a983eedbeba21c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Wed, 25 Sep 2013 12:08:21 +0300 Subject: [PATCH] util: Added whitespace removal to base64 function output. --- util/lib/puppet/parser/functions/base64.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lib/puppet/parser/functions/base64.rb b/util/lib/puppet/parser/functions/base64.rb index e5d99a5..154c137 100644 --- a/util/lib/puppet/parser/functions/base64.rb +++ b/util/lib/puppet/parser/functions/base64.rb @@ -3,6 +3,6 @@ require 'base64' module Puppet::Parser::Functions newfunction(:base64, :type => :rvalue) do |args| - Base64.encode64(args[0]) + Base64.encode64(args[0]).strip end end