Hi list,
I have a Puppet module (internal to the company) which makes use of exported resources. The exported resource data stored in PuppetDB is used to configure an external application. I'm looking for a way to notify this external service in order to trigger it load the stored exported resources from PuppetDB. If the "trigger" would be a log (syslog) event that would already be sufficient to work with. I have found 3 ways to achieve this, but for different reasons I'm not allowed to use them: 1. Use a Postgress trigger on the PuppetDB database which generates an event in case data changes. 2. https://github.com/ryanuber/puppet-tell. 3. An exec of the "/usr/bin/logger" command with "*refreshonly*" which subscribes to a a file resource writing the exported resources to a file. The data written to the file would then have to be the same as the exported resources. This would mean, if the "exported resources" change, the content of the file changes which only then produce a syslog. Unfortunately, the notify resource doesn't support "*refreshonly*". Are there any other constructions which would allow me to notify an external application in case exported resources for a host have changed? Thanks, Jelle -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/76c5fe28-ee70-4a37-904f-2a883b8cdc60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.