aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-04 22:03:49 +0200
committerintrigeri <intrigeri@boum.org>2010-10-04 22:03:49 +0200
commit456e42b035e53e72e1aebd4689fa1a230fb49226 (patch)
tree614ddf2782b703d887babfc379fc665e0b0b7723
parentb9a8b7b3dfa10f71e10b05643e44cbdf20036f4d (diff)
downloadpuppet-sshd-456e42b035e53e72e1aebd4689fa1a230fb49226.tar.gz
puppet-sshd-456e42b035e53e72e1aebd4689fa1a230fb49226.tar.bz2
Simplify by using the config_file definition.
-rw-r--r--README5
-rw-r--r--manifests/client/base.pp3
2 files changed, 6 insertions, 2 deletions
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