Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Find out when an exported custom type goes away?

$
0
0
**tl;dr; how can I find out when a custom type (which is an exported resource) goes away?** If I collect these custom types on a central machine I can receive a notify on them, something like: backup::node <<| |>> { notify => Exec['add_backup_hosts'], } But how can I notice when they go away? If this was a nagios type I could catch it with a purge. My current solution involves an intermediate step of a directory full of files where each file is the fqdn of the node, but I know there must be a better way :)

Viewing all articles
Browse latest Browse all 6104


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>