]> gitweb.fluxo.info Git - puppet-certbot.git/commitdiff
Adds certbot::standalone
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 16 Nov 2016 13:22:25 +0000 (11:22 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 16 Nov 2016 13:22:25 +0000 (11:22 -0200)
manifests/standalone.pp [new file with mode: 0644]

diff --git a/manifests/standalone.pp b/manifests/standalone.pp
new file mode 100644 (file)
index 0000000..ac2ddaa
--- /dev/null
@@ -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}',
+  }
+}