newfunction(:entropy_provider, :type => :rvalue) do |args|
begin
require '/var/lib/puppet/lib/puppet/parser/functions/whohosts.rb'
newfunction(:entropy_provider, :type => :rvalue) do |args|
begin
require '/var/lib/puppet/lib/puppet/parser/functions/whohosts.rb'
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