aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/screen/startup.pp
blob: d6735f15350fea433491cb7f7ba1b2f81e1b330d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class nodo::subsystem::screen::startup(
  $windows = hiera('nodo::subsystem::screen::startup::windows', [ "${::hostname} 0 tail -F /var/log/daemon.log", "htop 1 htop" ]),
  $select  = hiera('nodo::subsystem::screen::startup::select', 1)
) {
  file { "/etc/screenrc.startup":
    content => template('nodo/screen/screenrc.erb'),
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => present,
  }
}