Skip to content
Closed
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
60 changes: 45 additions & 15 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,55 @@
---
inherit_from: .rubocop_todo.yml

inherit_gem:
voxpupuli-rubocop: rubocop.yml
plugins:
- rubocop-rake

AllCops:
TargetRubyVersion: '3.2'
Exclude:
- vendor/**/*
- .vendor/**/*
- spec/fixtures/**/*
- modules/**/*
TargetRubyVersion: 3.2
NewCops: disable

Style/SymbolProc:
Layout/LineLength:
Enabled: false

Metrics/AbcSize:
Enabled: false

Metrics/BlockLength:
Enabled: false

Metrics/CyclomaticComplexity:
Enabled: false

Metrics/MethodLength:
Enabled: false

Metrics/PerceivedComplexity:
Enabled: false

Naming/FileName:
Enabled: false

Layout/LineLength:
Max: 150
Style/Documentation:
Enabled: false

Style/FetchEnvVar:
Enabled: false
Style/DoubleNegation:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Style/HashSyntax:
Enabled: false

Style/PerlBackrefs:
Enabled: false

Style/RegexpLiteral:
Enabled: false

Style/SymbolArray:
Enabled: false

Style/SymbolProc:
Enabled: false

Style/WordArray:
Enabled: false
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
gem 'openssl', '~> 3' unless `uname -o`.chomp == 'Cygwin'

# Optional paint gem for rainbow outputter
gem "paint", "~> 2.2"

Check failure on line 30 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)

Check failure on line 30 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)

group(:test) do
gem "beaker-hostgenerator"

Check failure on line 33 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
gem "mocha", '>= 1.4.0', '< 3'

Check failure on line 34 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
gem "rack-test", '>= 1', '< 3'

Check failure on line 35 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
gem 'rspec-github', require: false
end

Expand All @@ -49,11 +49,11 @@
end

local_gemfile = File.join(__dir__, 'Gemfile.local')
if File.exist? local_gemfile

Check failure on line 52 in Gemfile

View workflow job for this annotation

GitHub Actions / rubocop_and_matrix

Style/IfUnlessModifier: Favor modifier `if` usage when having a single-line body. Another good alternative is the usage of control flow `&&`/`||`. (https://rubystyle.guide#if-as-a-modifier)
eval_gemfile local_gemfile
end

# https://github.com/OpenVoxProject/openvox/issues/90
gem 'syslog', '~> 0.3' if RUBY_VERSION >= '3.4'

gem 'puppet_metadata', '~> 5.3'
gem 'puppet_metadata', '>= 5.3', '< 7'
4 changes: 2 additions & 2 deletions openbolt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "CFPropertyList", ">= 2.2"
spec.add_dependency "concurrent-ruby", "~> 1.0"
spec.add_dependency "ffi", ">= 1.9.25", "< 2.0.0"
spec.add_dependency "hiera-eyaml", ">= 3.0.0", "< 5.0.0"
spec.add_dependency "hiera-eyaml", ">= 3.0.0", "< 6.0.0"
spec.add_dependency "json", "~> 2.6"
spec.add_dependency "jwt", "~> 2.2"
spec.add_dependency "logging", "~> 2.2"
Expand All @@ -57,7 +57,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "net-ssh", ">= 4.0", "< 8.0"
spec.add_dependency "net-ssh-krb", "~> 0.5"
spec.add_dependency "openvox", "~> 8.0"
spec.add_dependency "openvox-strings", '>= 5.0', '< 7'
spec.add_dependency "openvox-strings", '>= 5.0', '< 8'
spec.add_dependency "puppetfile-resolver", ">= 0.6.2", "< 1.0"
spec.add_dependency "puppet-resource_api", ">= 1.8.1"
spec.add_dependency "r10k", ">= 3.10", "< 6"
Expand Down
3 changes: 2 additions & 1 deletion packaging/configs/components/puppet-runtime.json
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
{"location":"https://s3.osuosl.org/openvox-artifacts/puppet-runtime/2025.12.15.1/","version":"2025.12.15.1"}
{"location":"https://s3.osuosl.org/openvox-artifacts/puppet-runtime/2026.02.25.1/","version":"2026.02.25.1"}

5 changes: 5 additions & 0 deletions packaging/configs/platforms/debian-13-armhf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'debian-13-amd64' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/sles-16-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'sles-16-aarch64' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/sles-16-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'sles-16-x86_64' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/ubuntu-24.04-armhf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'ubuntu-24.04-armhf' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/ubuntu-25.04-armhf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'ubuntu-25.04-armhf' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/ubuntu-26.04-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'ubuntu-26.04-aarch64' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/ubuntu-26.04-amd64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'ubuntu-26.04-amd64' do |plat|
plat.inherit_from_default
end
5 changes: 5 additions & 0 deletions packaging/configs/platforms/ubuntu-26.04-armhf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

platform 'ubuntu-26.04-armhf' do |plat|
plat.inherit_from_default
end
Loading