Page MenuHomeDevCentral

Bump FreeBSD version in MOTD
ClosedPublic

Authored by dereckson on Jan 7 2024, 16:20.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 23, 04:32
Unknown Object (File)
Sat, Jun 8, 23:22
Unknown Object (File)
Sat, Jun 8, 18:29
Unknown Object (File)
Sat, Jun 8, 18:16
Unknown Object (File)
Sat, Jun 8, 17:26
Unknown Object (File)
Fri, Jun 7, 09:57
Unknown Object (File)
Fri, Jun 7, 09:08
Unknown Object (File)
Wed, Jun 5, 23:02
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.
[…]