blob: 1c3a84767ea7eb3aa60896fb5e600b52655c860f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class nodo::subsystem::screen::startup(
$windows = lookup('nodo::subsystem::screen::startup::windows', undef, undef, [ "${::hostname} 0 bash -c \"tail -F /var/log/*log /var/log/*/*log\"",
"journal 1 journalctl -f",
"top 2 top" ]),
$select = lookup('nodo::subsystem::screen::startup::select', undef, undef, 1)
) {
file { "/etc/screenrc.startup":
content => template('nodo/screen/screenrc.erb'),
owner => "root",
group => "root",
mode => '0644',
ensure => present,
}
}
|