diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/openssh/manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
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': |