Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ group :development, :test do
gem 'bundler-audit', '~> 0.9', require: false
gem 'minitest', '~> 6.0'
gem 'rake', '~> 13.4'
gem 'rubocop', '~> 1.89', require: false
gem 'simplecov', '~> 1.1', require: false
gem 'rubocop', '~> 1.90', require: false
gem 'simplecov', '~> 1.2', require: false
end
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GEM
net-ssh (>= 5.0.0, < 8.0.0)
net-ssh (7.3.3)
ostruct (0.6.3)
parallel (2.1.0)
parallel (2.2.0)
parser (3.3.12.0)
ast (~> 2.4.1)
racc
Expand All @@ -40,8 +40,8 @@ GEM
rainbow (3.1.1)
rake (13.4.2)
regexp_parser (2.12.0)
rubocop (1.89.0)
json (~> 2.3)
rubocop (1.90.0)
json (>= 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (>= 1.10)
Expand All @@ -55,7 +55,7 @@ GEM
parser (>= 3.3.7.2)
prism (~> 1.7)
ruby-progressbar (1.13.0)
simplecov (1.1.1)
simplecov (1.2.0)
sshkit (1.25.1)
base64
logger
Expand Down Expand Up @@ -85,8 +85,8 @@ DEPENDENCIES
bundler-audit (~> 0.9)
minitest (~> 6.0)
rake (~> 13.4)
rubocop (~> 1.89)
simplecov (~> 1.1)
rubocop (~> 1.90)
simplecov (~> 1.2)

RUBY VERSION
ruby 4.0.6
Expand Down
3 changes: 1 addition & 2 deletions lib/boring_services/services/haproxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def validate_config
end
end

# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
# rubocop:disable-next Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity
def configure_haproxy
# Check if custom config template is provided
if service_config['custom_config_template'] && File.exist?(service_config['custom_config_template'])
Expand Down Expand Up @@ -239,7 +239,6 @@ def configure_haproxy
execute :sudo, :chown, 'root:root', '/etc/haproxy/haproxy.cfg'
execute :sudo, :chmod, '644', '/etc/haproxy/haproxy.cfg'
end
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/MethodLength, Metrics/PerceivedComplexity

def verify_listening_ports
puts ' Verifying HAProxy is listening on ports...'
Expand Down