From 456e42b035e53e72e1aebd4689fa1a230fb49226 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 4 Oct 2010 22:03:49 +0200 Subject: Simplify by using the config_file definition. --- manifests/client/base.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'manifests/client/base.pp') diff --git a/manifests/client/base.pp b/manifests/client/base.pp index 33d9f9e..64d4f6f 100644 --- a/manifests/client/base.pp +++ b/manifests/client/base.pp @@ -1,7 +1,6 @@ class sshd::client::base { # this is needed because the gid might have changed - file { '/etc/ssh/ssh_known_hosts': - owner => root, group => 0, mode => 0644; + config_file { '/etc/ssh/ssh_known_hosts': } # Now collect all server keys -- cgit v1.2.3