summaryrefslogtreecommitdiff
path: root/manifests/auto.pp
blob: 3227ac41e868caba8c366e587d376c28d8a740ec (plain)
1
2
3
4
5
6
7
8
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}",
  }
}