diff options
author | intrigeri <intrigeri@boum.org> | 2010-10-04 22:03:49 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-10-04 22:03:49 +0200 |
commit | 456e42b035e53e72e1aebd4689fa1a230fb49226 (patch) | |
tree | 614ddf2782b703d887babfc379fc665e0b0b7723 | |
parent | b9a8b7b3dfa10f71e10b05643e44cbdf20036f4d (diff) | |
download | puppet-sshd-456e42b035e53e72e1aebd4689fa1a230fb49226.tar.gz puppet-sshd-456e42b035e53e72e1aebd4689fa1a230fb49226.tar.bz2 |
Simplify by using the config_file definition.
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | manifests/client/base.pp | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -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 |