aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-11 15:52:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-11 15:53:06 -0300
commit210ac88c5c9d45d3bd67cb9d8080031c8f095f52 (patch)
tree09733ac644138a5dc69c1cc8e20af990064ffa0f /manifests/init.pp
parent30a0d0ceab9d7751133b32fc8b1c0cfdbb3e5f2c (diff)
downloadpuppet-ssl-210ac88c5c9d45d3bd67cb9d8080031c8f095f52.tar.gz
puppet-ssl-210ac88c5c9d45d3bd67cb9d8080031c8f095f52.tar.bz2
Manages ssl-cert group
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4259a6c..4ac9e0f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,8 +1,13 @@
class ssl {
+ group { 'ssl-cert':
+ ensure => present,
+ }
+
file { [ "/etc/ssl", "/etc/ssl/certs", "/etc/ssl/private", "/etc/ssl/dhparams" ]:
ensure => directory,
owner => "root",
group => "ssl-cert",
+ require => Group['ssl-cert'],
}
file { "/usr/local/bin/ssl-cert-check":