From bca4f5ea9df7c7374686fdee0ee672ed470ef91c Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 11 Apr 2006 15:58:49 +0000 Subject: Adding the puppet client version to the fact list as "clientversion" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1101 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/server/master.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/puppet/server/master.rb b/lib/puppet/server/master.rb index 719b115ac..bdae877a9 100644 --- a/lib/puppet/server/master.rb +++ b/lib/puppet/server/master.rb @@ -115,6 +115,9 @@ class Server clientip = facts["ipaddress"] end + # Add our server version to the fact list + facts["serverversion"] = Puppet.version.to_s + retobjects = nil # This is hackish, but there's no "silence" option for benchmarks -- cgit