From: Peter Palfrader Date: Sat, 18 Aug 2012 19:48:38 +0000 (+0200) Subject: make group ssl-cert exist X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cbbe0ac60e700aa827837b12eaa8001e6a39f2a5;p=mirror%2Fdsa-puppet.git make group ssl-cert exist --- diff --git a/modules/ssl/manifests/init.pp b/modules/ssl/manifests/init.pp index fac2e15bc..c52700f92 100644 --- a/modules/ssl/manifests/init.pp +++ b/modules/ssl/manifests/init.pp @@ -29,6 +29,7 @@ class ssl { ensure => directory, group => ssl-cert, mode => '0750', + require => Package['ssl-cert'], } file { '/etc/ssl/debian/certs/thishost.crt': source => "puppet:///modules/ssl/clientcerts/${::fqdn}.client.crt", @@ -37,6 +38,8 @@ class ssl { file { '/etc/ssl/debian/keys/thishost.key': source => "puppet:///modules/ssl/clientcerts/${::fqdn}.key", mode => '0440' + group => ssl-cert, + require => Package['ssl-cert'], } file { '/etc/ssl/debian/certs/ca.crt': source => 'puppet:///modules/ssl/clientcerts/ca.crt', @@ -52,8 +55,9 @@ class ssl { } file { '/etc/ssl/debian/keys/thishost-server.key': source => "puppet:///modules/exim/certs/${::fqdn}.key", - group => ssl-cert, mode => '0440', + group => ssl-cert, + require => Package['ssl-cert'], } exec { 'c_rehash /etc/ssl/debian/certs':