From 4787bbcdefd4b94330746589d40808d5ce02ff9e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 8 Nov 2010 13:32:03 +0100 Subject: [PATCH] Make ssh_config a template --- modules/ssh/manifests/init.pp | 2 +- modules/ssh/{files/ssh_config => templates/ssh_config.erb} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename modules/ssh/{files/ssh_config => templates/ssh_config.erb} (100%) diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 271c8bdff..a91618888 100644 --- a/modules/ssh/manifests/init.pp +++ b/modules/ssh/manifests/init.pp @@ -5,7 +5,7 @@ class ssh { } file { "/etc/ssh/ssh_config": - source => [ "puppet:///modules/ssh/ssh_config" ], + content => template("ssh/ssh_config.erb"), require => Package["openssh-client"] ; "/etc/ssh/sshd_config": diff --git a/modules/ssh/files/ssh_config b/modules/ssh/templates/ssh_config.erb similarity index 100% rename from modules/ssh/files/ssh_config rename to modules/ssh/templates/ssh_config.erb -- 2.20.1