ohai values interpolation in Chef

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