diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-11 12:54:22 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-11 12:54:43 +0200 |
commit | c8511b2019b44360887d33a9626ec14c81736aee (patch) | |
tree | 68826f98d5e040c34dbc249570d306664020de5c /modules/base_installation/templates/puppet/slack.yaml.erb | |
parent | 5a5b32d87d06cfc6dce82cf83cb023ed2764fc45 (diff) | |
download | Puppet-c8511b2019b44360887d33a9626ec14c81736aee.tar.gz Puppet-c8511b2019b44360887d33a9626ec14c81736aee.tar.zst Puppet-c8511b2019b44360887d33a9626ec14c81736aee.zip |
Add slack notification for puppet
Diffstat (limited to 'modules/base_installation/templates/puppet/slack.yaml.erb')
-rw-r--r-- | modules/base_installation/templates/puppet/slack.yaml.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/base_installation/templates/puppet/slack.yaml.erb b/modules/base_installation/templates/puppet/slack.yaml.erb new file mode 100644 index 0000000..bcfb9f8 --- /dev/null +++ b/modules/base_installation/templates/puppet/slack.yaml.erb | |||
@@ -0,0 +1,12 @@ | |||
1 | --- | ||
2 | :slack_webhook: '<%= @slack["webhook"] %>' | ||
3 | :slack_channel: '<%= @slack["channel"] %>' | ||
4 | :slack_username: '<%= @slack["username"] %>' | ||
5 | :slack_icon_url: '<%= @slack["icon_url"] %>' | ||
6 | :slack_statuses: | ||
7 | <% @slack["statuses"].each do |status| %> | ||
8 | - <%= status %> | ||
9 | <% end %> | ||
10 | :foreman_api_host: ~ | ||
11 | :puppetboard_api_host: ~ | ||
12 | |||