class nodo::subsystem::motd(
  $network_name = hiera('nodo::subsystem::motd::network_name', 'Nodo')
) {
  # http://projects.reductivelabs.com/issues/1915
  file { "/var/run/motd":
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => file,
    content => "This is ${::fqdn} from the ${network_name}.\n",
  }

  file { "/etc/motd":
     owner   => "root",
     group   => "root",
     ensure  => "/var/run/motd",
     require => File["/var/run/motd"],
  }
}