module Puppet::Parser::Functions
newfunction(:entropy_provider, :type => :rvalue) do |args|
begin
module Puppet::Parser::Functions
newfunction(:entropy_provider, :type => :rvalue) do |args|
begin
if provider.include?(fqdn) # if the host has an ekeyd
ans = 'local'
elsif entropy_provider_hoster
# if there are more than one ekeys at this hoster pick an arbitrary
# one, but the same every time
if provider.include?(fqdn) # if the host has an ekeyd
ans = 'local'
elsif entropy_provider_hoster
# if there are more than one ekeys at this hoster pick an arbitrary
# one, but the same every time