From ec572315080690b9d7f1930fd175403aa004d8ab Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 May 2013 22:26:43 -0300 Subject: Adding system-wide screen session --- manifests/subsystem/screen/startup.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 manifests/subsystem/screen/startup.pp (limited to 'manifests/subsystem/screen') 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, + } +} -- cgit v1.2.3