We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae1b2f3 + 22b2f31 commit 6ed522fCopy full SHA for 6ed522f
1 file changed
libraries/linux_updates.rb
@@ -25,10 +25,10 @@ class LinuxUpdateManager < Inspec.resource(1)
25
# Since Amazon Linux is based on RedHat, they may use the same method.
26
def initialize
27
case inspec.os[:family]
28
- when 'redhat', 'amazon'
29
- @update_mgmt = RHELUpdateFetcher.new(inspec)
30
- when 'debian'
31
- @update_mgmt = UbuntuUpdateFetcher.new(inspec)
+ when 'redhat', 'amazon'
+ @update_mgmt = RHELUpdateFetcher.new(inspec)
+ when 'debian'
+ @update_mgmt = UbuntuUpdateFetcher.new(inspec)
32
end
33
return skip_resource 'The `linux_update` resource is not supported on your OS.' if @update_mgmt.nil?
34
0 commit comments