From: Peter Palfrader Date: Sat, 18 Aug 2012 19:42:06 +0000 (+0200) Subject: fix path and perms X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=3c7a8b1b6e6c3a88ce6e692587e7317cbec8ea4f;p=mirror%2Fdsa-puppet.git fix path and perms --- diff --git a/modules/ssl/manifests/init.pp b/modules/ssl/manifests/init.pp index d16754f6f..062cf8dc4 100644 --- a/modules/ssl/manifests/init.pp +++ b/modules/ssl/manifests/init.pp @@ -30,7 +30,7 @@ class ssl { } file { '/etc/ssl/debian/keys/thishost.key': source => "puppet:///modules/ssl/clientcerts/${::fqdn}.key", - mode => '0640' + mode => '0440' } file { '/etc/ssl/debian/certs/ca.crt': source => 'puppet:///modules/ssl/clientcerts/ca.crt', @@ -44,10 +44,10 @@ class ssl { source => "puppet:///modules/exim/certs/${::fqdn}.crt", notify => Exec['c_rehash /etc/ssl/debian/certs'], } - file { '/etc/ssl/debian/certs/thishost-server.key': + file { '/etc/ssl/debian/keys/thishost-server.key': source => "puppet:///modules/exim/certs/${::fqdn}.key", group => ssl-cert, - mode => '0640', + mode => '0440', } exec { 'c_rehash /etc/ssl/debian/certs':