blob: 5c13ec570a94208bf14098f8564ff23dd223c189 (
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 tail -F bash -c \"/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,
}
}
|