Index: modules/ssh/manifests/init.pp |
diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp |
index 82f798ee3004c1a46ddcd29c89eac01ca178cdd3..bb4621476f5307f7eeccbf9f8955ac6ea5cb4c80 100644 |
--- a/modules/ssh/manifests/init.pp |
+++ b/modules/ssh/manifests/init.pp |
@@ -1,4 +1,7 @@ |
-class ssh { |
+class ssh( |
+ $agent_forwarding = hiera('ssh::agent_forwarding', false), |
+) { |
+ |
package {'openssh-server': ensure => present} |
concat {'sshd_config': |
@@ -11,7 +14,7 @@ class ssh { |
concat::fragment {'sshd_config_template': |
target => 'sshd_config', |
- source => 'puppet:///modules/ssh/sshd_config', |
+ content => template('ssh/sshd_config.erb'), |
order => '01', |
} |