aboutsummaryrefslogtreecommitdiff
path: root/modules/base_installation/manifests/ssh.pp
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2017-08-24 02:22:17 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2017-08-29 22:46:14 +0200
commit7fed35a408b9ec37454169425823785b5fc8978b (patch)
tree28371d43ac304f99fb0a5305124858db69ef2137 /modules/base_installation/manifests/ssh.pp
parentba2cf1b5d938810077b0fd73844faf432e8e8f9d (diff)
downloadPuppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.gz
Puppet-7fed35a408b9ec37454169425823785b5fc8978b.tar.zst
Puppet-7fed35a408b9ec37454169425823785b5fc8978b.zip
Refactor base installation module
Diffstat (limited to 'modules/base_installation/manifests/ssh.pp')
-rw-r--r--modules/base_installation/manifests/ssh.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/base_installation/manifests/ssh.pp b/modules/base_installation/manifests/ssh.pp
new file mode 100644
index 0000000..43769e9
--- /dev/null
+++ b/modules/base_installation/manifests/ssh.pp
@@ -0,0 +1,14 @@
1class base_installation::ssh inherits base_installation {
2 class { 'ssh::server':
3 storeconfigs_enabled => false,
4 options => {
5 'AcceptEnv' => undef,
6 'X11Forwarding' => 'yes',
7 'PrintMotd' => 'no',
8 'ChallengeResponseAuthentication' => 'no',
9 'Subsystem' => 'sftp /usr/lib/openssh/sftp-server',
10 }
11 }
12
13 contain "ssh::server"
14}