diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-30 18:30:30 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-30 18:30:30 -0300 |
commit | acddc6dfb86baa8c0a2b88271d1043b7ea5347c4 (patch) | |
tree | 3634b0d8d7d48d1d7a57e0214a7733b085eede46 /manifests/auto.pp | |
parent | ca6f53305ea12ecd177669a43fa80c0cd1941982 (diff) | |
download | puppet-certbot-acddc6dfb86baa8c0a2b88271d1043b7ea5347c4.tar.gz puppet-certbot-acddc6dfb86baa8c0a2b88271d1043b7ea5347c4.tar.bz2 |
Renames certbot::standalone to certbot::auto
Diffstat (limited to 'manifests/auto.pp')
-rw-r--r-- | manifests/auto.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/auto.pp b/manifests/auto.pp new file mode 100644 index 0000000..3227ac4 --- /dev/null +++ b/manifests/auto.pp @@ -0,0 +1,9 @@ +class certbot::auto { + # Warning: this offers poor verification for the downloaded application + exec { 'getcertbot': + command => "/usr/bin/wget https://dl.eff.org/certbot-auto -O ${certbot::script_base}/${certbot::tool} && chmod +x ${certbot::script_base}/${certbot::tool}", + user => 'root', + cwd => '/tmp', + creates => "${certbot::script_base}/${certbot::tool}", + } +} |