File tree Expand file tree Collapse file tree
inventory/inventory-fwupd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,27 +19,27 @@ bundle agent example_rss_promise
1919 # REPAIRED if content on disk changes
2020 # KEPT if content on disk does not need changed
2121 # NOTKEPT if unable to fetch rss, unable to re-write content
22+ # Default to newest
2223 feed => "https://blogs.nasa.gov/stationreport/feed/",
2324 select => "oldest";
2425
25- # Default to newest
2626 "/tmp/ISS-random.txt"
2727 # Contains Item description
2828 # REPAIRED if content on disk changes
2929 # KEPT if content on disk does not need changed
3030 # NOTKEPT if unable to fetch rss, unable to re-write content
31+ # Default to newest
3132 feed => "https://blogs.nasa.gov/stationreport/feed/",
3233 select => "random";
3334
34- # Default to newest
3535 "/tmp/ISS-newest-from-local-file-source.txt"
3636 # Contains Item description
3737 # REPAIRED if content on disk changes
3838 # KEPT if content on disk does not need changed
3939 # NOTKEPT if unable to fetch rss, unable to re-write content
40+ # Default to newest
4041 feed => "/tmp/iss.xml",
4142 select => "newest";
42- # Default to newest
4343}
4444
4545bundle agent __main__
Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ bundle agent inventory_fwupd_main
4343 "_template" string => "$(this.promise_dirname)/fwupd-inventory.mustache";
4444
4545 # TTLs in seconds for the fwupdmgr-derived JSON caches.
46+ # 12 h:
4647 "_updates_ttl" string => "43200";
4748
48- # 12 h
49+ # 24 h:
4950 "_security_ttl" string => "86400";
5051
51- # 24 h
5252 # Pre-compute file mtimes here rather than calling filestat() inline
5353 # inside class expressions: nested $(filestat($(path), mtime)) does not
5454 # expand reliably inside isgreaterthan(), so the staleness comparisons
You can’t perform that action at this time.
0 commit comments