Sha256: 5324ef8acf4a2e57b1ea09fad4e33b58a3ab886f90a9702ce4ecf6bfa04a0622

Contents?: true

Size: 114 Bytes

Versions: 17

Compression:

Stored size: 114 Bytes

Contents

Facter.add('boottime') do
  setcode do
    Time.at(Time.now.to_i - Facter.value('uptime_seconds').to_i)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
onering-report-plugins-0.0.22 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.21 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.20 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.19 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.18 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.17 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.16 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.15 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.14 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.13 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.12 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.11 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.10 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.9 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.8 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.7 lib/facter/onering_properties_system.rb
onering-report-plugins-0.0.6 lib/facter/onering_properties_system.rb