]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
Simplify by using the config_file definition.
authorintrigeri <intrigeri@boum.org>
Mon, 4 Oct 2010 20:03:49 +0000 (22:03 +0200)
committerintrigeri <intrigeri@boum.org>
Mon, 4 Oct 2010 20:03:49 +0000 (22:03 +0200)
README [new file with mode: 0644]
manifests/client/base.pp

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..7bb56a8
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+# sshd module for Puppet
+
+## Dependencies
+
+- shared-common: git://labs.riseup.net/shared-common
index 33d9f9e17e7d97fba92ee795fb583c1289c39925..64d4f6fbd9c311bfe51b7052c02547d9873a9203 100644 (file)
@@ -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