From 221ea792c308010f74c6cb1fe3aa822a4d9e16ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Tue, 22 Aug 2017 13:37:32 +0200 Subject: [PATCH] Add refresh --- lib/puppet/type/puppet_certificate.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/puppet/type/puppet_certificate.rb b/lib/puppet/type/puppet_certificate.rb index 35b1d09..2c39367 100644 --- a/lib/puppet/type/puppet_certificate.rb +++ b/lib/puppet/type/puppet_certificate.rb @@ -28,4 +28,8 @@ desc "Alternate DNS names by which the certificate holder may be reached" end + def refresh + provider.destroy + provider.create + end end