1
0
mirror of https://github.com/Adam-Ant/puppet-motd synced 2025-07-01 13:00:56 +00:00

Update facts for legacy facter support

This commit is contained in:
Adam Dodman
2018-02-22 15:05:43 +00:00
parent 56b3923c99
commit c1a606b8dd
3 changed files with 8 additions and 8 deletions

View File

@ -5,13 +5,13 @@
------------------------------------------------------------
<%= $ascii %>
------------------------------------------------------------
Welcome to <%= $facts['networking']['fqdn'] %>
OS: <%= $facts['os']['name'] %> <%= $facts['os']['release']['full'] %>
OS Family: <%= $facts['os']['family'] %>
Architecture: <%= $facts['os']['architecture'] %>
Welcome to <%= $facts['fqdn'] %>
OS: <%= $facts['operatingsystem'] %> <%= $facts['operatingsystemrelease'] %>
OS Family: <%= $facts['osfamily'] %>
Architecture: <%= $facts['architecture'] %>
Kernel Version: <%= $facts['kernelversion'] %>
IP: <%= $facts['networking']['ip'] %>
RAM: <%= $facts['memory']['system']['total'] %>
IP: <%= $facts['ipaddress'] %>
RAM: <%= $facts['memorysize'] %>
------------------------------------------------------------
This system is managed by Puppet version <%= $facts['puppetversion'] %>
------------------------------------------------------------