Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on July 21, 2015 at 02:18 PM

Section 1 (Text)

[root@server srv]# ls /srv/linux/motd/
motd.sls  motd.template

[root@server srv]# cat /srv/linux/motd/motd.sls
/etc/motd:
  file.managed:
    - user: root
    - group: root
    - mode: 0644
    - source: salt://linux/motd/motd.template
    - template: jinja

[root@server srv]# cat /srv/linux/motd/motd.template
------------------------------------------------------------------------------
Welcome to {{ grains['fqdn'] }}

Server Stats at a Glance:
------------------------

OS: {{ grains['osfullname'] }}
Kernel: {{ grains['kernelrelease'] }}
Memory: {{ grains['mem_total'] }} MB

------------------------------------------------------------------------------