Yet another slack report processor.
Run:
puppet module install udzura-report_slack2
# or use librarian-puppet
Create config file /etc/puppet/slack.yaml
as:
---
username: "puppet reporter"
webhook: "https://hooks.slack.com/services/YOUR/incoming-web-hook/AddRess!!!"
channels:
- "#udzura_dev"
Puppet way, like this:
$slack = {
username => "puppet reporter",
webhook => "https://hooks.slack.com/services/YOUR/incoming-web-hook/AddRess!!!",
channels => ["#udzura_dev"]
}
file {
'/etc/puppet/slack.yaml':
content => inline_template("<%= YAML.dump(@slack) %>")
}
Then set reporter:
[master]
...
report = true
reports = store,slack
MIT.