summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/server/master.rb3
1 files changed, 3 insertions, 0 deletions
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