From 8ca75f6d074b83ee48d9ce713cdb3e28e57d2cf8 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 28 Jan 2016 00:55:26 +0100 Subject: update module to make it work with all the new features of trocla 0.2.2 --- manifests/ca/params.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/ca/params.pp (limited to 'manifests/ca/params.pp') diff --git a/manifests/ca/params.pp b/manifests/ca/params.pp new file mode 100644 index 0000000..bb61248 --- /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','x509long'], + 'CN' => "automated-ca ${name} for ${::domain}", + }, +) { + $ca_options = merge($trocla_options,{ become_ca => true, render => { certonly => true }}) +} -- cgit v1.2.3