From 4848018a07db64dc3d64091e2b2bac18f273cb2e Mon Sep 17 00:00:00 2001 From: Graham Gilbert Date: Wed, 14 Aug 2024 11:56:28 -0700 Subject: [PATCH] Default value here --- lib/facter/munki_last_run.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/facter/munki_last_run.rb b/lib/facter/munki_last_run.rb index f747f43..5ff42bd 100644 --- a/lib/facter/munki_last_run.rb +++ b/lib/facter/munki_last_run.rb @@ -12,6 +12,6 @@ plist = Puppet::Util::Plist.read_plist_file(report_plist) last_run = plist["StartTime"] end - last_run + last_run || "never" end end