aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/screen/startup.pp
blob: 5b20295070f56ac58fdf3400eb28d588c76760f8 (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",
                                                                  "htop 2 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,
  }
}