Method: Puppet::Network::Handler::Master#freshness

Defined in:
lib/vendor/puppet/network/handler/master.rb

#freshness(client = nil, clientip = nil) ⇒ Object

Tell a client whether there’s a fresh config for it



24
25
26
27
# File 'lib/vendor/puppet/network/handler/master.rb', line 24

def freshness(client = nil, clientip = nil)
  # Always force a recompile.  Newer clients shouldn't do this (as of April 2008).
  Time.now.to_i
end