aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-15 23:01:57 +0000
committerMichael Scherer <misc@mageia.org>2011-06-15 23:01:57 +0000
commitade0b7714eef56026df5bc091fdb25c01cfb7232 (patch)
treec8994782c008c56a00ac088d2d97149aa7689e0d /modules/openssh
parent0cb88b50e60ee30ddbe6cc0a55a804b64623efe0 (diff)
downloadpuppet-ade0b7714eef56026df5bc091fdb25c01cfb7232.tar
puppet-ade0b7714eef56026df5bc091fdb25c01cfb7232.tar.gz
puppet-ade0b7714eef56026df5bc091fdb25c01cfb7232.tar.bz2
puppet-ade0b7714eef56026df5bc091fdb25c01cfb7232.tar.xz
puppet-ade0b7714eef56026df5bc091fdb25c01cfb7232.zip
allow to set a extension to the openssh config ( used to
add Match block )
Diffstat (limited to 'modules/openssh')
-rw-r--r--modules/openssh/manifests/init.pp5
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':