From ade0b7714eef56026df5bc091fdb25c01cfb7232 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 15 Jun 2011 23:01:57 +0000 Subject: allow to set a extension to the openssh config ( used to add Match block ) --- modules/openssh/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/openssh/manifests/init.pp b/modules/openssh/manifests/init.pp index 55a3e093..1144c533 100644 --- a/modules/openssh/manifests/init.pp +++ b/modules/openssh/manifests/init.pp @@ -27,10 +27,11 @@ class openssh { # root account authorized_keys will be symlinked # if you want to add symlink on other accounts, use $symlink_users parameter - class ssh_keys_from_ldap($symlink_users = []) inherits server { + class ssh_keys_from_ldap($symlink_users = [], + $config = '') inherits server { File ["/etc/ssh/sshd_config"] { - content => template("openssh/sshd_config","openssh/sshd_config_ldap") + content => template("openssh/sshd_config","openssh/sshd_config_ldap", $config) } package { 'python-ldap': -- cgit v1.2.1