Facter.add("sitecode") do  
setcode do
%x{cat /etc/puppet/sitecode.conf}.chomp
end
end