Skip to content

Commit

Permalink
now with fancier certs
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Dec 3, 2024
1 parent 885bffc commit 58ea20b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
$hook_script = "#!/usr/bin/env bash
cp \$LEGO_CERT_PATH ${datadir}/certs/cert
cp \$LEGO_CERT_KEY_PATH ${datadir}/certs/key
chown root:1000 ${datadir}/certs/cert ${datadir}/certs/key
chmod 0640 ${datadir}/certs/cert ${datadir}/certs/key
/usr/bin/systemctl restart container@influxdb"

file { [$datadir, "${datadir}/data", "${datadir}/certs"]:
Expand Down

0 comments on commit 58ea20b

Please sign in to comment.