- 'hooks/*'
- 'roles/*.rb'
+Naming/UncommunicativeMethodParamName:
+ Enabled: false
+
Style/FrozenStringLiteralComment:
EnforcedStyle: never
Style/HashSyntax:
EnforcedStyle: hash_rockets
+Style/IfUnlessModifier:
+ Enabled: false
+
Style/StringLiterals:
EnforcedStyle: double_quotes
# Remove legacy HP G4 support which breaks modern hp-health 10.4
if manufacturer == "HP"
- %w[/opt/hp/hp-health/bin/hpasmd /usr/lib/libhpasmintrfc.so.3.0 %/usr/lib/libhpasmintrfc.so.3 /usr/lib/libhpasmintrfc.so].each do |filename|
+ %w[/opt/hp/hp-health/bin/hpasmd /usr/lib/libhpasmintrfc.so.3.0 /usr/lib/libhpasmintrfc.so.3 /usr/lib/libhpasmintrfc.so].each do |filename|
file filename do
action :delete
manage_symlink_source false
"elasticsearch_url" => details[:elasticsearch_url],
"pid_file" => "/var/run/kibana/#{name}.pid",
"log_file" => "/var/log/kibana/#{name}.log"
- ))
+ ))
owner "root"
group "root"
mode 0o644
ruby_block "catch-installer-localsettings-run" do
action :run
block do
- #
end
not_if do
::File.exist?("#{mediawiki_directory}/LocalSettings-install.php")