From df20c08345fba0b43833eef47c4da2fdd78523e9 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Wed, 27 Jun 2018 22:57:38 -0700 Subject: Automatic update of rubocop violations Add exclusions for: Layout/IndentHeredoc, Metrics/BlockNesting: Metrics/LineLength: Style/AccessorMethodName: Style/DoubleNegation: Style/MultipleComparison: Style/NumericPredicate: Style/PredicateName: Style/SignalException: Style/VariableName: SignalException is disabled because Puppet::Type#fail overrides Kernel#fail, and we really do want fail and not raise. --- lib/puppet/feature/augeas.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/feature/augeas.rb') diff --git a/lib/puppet/feature/augeas.rb b/lib/puppet/feature/augeas.rb index e22f53b..2e26fbf 100644 --- a/lib/puppet/feature/augeas.rb +++ b/lib/puppet/feature/augeas.rb @@ -1,3 +1,3 @@ require 'puppet/util/feature' -Puppet.features.add(:augeas, :libs => ["augeas"]) +Puppet.features.add(:augeas, libs: ['augeas']) -- cgit v1.2.3