Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotofernandez committed Nov 12, 2024
1 parent 034a663 commit 019f35a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions resources/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# frozen_string_literal: true
unified_mode true


name 'rb-manager'
maintainer 'Eneo Tecnología S.L.'
Expand Down
3 changes: 1 addition & 2 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@

s3_secrets = {}


begin
s3_secrets = data_bag_item('passwords', 's3')
rescue
Expand Down Expand Up @@ -682,7 +681,7 @@
# .......
# pending_changes==n -> chef-client has to run n times
#
node.normal['redborder']['pending_changes'] = node['redborder']['pending_changes'] > 0 ? node.normal['redborder']['pending_changes'].to_i - 1 : 0
node.override['redborder']['pending_changes'] = node['redborder']['pending_changes'] > 0 ? node.override['redborder']['pending_changes'].to_i - 1 : 0

execute 'force_chef_client_wakeup' do
command '/usr/lib/redborder/bin/rb_wakeup_chef.sh'
Expand Down

0 comments on commit 019f35a

Please sign in to comment.