From cbbe0ac60e700aa827837b12eaa8001e6a39f2a5 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 18 Aug 2012 21:48:38 +0200 Subject: [PATCH] make group ssl-cert exist --- modules/ssl/manifests/init.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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': -- 2.20.1