From 8a0309a07654a6bdf778fa903859c1ddcbaff95e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felix=20D=C3=B6rre?= Date: Sun, 12 Mar 2017 06:51:29 -0400 Subject: [PATCH] fix: remove getty-services Change-Id: I36b9c1014f83010addd9ccc13b018b5eaae924af --- modules/container/manifests/init.pp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/container/manifests/init.pp b/modules/container/manifests/init.pp index d43e23b..73162bc 100644 --- a/modules/container/manifests/init.pp +++ b/modules/container/manifests/init.pp @@ -13,6 +13,26 @@ class container::contained { file {'/certified': content => '' } + service {'getty@tty1': + ensure => 'stopped', + enable => 'mask' + } + service {'getty@tty2': + ensure => 'stopped', + enable => 'mask' + } + service {'getty@tty3': + ensure => 'stopped', + enable => 'mask' + } + service {'getty@tty4': + ensure => 'stopped', + enable => 'mask' + } + service {'console-getty': + ensure => 'stopped', + enable => 'mask' + } } class container::ssh { package { [ 'openssh-client', 'openssh-server']: -- 2.39.5