blob: ef7952ef6f2b62b251e103fb54bf7adfca1e0507 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'puppet/indirector'
# Provide any attributes or functionality needed for indirected
# instances.
module Puppet::Indirector::Envelope
attr_accessor :expiration
def expired?
return false unless expiration
return false if expiration >= Time.now
return true
end
end
|