diff options
Diffstat (limited to 'manifests/ca/params.pp')
-rw-r--r-- | manifests/ca/params.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/ca/params.pp b/manifests/ca/params.pp new file mode 100644 index 0000000..437e990 --- /dev/null +++ b/manifests/ca/params.pp @@ -0,0 +1,11 @@ +# input for a ca from trocla, so that you need only +# +# trocla('some_ca','x509',$trocla::ca::params::ca_options) +class trocla::ca::params( + $trocla_options = { + 'profiles' => ['sysdomain_nc','x509veryverylong'], + 'CN' => "automated-ca ${name} for ${::domain}", + }, +) { + $ca_options = merge($trocla_options,{ become_ca => true, render => { certonly => true }}) +} |