util: Added whitespace removal to base64 function output.
This commit is contained in:
parent
5bb6659940
commit
67e91bb8b5
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@ require 'base64'
|
||||||
|
|
||||||
module Puppet::Parser::Functions
|
module Puppet::Parser::Functions
|
||||||
newfunction(:base64, :type => :rvalue) do |args|
|
newfunction(:base64, :type => :rvalue) do |args|
|
||||||
Base64.encode64(args[0])
|
Base64.encode64(args[0]).strip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue