Skip to content

Commit

Permalink
Merge pull request voxpupuli#146 from sathieu/ruby1.8
Browse files Browse the repository at this point in the history
Ruby 1.8 compatibility (Agent-side) - fact only. This does not mean that ruby 1.8 or older puppet versions are supported by this module.
  • Loading branch information
tuxmea committed Jan 18, 2018
2 parents 950b092 + f942174 commit 0921843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/facter/alert_manager_running.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'puppet'

service = Puppet::Type.type(:service).new(name: 'alert_manager')
service = Puppet::Type.type(:service).new(:name => 'alert_manager') # rubocop:disable Style/HashSyntax

Facter.add('prometheus_alert_manager_running') do
setcode do
Expand Down

0 comments on commit 0921843

Please sign in to comment.