Skip to content

Commit

Permalink
update report url
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Varrette <[email protected]>
  • Loading branch information
Sebastien Varrette authored and Sebastien Varrette committed May 27, 2017
1 parent 473a68d commit 307024b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/reports/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def process
options[:icon_emoji] = SLACK_ICON_EMOJI unless SLACK_ICON_EMOJI.empty?
# Prepare the message to display
report_url = "https://#{PUPPETCONSOLE}/#/node_groups/inventory/node/#{self.host}/reports" unless PUPPETCONSOLE.empty?
report_url = "https://#{PUPPETBOARD}/node/#{self.host}" unless PUPPETBOARD.empty?
report_url = "http://#{PUPPETBOARD}/node/#{self.host}" unless PUPPETBOARD.empty?

msg = "Puppet run for `#{self.host}` *#{self.status}* at #{Time.now.asctime} on #{self.configuration_version} in environment _#{self.environment}_. Report available <#{report_url}|here>."
# TODO: adapt the link
Expand Down

0 comments on commit 307024b

Please sign in to comment.