Page MenuHomeDevCentral

Bump FreeBSD version in MOTD
ClosedPublic

Authored by dereckson on Jan 7 2024, 16:20.
Tags
None
Referenced Files
F7556638: D3264.id8383.diff
Mon, Apr 28, 17:57
F7547762: D3264.diff
Mon, Apr 28, 13:44
Unknown Object (File)
Sat, Apr 26, 21:48
Unknown Object (File)
Fri, Apr 25, 08:01
Unknown Object (File)
Thu, Apr 24, 15:12
Unknown Object (File)
Thu, Apr 24, 06:04
Unknown Object (File)
Wed, Apr 23, 06:41
Unknown Object (File)
Sun, Apr 20, 20:10
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.

seem good for me,
Is there a way to make this change automatic ?
based on the version of the os in the server ?

This revision is now accepted and ready to land.Jan 8 2024, 18:41

Can be automated with grain osmajorrelease.

This revision was automatically updated to reflect the committed changes.

Deployment

Complector
$ salt -G 'os:FreeBSD' state.apply roles/core/motd
[…]
db-A-001:
----------
          ID: motd
    Function: file.managed
        Name: /etc/motd.template
      Result: True
     Comment: File /etc/motd.template updated
     Started: 21:59:23.854873
    Duration: 574.128 ms
     Changes:
              ----------
              diff:
                  ---
                  +++
                  @@ -1,7 +1,7 @@
                       ____  ______  ___
                      /    )/      \/   \    db-A-001.nasqueron.drake
                     (     / __    _\    )
                  -   \    (/ o)  ( o)   )   IP: 172.27.27.8        OS: FreeBSD 13
                  +   \    (/ o)  ( o)   )   IP: 172.27.27.8        OS: FreeBSD 14
                       \_  (_  )   \ )  /    GW: 172.27.27.1        Cluster A | PostgreSQL
                         \  /\_/    \)_/
                          \/  //|  |\\       This server hosts databases for Nasqueron projects.
[…]