aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/screen/startup.pp
blob: b054440c79dd09ccd4afb8808006e1b949b8da8e (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/*log /var/log/*/*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,
  }
}