screen: Add defnonblock to screenrc
This commit is contained in:
parent
a7f94e1060
commit
fa4bf186d9
1 changed files with 8 additions and 0 deletions
|
@ -6,4 +6,12 @@ class screen {
|
|||
ensure => installed,
|
||||
}
|
||||
|
||||
exec { "set-screen-defnonblock":
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
user => "root",
|
||||
command => "echo 'defnonblock on' >> /etc/screenrc",
|
||||
unless => "fgrep -x 'defnonblock on' /etc/screenrc",
|
||||
require => Package["screen"],
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue