Sha256: 7790a45434b392d63dc9c48f825c018c7931298ba43567d0be4accd19f302834
Contents?: true
Size: 338 Bytes
Versions: 16
Compression:
Stored size: 338 Bytes
Contents
module Puppet Puppet::Type.type(:file).newproperty(:ctime) do desc "A read-only state to check the file ctime." def retrieve current_value = :absent if stat = @resource.stat current_value = stat.ctime end current_value end validate do fail "ctime is read-only" end end end
Version data entries
16 entries across 16 versions & 2 rubygems