summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:22:25 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-11-16 11:22:25 -0200
commitebb9cbf7224f497a39f60c408b00f9da09b03f7f (patch)
treed460f1581f09a5e0f51399f43f8ddc3972e81225
parentc48fcd99581798d9a6eae2f4bb45be99e3e9d1f7 (diff)
downloadpuppet-certbot-ebb9cbf7224f497a39f60c408b00f9da09b03f7f.tar.gz
puppet-certbot-ebb9cbf7224f497a39f60c408b00f9da09b03f7f.tar.bz2
Adds certbot::standalone
-rw-r--r--manifests/standalone.pp9
1 files changed, 9 insertions, 0 deletions
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}',
+ }
+}