File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,6 @@ I18n/GetText/DecorateStringFormattingUsingPercent:
22
22
I18n/RailsI18n/DecorateString :
23
23
Enabled : false
24
24
25
- # This cop supports safe auto-correction (--auto-correct).
26
- # Configuration parameters: IndentationWidth, EnforcedStyle.
27
- # SupportedStyles: spaces, tabs
28
- Layout/IndentationStyle :
29
- Exclude :
30
- - ' lib/puppet/ffi/windows/structs.rb'
31
- - ' lib/puppet/transaction.rb'
32
-
33
25
# This cop supports safe auto-correction (--auto-correct).
34
26
# Configuration parameters: Width, AllowedPatterns, IgnoredPatterns.
35
27
Layout/IndentationWidth :
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ class OSVERSIONINFO < FFI::Struct
258
258
)
259
259
end
260
260
261
- MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16384
261
+ MAXIMUM_REPARSE_DATA_BUFFER_SIZE = 16384
262
262
263
263
# SYMLINK_REPARSE_DATA_BUFFER
264
264
# https://msdn.microsoft.com/en-us/library/cc232006.aspx
Original file line number Diff line number Diff line change @@ -304,9 +304,11 @@ def failed_dependencies?(resource)
304
304
s = resource_status ( resource )
305
305
if s && s . dependency_failed?
306
306
if @merge_dependency_warnings && is_puppet_class
307
- # Notes: Puppet::Resource::Status.failed_dependencies() is an Array of Puppet::Resource(s) and
308
- # Puppet::Resource.ref() calls Puppet::Resource.to_s() which is: "#{type}[#{title}]" and
309
- # Puppet::Resource.resource_status(resource) calls Puppet::Resource.to_s()
307
+ # Notes: Puppet::Resource::Status.failed_dependencies() is an Array of
308
+ # Puppet::Resource(s) and Puppet::Resource.ref() calls
309
+ # Puppet::Resource.to_s() which is: "#{type}[#{title}]" and
310
+ # Puppet::Resource.resource_status(resource) calls
311
+ # Puppet::Resource.to_s()
310
312
class_dependencies_to_be_notified = ( s . failed_dependencies . map ( &:ref ) - @failed_class_dependencies_already_notified . to_a )
311
313
class_dependencies_to_be_notified . each do |dep_ref |
312
314
resource . notice _ ( "Class dependency %{dep} has failures: %{status}" ) % { dep : dep_ref , status : resource_status ( dep_ref ) . failed }
You can’t perform that action at this time.
0 commit comments