From: intrigeri Date: Mon, 4 Oct 2010 20:03:49 +0000 (+0200) Subject: Simplify by using the config_file definition. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=456e42b035e53e72e1aebd4689fa1a230fb49226;p=puppet-sshd.git Simplify by using the config_file definition. --- diff --git a/README b/README new file mode 100644 index 0000000..7bb56a8 --- /dev/null +++ b/README @@ -0,0 +1,5 @@ +# sshd module for Puppet + +## Dependencies + +- shared-common: git://labs.riseup.net/shared-common 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