Page MenuHomeDevCentral

Get rid of Scaleway MOTD
ClosedPublic

Authored by dereckson on Jun 9 2016, 01:29.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 08:40
Unknown Object (File)
Thu, Dec 12, 17:11
Unknown Object (File)
Tue, Dec 10, 12:02
Unknown Object (File)
Tue, Dec 10, 11:21
Unknown Object (File)
Sat, Dec 7, 07:13
Unknown Object (File)
Fri, Dec 6, 16:29
Unknown Object (File)
Sun, Dec 1, 17:16
Unknown Object (File)
Sun, Dec 1, 16:49
Subscribers
None

Details

Summary

Scaleway customizes MOTD in their Debian image.

That conflicts with our MOTD.

Fixes T858.

Test Plan

salt eglide state.apply roles/shellserver/motd

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
T858
Build Status
Buildable 545
Build 660: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Get rid of Scaleway MOTD.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.

Test run looks good to me.

Ysul
$ salt eglide state.apply roles/shellserver/motd/
eglide:
----------
          ID: motd
    Function: file.managed
        Name: /etc/motd.tail
      Result: True
     Comment: File /etc/motd.tail is in the correct state
     Started: 01:27:42.451152
    Duration: 1265.868 ms
     Changes:   
----------
          ID: get_rid_of_scaleway_motd
    Function: file.absent
        Name: /etc/update-motd.d/50-scw
      Result: True
     Comment: File /etc/update-motd.d/50-scw is not present
     Started: 01:27:43.718374
    Duration: 4.757 ms
     Changes:   

Summary for eglide
------------
Succeeded: 2
Failed:    0
------------
Total states run:     2

$ ssh root@eglide touch /etc/update-motd.d/50-scw
$ salt eglide state.apply roles/shellserver/motd/
eglide:
----------
          ID: motd
    Function: file.managed
        Name: /etc/motd.tail
      Result: True
     Comment: File /etc/motd.tail is in the correct state
     Started: 01:27:57.175518
    Duration: 1254.382 ms
     Changes:   
----------
          ID: get_rid_of_scaleway_motd
    Function: file.absent
        Name: /etc/update-motd.d/50-scw
      Result: True
     Comment: Removed file /etc/update-motd.d/50-scw
     Started: 01:27:58.431156
    Duration: 5.144 ms
     Changes:   
              ----------
              removed:
                  /etc/update-motd.d/50-scw

Summary for eglide
------------
Succeeded: 2 (changed=1)
Failed:    0
------------
Total states run:     2
Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Jun 9 2016, 08:41
This revision was automatically updated to reflect the committed changes.