projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow nagios to run /usr/lib/nagios/plugins/dsa-check-bacula-lastbackup-wrap on dinis
[mirror/dsa-puppet.git]
/
modules
/
ssl
/
manifests
/
init.pp
diff --git
a/modules/ssl/manifests/init.pp
b/modules/ssl/manifests/init.pp
index
614e358
..
3d37fb8
100644
(file)
--- a/
modules/ssl/manifests/init.pp
+++ b/
modules/ssl/manifests/init.pp
@@
-1,7
+1,12
@@
class ssl {
class ssl {
- package { 'openssl':
- ensure => installed
+ package {
+ 'openssl':
+ ensure => installed,
+ ;
+ 'ssl-cert':
+ ensure => installed,
+ ;
}
file { '/etc/ssl/debian':
}
file { '/etc/ssl/debian':
@@
-24,6
+29,7
@@
class ssl {
ensure => directory,
group => ssl-cert,
mode => '0750',
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",
}
file { '/etc/ssl/debian/certs/thishost.crt':
source => "puppet:///modules/ssl/clientcerts/${::fqdn}.client.crt",
@@
-31,7
+37,9
@@
class ssl {
}
file { '/etc/ssl/debian/keys/thishost.key':
source => "puppet:///modules/ssl/clientcerts/${::fqdn}.key",
}
file { '/etc/ssl/debian/keys/thishost.key':
source => "puppet:///modules/ssl/clientcerts/${::fqdn}.key",
- mode => '0440'
+ mode => '0440',
+ group => ssl-cert,
+ require => Package['ssl-cert'],
}
file { '/etc/ssl/debian/certs/ca.crt':
source => 'puppet:///modules/ssl/clientcerts/ca.crt',
}
file { '/etc/ssl/debian/certs/ca.crt':
source => 'puppet:///modules/ssl/clientcerts/ca.crt',
@@
-47,8
+55,9
@@
class ssl {
}
file { '/etc/ssl/debian/keys/thishost-server.key':
source => "puppet:///modules/exim/certs/${::fqdn}.key",
}
file { '/etc/ssl/debian/keys/thishost-server.key':
source => "puppet:///modules/exim/certs/${::fqdn}.key",
- group => ssl-cert,
mode => '0440',
mode => '0440',
+ group => ssl-cert,
+ require => Package['ssl-cert'],
}
exec { 'c_rehash /etc/ssl/debian/certs':
}
exec { 'c_rehash /etc/ssl/debian/certs':