file '/etc/motd' do content "About system: CPU: #{node['cpu']['0']['mhz']} MEMORY: #{node['memory']['total']} IPADDRESS: #{node['ipaddress']} HOSTNAME: #{node['hostname']} " action :create end