Package: installation-birthday Version: 12 Severity: wishlist Hi!
This is a nice little tool! :) I'd like to use it in our Puppet infrastructure to document when our servers have been installed. This is best done with a Puppet Fact, in our case. And while we could use a custom fact that would be a rewrite of this in Ruby: https://puppet.com/docs/facter/3.9/fact_overview.html ... I figured it might be worth just tweaking the output of this script slightly to support behaving as an external fact itself: https://puppet.com/docs/facter/3.9/custom_facts.html#external-facts As a shell command, it would look something like this: root@archive-01:~# installation-birthday 2>&1 | sed -n '/I: Installation date: /{s/.*: /installation_date=/;p}' installation_date=2019-06-27 This is, granted, a quite specific output format, but it could also be reused by shell scripts, for example. Alternatively, I would be okay with a YAML or JSON output format, but it would seem overkill for my purpose. Thank you for your consideration! -- System Information: Debian Release: 10.2 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages installation-birthday depends on: ii e2fsprogs 1.44.5-1+deb10u2 ii python3 3.7.3-1 installation-birthday recommends no packages. installation-birthday suggests no packages. -- no debconf information