Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.0.0 #398

Merged
merged 73 commits into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
8f0f3df
update pdk up to 3.0.0
lbetz Oct 17, 2023
63b7bac
replace merge function
lbetz Oct 17, 2023
bef47c1
update REFERENCE.md
lbetz Oct 17, 2023
2f0cd15
update module requirements
lbetz Oct 18, 2023
5cce7f2
Merge pull request #369 from Icinga/enhancement/puppet8-support
lbetz Oct 18, 2023
e016f65
remove the deprecated config::resource class
lbetz Oct 18, 2023
eb094fd
Merge pull request #370 from Icinga/enhancement/remove-deprecated-res…
lbetz Oct 18, 2023
6a53eb6
Remove deprecated parameter manage_repo
lbetz Oct 18, 2023
0b3acd4
Merge pull request #371 from Icinga/enhancement/remove-deprecated-par…
lbetz Oct 18, 2023
33c105e
Remove management of package icingaweb2-module-monitoring on Debian/U…
lbetz Oct 18, 2023
4bd4c05
Merge pull request #372 from Icinga/enhancement/remove-pkg-management…
lbetz Oct 18, 2023
71dcdbf
Remove config backend, only db is supported now
lbetz Oct 18, 2023
8a139b5
Merge pull request #373 from Icinga/enhancement/remove-config-backend
lbetz Oct 18, 2023
0007af5
Remoce deprecated Icinga Web 2 module vsphere
lbetz Oct 18, 2023
2353f3f
Merge pull request #374 from Icinga/enhancement/remove-deprecated-mod…
lbetz Oct 18, 2023
5302b58
Remove management of logdir, logfile
lbetz Oct 19, 2023
0441878
Merge pull request #375 from Icinga/enhancement/unmanage-dirs
lbetz Oct 19, 2023
a022406
Switch default logging to syslog
lbetz Oct 19, 2023
619c42b
Merge pull request #376 from Icinga/enahancement/switch-default-logging
lbetz Oct 19, 2023
d6e92da
Switch all db_type parameters to no defauts
lbetz Oct 19, 2023
fe3c770
Merge pull request #377 from Icinga/enhancement/no-default-db_type
lbetz Oct 19, 2023
f1c7158
Fix icingadb::db_password to be an optional parameter
lbetz Oct 19, 2023
a976dcb
Merge pull request #378 from Icinga/bug/icingadb-db_password-optional
lbetz Oct 19, 2023
c0f36aa
fix #281 Background daemons of modules are not optional, so should no…
lbetz Oct 19, 2023
6836a36
Merge pull request #379 from Icinga/enhancement/background-daemons-no…
lbetz Oct 19, 2023
e45e821
change default directory for certificates and keys (icingaweb2 database)
lbetz Nov 2, 2023
4674df9
change default directory for certificates and keys (icingadb and redi…
lbetz Nov 2, 2023
c6e78e6
change default directory for certificates and keys (IDO database)
lbetz Nov 2, 2023
142b3f7
change default directory for certificates and keys (director database)
lbetz Nov 2, 2023
f7aeb2c
rework vspheredb, include service iprivate class, own certs directory
lbetz Nov 4, 2023
3defff0
rework reporting, include service private class, own certs directory
lbetz Nov 5, 2023
a975e8a
rework module icingadb
lbetz Nov 6, 2023
87c8ce7
rework module monitoring
lbetz Nov 6, 2023
8af8ff2
rework idoreports to always use db credentials from monitoring module
lbetz Nov 6, 2023
72a4567
reporting, vspheredb modules: move config setting to config sub class
lbetz Nov 6, 2023
bdc8fbd
rework module director
lbetz Nov 7, 2023
b43e433
rework x509 to always use db credentials from monitoring module
lbetz Nov 8, 2023
c026d75
set all users for daemons to system users
lbetz Nov 12, 2023
f808808
rework service user also managed for packages
lbetz Nov 12, 2023
ed1751f
Merge pull request #380 from Icinga/enhancement/tls-icingaweb2
lbetz Nov 12, 2023
ad5c16e
fix db schema path idoreports
lbetz Nov 13, 2023
992a538
fix #301 Move more defaults to data in module
lbetz Nov 13, 2023
2bfaa03
Remove module ipl
lbetz Nov 13, 2023
1f1e23a
Remove module reactbundle
lbetz Nov 13, 2023
d8873e8
Remove module incubator
lbetz Nov 13, 2023
1a5d2e8
Merge pull request #383 from Icinga/enhancement/remove-ipl
lbetz Nov 13, 2023
eb7161d
Merge pull request #384 from Icinga/enhancement/remove-reactbundle
lbetz Nov 13, 2023
26745e1
Merge branch 'main' into enhancement/remove-incubator
lbetz Nov 13, 2023
e28c813
Merge pull request #385 from Icinga/enhancement/remove-incubator
lbetz Nov 13, 2023
a132a72
rebuild current REFERENCE.md
lbetz Nov 13, 2023
f4463f3
add parameter to name the database resources
lbetz Nov 18, 2023
a8fedcc
Merge pull request #386 from Icinga/enhancement/add-resource-name
lbetz Nov 19, 2023
8194ce9
Add default_auth_backend param to name or disable default authentication
lbetz Nov 19, 2023
ecbb483
Merge pull request #387 from Icinga/enhancement/auth-backend-name
lbetz Nov 19, 2023
69937f9
Remove management of the preferences directory
lbetz Nov 20, 2023
7d842b0
Merge pull request #388 from Icinga/bug/remove-preferences
lbetz Nov 20, 2023
37261a2
Fix problem with import_schema and #301
lbetz Nov 20, 2023
97dc4d9
Merge pull request #389 from Icinga/bug/fix-301
lbetz Nov 20, 2023
bc791d2
Add missing monitoring module settings
lbetz Nov 21, 2023
cdab8e7
Add missing icingadb module settings
lbetz Nov 21, 2023
3ab382f
Merge pull request #390 from Icinga/fix/monitoring-settings
lbetz Nov 21, 2023
42b30f6
Merge pull request #391 from Icinga/fix/icingadb-settings
lbetz Nov 21, 2023
9408ef8
fix ordering in director, migration and kickstart after config and be…
lbetz Dec 1, 2023
40b4fa7
Merge pull request #396 from Icinga/bug/director-wrong-ordering
lbetz Dec 1, 2023
b396094
fix wrong hash key for pgsql password
lbetz Dec 3, 2023
d14094d
add requirement of icingaweb2 to all modules
lbetz Dec 3, 2023
c82f12b
rebuild references
lbetz Dec 3, 2023
6810aa5
fix #366 Add Debian Bookworm Support
lbetz Dec 3, 2023
2e96b01
fix backported #397
lbetz Dec 8, 2023
bda37ce
Revert "Merge pull request #388 from Icinga/bug/remove-preferences"
lbetz Dec 15, 2023
be96b19
Rework README
lbetz Dec 15, 2023
7e1ab20
Fix merge conflicts
lbetz Dec 15, 2023
1d59b34
Fix REFERENCE
lbetz Dec 15, 2023
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand Down
8 changes: 2 additions & 6 deletions .pdkignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/log/
/pkg/
/spec/fixtures/manifests/
/spec/fixtures/modules/
/spec/fixtures/modules/*
/tmp/
/vendor/
/convert_report.txt
Expand All @@ -26,20 +26,16 @@
.envrc
/inventory.yaml
/spec/fixtures/litmus_inventory.yaml
/appveyor.yml
/.editorconfig
/.fixtures.yml
/Gemfile
/.gitattributes
/.gitignore
/.gitlab-ci.yml
/.pdkignore
/.puppet-lint.rc
/Rakefile
/rakelib/
/.rspec
/.rubocop.yml
/.travis.yml
/..yml
/.yardopts
/spec/
/.vscode/
Expand Down
216 changes: 210 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require:
- rubocop-rspec
AllCops:
DisplayCopNames: true
TargetRubyVersion: '2.5'
TargetRubyVersion: '2.6'
Include:
- "**/*.rb"
Exclude:
Expand Down Expand Up @@ -111,8 +111,14 @@ Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/StringMethods:
Enabled: true
Bundler/GemFilename:
Enabled: false
Bundler/InsecureProtocolSource:
Enabled: false
Capybara/CurrentPathExpectation:
Enabled: false
Capybara/VisibilityMatcher:
Enabled: false
Gemspec/DuplicatedAssignment:
Enabled: false
Gemspec/OrderedDependencies:
Expand Down Expand Up @@ -287,11 +293,9 @@ Performance/UriDefaultParser:
Enabled: false
RSpec/Be:
Enabled: false
RSpec/Capybara/CurrentPathExpectation:
Enabled: false
RSpec/Capybara/FeatureMethods:
Enabled: false
RSpec/Capybara/VisibilityMatcher:
RSpec/ContainExactly:
Enabled: false
RSpec/ContextMethod:
Enabled: false
Expand Down Expand Up @@ -331,6 +335,8 @@ RSpec/LeakyConstantDeclaration:
Enabled: false
RSpec/LetBeforeExamples:
Enabled: false
RSpec/MatchArray:
Enabled: false
RSpec/MissingExampleGroupArgument:
Enabled: false
RSpec/MultipleExpectations:
Expand Down Expand Up @@ -373,8 +379,6 @@ Style/AccessModifierDeclarations:
Enabled: false
Style/AccessorGrouping:
Enabled: false
Style/AsciiComments:
Enabled: false
Style/BisectedAttrAccessor:
Enabled: false
Style/CaseLikeIf:
Expand Down Expand Up @@ -485,35 +489,235 @@ Style/TrailingMethodEndStatement:
Enabled: false
Style/UnpackFirst:
Enabled: false
Capybara/MatchStyle:
Enabled: false
Capybara/NegationMatcher:
Enabled: false
Capybara/SpecificActions:
Enabled: false
Capybara/SpecificFinders:
Enabled: false
Capybara/SpecificMatcher:
Enabled: false
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
Gemspec/DevelopmentDependencies:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
Layout/LineContinuationLeadingSpace:
Enabled: false
Layout/LineContinuationSpacing:
Enabled: false
Layout/LineEndStringConcatenationIndentation:
Enabled: false
Layout/SpaceBeforeBrackets:
Enabled: false
Lint/AmbiguousAssignment:
Enabled: false
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Lint/AmbiguousRange:
Enabled: false
Lint/ConstantOverwrittenInRescue:
Enabled: false
Lint/DeprecatedConstants:
Enabled: false
Lint/DuplicateBranch:
Enabled: false
Lint/DuplicateMagicComment:
Enabled: false
Lint/DuplicateRegexpCharacterClassElement:
Enabled: false
Lint/EmptyBlock:
Enabled: false
Lint/EmptyClass:
Enabled: false
Lint/EmptyInPattern:
Enabled: false
Lint/IncompatibleIoSelectWithFiberScheduler:
Enabled: false
Lint/LambdaWithoutLiteralBlock:
Enabled: false
Lint/NoReturnInBeginEndBlocks:
Enabled: false
Lint/NonAtomicFileOperation:
Enabled: false
Lint/NumberedParameterAssignment:
Enabled: false
Lint/OrAssignmentToConstant:
Enabled: false
Lint/RedundantDirGlobSort:
Enabled: false
Lint/RefinementImportMethods:
Enabled: false
Lint/RequireRangeParentheses:
Enabled: false
Lint/RequireRelativeSelfPath:
Enabled: false
Lint/SymbolConversion:
Enabled: false
Lint/ToEnumArguments:
Enabled: false
Lint/TripleQuotes:
Enabled: false
Lint/UnexpectedBlockArity:
Enabled: false
Lint/UnmodifiedReduceAccumulator:
Enabled: false
Lint/UselessRescue:
Enabled: false
Lint/UselessRuby2Keywords:
Enabled: false
Metrics/CollectionLiteralLength:
Enabled: false
Naming/BlockForwarding:
Enabled: false
Performance/CollectionLiteralInLoop:
Enabled: false
Performance/ConcurrentMonotonicTime:
Enabled: false
Performance/MapCompact:
Enabled: false
Performance/RedundantEqualityComparisonBlock:
Enabled: false
Performance/RedundantSplitRegexpArgument:
Enabled: false
Performance/StringIdentifierArgument:
Enabled: false
RSpec/BeEq:
Enabled: false
RSpec/BeNil:
Enabled: false
RSpec/ChangeByZero:
Enabled: false
RSpec/ClassCheck:
Enabled: false
RSpec/DuplicatedMetadata:
Enabled: false
RSpec/ExcessiveDocstringSpacing:
Enabled: false
RSpec/FactoryBot/ConsistentParenthesesStyle:
Enabled: false
RSpec/FactoryBot/FactoryNameStyle:
Enabled: false
RSpec/FactoryBot/SyntaxMethods:
Enabled: false
RSpec/IdenticalEqualityAssertion:
Enabled: false
RSpec/NoExpectationExample:
Enabled: false
RSpec/PendingWithoutReason:
Enabled: false
RSpec/Rails/AvoidSetupHook:
Enabled: false
RSpec/Rails/HaveHttpStatus:
Enabled: false
RSpec/Rails/InferredSpecType:
Enabled: false
RSpec/Rails/MinitestAssertions:
Enabled: false
RSpec/Rails/TravelAround:
Enabled: false
RSpec/RedundantAround:
Enabled: false
RSpec/SkipBlockInsideExample:
Enabled: false
RSpec/SortMetadata:
Enabled: false
RSpec/SubjectDeclaration:
Enabled: false
RSpec/VerifiedDoubleReference:
Enabled: false
Security/CompoundHash:
Enabled: false
Security/IoMethods:
Enabled: false
Style/ArgumentsForwarding:
Enabled: false
Style/ArrayIntersect:
Enabled: false
Style/CollectionCompact:
Enabled: false
Style/ComparableClamp:
Enabled: false
Style/ConcatArrayLiterals:
Enabled: false
Style/DirEmpty:
Enabled: false
Style/DocumentDynamicEvalDefinition:
Enabled: false
Style/EmptyHeredoc:
Enabled: false
Style/EndlessMethod:
Enabled: false
Style/EnvHome:
Enabled: false
Style/FetchEnvVar:
Enabled: false
Style/FileEmpty:
Enabled: false
Style/FileRead:
Enabled: false
Style/FileWrite:
Enabled: false
Style/HashConversion:
Enabled: false
Style/HashExcept:
Enabled: false
Style/IfWithBooleanLiteralBranches:
Enabled: false
Style/InPatternThen:
Enabled: false
Style/MagicCommentFormat:
Enabled: false
Style/MapCompactWithConditionalBlock:
Enabled: false
Style/MapToHash:
Enabled: false
Style/MapToSet:
Enabled: false
Style/MinMaxComparison:
Enabled: false
Style/MultilineInPatternThen:
Enabled: false
Style/NegatedIfElseCondition:
Enabled: false
Style/NestedFileDirname:
Enabled: false
Style/NilLambda:
Enabled: false
Style/NumberedParameters:
Enabled: false
Style/NumberedParametersLimit:
Enabled: false
Style/ObjectThen:
Enabled: false
Style/OpenStructUse:
Enabled: false
Style/OperatorMethodCall:
Enabled: false
Style/QuotedSymbols:
Enabled: false
Style/RedundantArgument:
Enabled: false
Style/RedundantConstantBase:
Enabled: false
Style/RedundantDoubleSplatHashBraces:
Enabled: false
Style/RedundantEach:
Enabled: false
Style/RedundantHeredocDelimiterQuotes:
Enabled: false
Style/RedundantInitialize:
Enabled: false
Style/RedundantSelfAssignmentBranch:
Enabled: false
Style/RedundantStringEscape:
Enabled: false
Style/SelectByRegexp:
Enabled: false
Style/StringChars:
Enabled: false
Style/SwapValues:
Enabled: false
6 changes: 3 additions & 3 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Gemfile:
':development':
- gem: 'concurrent-ruby'
version: '< 1.2.0'
#Rakefile:
# linter_options:
# - disable_140chars
Rakefile:
linter_options:
- disable_140chars
39 changes: 25 additions & 14 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,34 @@ def location_for(place_or_version, fake_version = nil)
end
end

ruby_version_segments = Gem::Version.new(RUBY_VERSION.dup).segments
minor_version = ruby_version_segments[0..1].join('.')

group :development do
gem "json", '= 2.0.4', require: false if Gem::Requirement.create('~> 2.4.2').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.3.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 2.8.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "puppet-module-posix-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
gem "puppet-module-posix-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
gem "puppet-module-win-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet-module-win-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "voxpupuli-puppet-lint-plugins", '>= 3.0', require: false
gem "concurrent-ruby", '< 1.2.0', require: false
gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.3.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.5.1', require: false if Gem::Requirement.create(['>= 3.0.0', '< 3.0.5']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.6.1', require: false if Gem::Requirement.create(['>= 3.1.0', '< 3.1.3']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "json", '= 2.6.3', require: false if Gem::Requirement.create(['>= 3.2.0', '< 4.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "racc", '~> 1.4.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))
gem "voxpupuli-puppet-lint-plugins", '~> 5.0', require: false
gem "facterdb", '~> 1.18', require: false
gem "metadata-json-lint", '~> 3.0', require: false
gem "puppetlabs_spec_helper", '~> 6.0', require: false
gem "rspec-puppet-facts", '~> 2.0', require: false
gem "codecov", '~> 0.2', require: false
gem "dependency_checker", '~> 1.0.0', require: false
gem "parallel_tests", '= 3.12.1', require: false
gem "pry", '~> 0.10', require: false
gem "simplecov-console", '~> 0.5', require: false
gem "puppet-debugger", '~> 1.0', require: false
gem "rubocop", '= 1.48.1', require: false
gem "rubocop-performance", '= 1.16.0', require: false
gem "rubocop-rspec", '= 2.19.0', require: false
gem "puppet-strings", '~> 4.0', require: false
gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "concurrent-ruby", '< 1.2.0', require: false
end
group :system_tests do
gem "puppet-module-posix-system-r#{minor_version}", '~> 1.0', require: false, platforms: [:ruby]
gem "puppet-module-win-system-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]
gem "serverspec", '~> 2.41', require: false
end

puppet_version = ENV['PUPPET_GEM_VERSION']
Expand Down
Loading
Loading