Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/ssh/manifests/init.pp

Issue 29323173: Issue 2815 - Allow for SSH agent forwarding to be enabled via Hiera (Closed)
Patch Set: Created Aug. 3, 2015, 10:10 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/ssh/files/sshd_config ('k') | modules/ssh/templates/sshd_config.erb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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',
}
« no previous file with comments | « modules/ssh/files/sshd_config ('k') | modules/ssh/templates/sshd_config.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld