diff options
author | mh <mh@immerda.ch> | 2016-01-28 00:55:26 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2016-01-28 00:55:26 +0100 |
commit | 8ca75f6d074b83ee48d9ce713cdb3e28e57d2cf8 (patch) | |
tree | 11ea8f3d49648e2a781f6d830babdbe8801fda35 /manifests/ca/params.pp | |
parent | 572fd99995e50591f3e774582937c28eb337aa00 (diff) |
update module to make it work with all the new features of trocla 0.2.2
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..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 }}) +} |