From ebb9cbf7224f497a39f60c408b00f9da09b03f7f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 16 Nov 2016 11:22:25 -0200 Subject: Adds certbot::standalone --- manifests/standalone.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/standalone.pp diff --git a/manifests/standalone.pp b/manifests/standalone.pp new file mode 100644 index 0000000..ac2ddaa --- /dev/null +++ b/manifests/standalone.pp @@ -0,0 +1,9 @@ +class certbot::standalone { + # Warning: this offers poor verification for the downloaded application + exec { 'getcertbot': + command => "/usr/bin/wget https://dl.eff.org/certbot-auto -O ${certbot::base_path}/${certbot::tool} && chmod +x ${certbot::base_path}/${certbot::tool}", + user => 'root', + cwd => '/tmp', + creates => '${certbot::base_path}/${certbot::tool}', + } +} -- cgit v1.2.3