lib/ohai/plugins/windows/filesystem.rb in ohai-14.8.12 vs lib/ohai/plugins/windows/filesystem.rb in ohai-14.14.0
- old
+ new
@@ -21,11 +21,11 @@
# Volume encryption or decryption status
#
# @see https://docs.microsoft.com/en-us/windows/desktop/SecProv/getconversionstatus-win32-encryptablevolume#parameters
#
- CONVERSION_STATUS = %w{FullyDecrypted FullyEncrypted EncryptionInProgress
- DecryptionInProgress EncryptionPaused DecryptionPaused}.freeze
+ CONVERSION_STATUS ||= %w{FullyDecrypted FullyEncrypted EncryptionInProgress
+ DecryptionInProgress EncryptionPaused DecryptionPaused}.freeze
# Returns a Mash loaded with logical details
#
# Uses Win32_LogicalDisk and logical_properties to return encryption details of volumes.
#