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

Using hiera data in tagmail.conf

$
0
0
Is it possible to use values from hiera variables in the tagmail.conf for mail address instead of hard coding them in tagmail.conf? Basically I want to know if we can do something like this: $send_error_to = hiera('email_to',[]) And use this $send_error_to in the email portion in tagmail.conf like this: [tagmap] crit,emerg,alert,err,warning: $send_error_to And that should send the email to the ids mentioned in hiera. Please provide examples if it's possible. Many thanks!

Viewing all articles
Browse latest Browse all 6104

Latest Images

Trending Articles



Latest Images

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