aboutsummaryrefslogtreecommitdiff
path: root/manifests/motd.pp
blob: c8029bf7ae58904ef94c72877aee3667e3cd7c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class motd {
  # 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"],
  }
}