aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/screen/startup.pp
blob: 15f9b5671203f28f3831d9bc3e8dbb50b3ea13fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class nodo::subsystem::screen::startup(
  $windows = hiera('nodo::subsystem::screen::startup::windows', [ "${::hostname} 0 bash -c \"tail -F /var/log/*log /var/log/*/*log\"",
                                                                  "journal 1 journalctl -f",
                                                                  "top 2 top" ]),
  $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,
  }
}