Add TLS PSK encryption support for Zabbix hosts #1071
ci.yml
on: pull_request
Puppet
/
Static validations
24s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
4s
Annotations
8 errors
|
Puppet / Static validations
Process completed with exit code 1.
|
|
Puppet / Static validations:
lib/puppet/type/zabbix_host.rb#L37
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)
|
|
Puppet / Static validations:
lib/puppet/provider/zabbix_host/ruby.rb#L139
Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call. (https://rubystyle.guide#no-trailing-params-comma)
|
|
Puppet / Static validations:
lib/puppet/provider/zabbix_host/ruby.rb#L139
Style/SafeNavigation: Use safe navigation (`&.`) instead of checking if an object exists before calling the method.
|
|
Puppet / Static validations:
lib/puppet/provider/zabbix_host/ruby.rb#L135
Layout/SpaceAfterNot: Do not leave space between `!` and its argument. (https://rubystyle.guide#no-space-bang)
|
|
Puppet / Static validations:
lib/puppet/provider/zabbix_host/ruby.rb#L135
Layout/SpaceAfterNot: Do not leave space between `!` and its argument. (https://rubystyle.guide#no-space-bang)
|
|
Puppet / Static validations:
lib/puppet/provider/zabbix_host/ruby.rb#L135
Style/GuardClause: Use a guard clause (`return unless (! @property_hash[:update_psk].nil? && @property_hash[:update_psk].is_a?(TrueClass)) || (! @resource[:update_psk].nil? && @resource[:update_psk].is_a?(TrueClass))`) instead of wrapping the code inside a conditional expression. (https://rubystyle.guide#no-nested-conditionals)
|
|
Puppet / Test suite
Process completed with exit code 1.
|