Page MenuHomeDevCentral

Bump FreeBSD version in MOTD
ClosedPublic

Authored by dereckson on Jan 7 2024, 16:20.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 15:51
Unknown Object (File)
Fri, Nov 22, 10:51
Unknown Object (File)
Tue, Nov 19, 18:52
Unknown Object (File)
Tue, Nov 19, 00:22
Unknown Object (File)
Tue, Nov 19, 00:21
Unknown Object (File)
Mon, Nov 18, 04:54
Unknown Object (File)
Mon, Nov 18, 04:35
Unknown Object (File)
Sun, Nov 17, 23:08
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.
[…]