8 lines
150 B
Ruby
8 lines
150 B
Ruby
|
|
require 'base64'
|
|
|
|
module Puppet::Parser::Functions
|
|
newfunction(:base64, :type => :rvalue) do |args|
|
|
Base64.encode64(args[0])
|
|
end
|
|
end
|