aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/screen/startup.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/screen/startup.pp')
-rw-r--r--manifests/subsystem/screen/startup.pp12
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,
+ }
+}