Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vkhatri committed Feb 5, 2017
1 parent 0634264 commit 62be8c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ AbcSize:
Enabled: false
BlockLength:
Enabled: false
BlockNesting:
Max: 4
10 changes: 5 additions & 5 deletions attributes/repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@
default['icinga2']['apt']['key'] = 'http://debmon.org/debmon/repo.key'

# icinga2 package version suffix
if node['platform_version'] > '7'
default['icinga2']['icinga2_version_suffix'] = '~debmon' + node['platform_version'].split('.')[0] + '+1'
else
default['icinga2']['icinga2_version_suffix'] = '~debmon' + node['platform_version'].split('.')[0] + '0+1'
end
default['icinga2']['icinga2_version_suffix'] = if node['platform_version'] > '7'
'~debmon' + node['platform_version'].split('.')[0] + '+1'
else
'~debmon' + node['platform_version'].split('.')[0] + '0+1'
end
end
end
end

0 comments on commit 62be8c8

Please sign in to comment.