diff options
author | Micah Anderson <micah@riseup.net> | 2012-11-22 14:32:41 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-11-22 14:32:41 -0500 |
commit | 8713c2804d22cbca0a2d4843befa0327ebc5b45e (patch) | |
tree | 6cece14dbb065994ed8815e98b35e80d3232dc97 /manifests/cert.pp |
Initial commit
Diffstat (limited to 'manifests/cert.pp')
-rw-r--r-- | manifests/cert.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/cert.pp b/manifests/cert.pp new file mode 100644 index 0000000..b6caa7b --- /dev/null +++ b/manifests/cert.pp @@ -0,0 +1,14 @@ +define x509::cert ( + $source = "puppet:///modules/site_x509/files/certs/${name}.crt", +) { + include x509::variables + include x509::base + + file { "${x509::variables::ssl_local_certs}/${name}.crt" : + ensure => file, + mode => '0444', + group => 'ssl-cert', + source => $source, + require => Package['openssl'], + } +} |