Skip to content

Commit b4574c7

Browse files
committed
PE-38801 Linting errors fixed
1 parent a06d27e commit b4574c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tasks/get_group_rules.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
require 'net/http'
66
require 'puppet'
77

8+
# GetInfrastructureAgentGroupRules task class
89
class GetInfrastructureAgentGroupRules
910
def execute!
1011
infrastructure_agent_group = groups.find { |obj| obj['name'] == 'PE Infrastructure Agent' }
1112
if infrastructure_agent_group
12-
puts "WARNING: The following existing rules on the PE Infrastructure Agent group will be overwritten with default values:"
13+
puts 'WARNING: The following existing rules on the PE Infrastructure Agent group will be overwritten with default values:'
1314
puts JSON.pretty_generate(infrastructure_agent_group['rule'])
1415
else
1516
puts JSON.pretty_generate({ 'error' => 'PE Infrastructure Agent group does not exist' })
@@ -39,4 +40,4 @@ def https(port)
3940
unless ENV['RSPEC_UNIT_TEST_MODE']
4041
Puppet.initialize_settings
4142
GetInfrastructureAgentGroupRules.new.execute!
42-
end
43+
end

0 commit comments

Comments
 (0)