diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-03-10 05:21:36 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-03-10 05:21:36 -0400 |
commit | 8c6e729626fccab3786d8b510ce0a439947275e0 (patch) | |
tree | db981e87bb97c5bafc0878f104210ec18a33215e /modules/tozt | |
parent | 87b8269c96672ce15051520360b7b897fc8e2478 (diff) | |
download | puppet-tozt-8c6e729626fccab3786d8b510ce0a439947275e0.tar.gz puppet-tozt-8c6e729626fccab3786d8b510ce0a439947275e0.zip |
add cert age monitoring
Diffstat (limited to 'modules/tozt')
-rw-r--r-- | modules/tozt/files/munin-plugin-conf | 4 | ||||
-rw-r--r-- | modules/tozt/manifests/monitoring.pp | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/tozt/files/munin-plugin-conf b/modules/tozt/files/munin-plugin-conf index 9dfc8b4..acc7bdc 100644 --- a/modules/tozt/files/munin-plugin-conf +++ b/modules/tozt/files/munin-plugin-conf @@ -9,3 +9,7 @@ user root [package_updates] user root + +[certbot] +user root +env.CERTBOT_CONFIG_DIR /media/persistent/certbot diff --git a/modules/tozt/manifests/monitoring.pp b/modules/tozt/manifests/monitoring.pp index 104cc1f..f6a61d3 100644 --- a/modules/tozt/manifests/monitoring.pp +++ b/modules/tozt/manifests/monitoring.pp @@ -3,6 +3,7 @@ class tozt::monitoring { include munin::duplicati include munin::tarsnap include munin::archlinux + include munin::certbot file { "/etc/munin/plugin-conf.d/tozt": source => "puppet:///modules/tozt/munin-plugin-conf", @@ -72,4 +73,10 @@ class tozt::monitoring { 'package_updates', ]: } + + munin::plugin { + [ + 'certbot', + ]: + } } |