Page MenuHomeDevCentral

Bump FreeBSD version in MOTD
ClosedPublic

Authored by dereckson on Jan 7 2024, 16:20.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 00:46
Unknown Object (File)
Thu, Dec 19, 00:23
Unknown Object (File)
Tue, Dec 17, 02:36
Unknown Object (File)
Mon, Dec 9, 21:24
Unknown Object (File)
Sat, Dec 7, 12:47
Unknown Object (File)
Tue, Dec 3, 12:30
Unknown Object (File)
Tue, Dec 3, 12:30
Unknown Object (File)
Tue, Dec 3, 12:05
Subscribers
None

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
motd-freebsd-14
Build Status
Buildable 5151
Build 5432: arc lint + arc unit

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.
[…]