diff options
author | varac <varacanero@zeromail.org> | 2013-09-24 09:09:30 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-09-24 09:20:42 +0200 |
commit | ffa4504f81c0abecc62b068951ec147741028128 (patch) | |
tree | 960a6b7c0e40457c124463fab85acca2e2d16b19 /puppet/modules/site_config/manifests/x509/key.pp | |
parent | d8b9ab39d333de6494e5006b3ba4abf4b8901bca (diff) |
seperate cert and key deployment (#3918)
Diffstat (limited to 'puppet/modules/site_config/manifests/x509/key.pp')
-rw-r--r-- | puppet/modules/site_config/manifests/x509/key.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/modules/site_config/manifests/x509/key.pp b/puppet/modules/site_config/manifests/x509/key.pp new file mode 100644 index 00000000..32b59726 --- /dev/null +++ b/puppet/modules/site_config/manifests/x509/key.pp @@ -0,0 +1,9 @@ +class site_config::x509::key { + + $x509 = hiera('x509') + $key = $x509['key'] + + x509::key { $site_config::params::cert_name: + content => $key + } +} |