diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 22:26:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-26 22:26:43 -0300 |
commit | ec572315080690b9d7f1930fd175403aa004d8ab (patch) | |
tree | f536a788e2ce5f5f7f501f5c7d30b5492f2d529a /manifests/subsystem/screen | |
parent | e96c97b4a3468b9c164f3bfcfc7db969f441e49b (diff) | |
download | puppet-nodo-ec572315080690b9d7f1930fd175403aa004d8ab.tar.gz puppet-nodo-ec572315080690b9d7f1930fd175403aa004d8ab.tar.bz2 |
Adding system-wide screen session
Diffstat (limited to 'manifests/subsystem/screen')
-rw-r--r-- | manifests/subsystem/screen/startup.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/subsystem/screen/startup.pp b/manifests/subsystem/screen/startup.pp new file mode 100644 index 0000000..ffbec08 --- /dev/null +++ b/manifests/subsystem/screen/startup.pp @@ -0,0 +1,12 @@ +class nodo::subsytem::screen::startup( + $windows = hiera('nodo::subsystem::screen::startup::windows', [ "${::hostname} 0 tail -F /var/log/daemon.log" ]), + $select = hiera('nodo::subsystem::screen::startup::select', 0) +) { + file { "/etc/screenrc.startup": + content => template('nodo/screen/screenrc.erb'), + owner => "root", + group => "root", + mode => 0644, + ensure => present, + } +} |