]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_installation/templates/puppet/slack.yaml.erb
Add slack notification for puppet
[perso/Immae/Projets/Puppet.git] / modules / base_installation / templates / puppet / slack.yaml.erb
diff --git a/modules/base_installation/templates/puppet/slack.yaml.erb b/modules/base_installation/templates/puppet/slack.yaml.erb
new file mode 100644 (file)
index 0000000..bcfb9f8
--- /dev/null
@@ -0,0 +1,12 @@
+---
+:slack_webhook: '<%= @slack["webhook"] %>'
+:slack_channel: '<%= @slack["channel"] %>'
+:slack_username: '<%= @slack["username"] %>'
+:slack_icon_url: '<%= @slack["icon_url"] %>'
+:slack_statuses:
+<% @slack["statuses"].each do |status| %>
+  - <%= status %>
+<% end %>
+:foreman_api_host: ~
+:puppetboard_api_host: ~
+