chef 16.5.77-universal-mingw32 → 16.9.16-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (920) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -17
  3. data/README.md +2 -2
  4. data/Rakefile +21 -14
  5. data/chef-universal-mingw32.gemspec +1 -1
  6. data/chef.gemspec +12 -2
  7. data/distro/ruby_bin_folder/AMD64/Chef.PowerShell.Wrapper.dll +0 -0
  8. data/distro/ruby_bin_folder/AMD64/Chef.PowerShell.dll +0 -0
  9. data/distro/ruby_bin_folder/AMD64/Ijwhost.dll +0 -0
  10. data/distro/ruby_bin_folder/{Newtonsoft.Json.dll → AMD64/Newtonsoft.Json.dll} +0 -0
  11. data/distro/ruby_bin_folder/AMD64/concrt140.dll +0 -0
  12. data/distro/ruby_bin_folder/AMD64/host/fxr/5.0.0/hostfxr.dll +0 -0
  13. data/distro/ruby_bin_folder/AMD64/msvcp140.dll +0 -0
  14. data/distro/ruby_bin_folder/AMD64/msvcp140_1.dll +0 -0
  15. data/distro/ruby_bin_folder/AMD64/msvcp140_2.dll +0 -0
  16. data/distro/ruby_bin_folder/AMD64/msvcp140_atomic_wait.dll +0 -0
  17. data/distro/ruby_bin_folder/AMD64/msvcp140_codecvt_ids.dll +0 -0
  18. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Chef.PowerShell.Wrapper.Core.dll +0 -0
  19. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Core.dll +0 -0
  20. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Core.pdb +0 -0
  21. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Wrapper.Core.runtimeconfig.json +9 -0
  22. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Ijwhost.dll +0 -0
  23. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Markdig.Signed.dll +0 -0
  24. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.ApplicationInsights.dll +0 -0
  25. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CSharp.dll +0 -0
  26. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  27. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CodeAnalysis.dll +0 -0
  28. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.DiaSymReader.Native.amd64.dll +0 -0
  29. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.Native.Unmanaged.dll +0 -0
  30. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.Native.dll +0 -0
  31. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.dll +0 -0
  32. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.NETCore.App.deps.json +2576 -0
  33. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Diagnostics.dll +0 -0
  34. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Management.dll +0 -0
  35. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Utility.dll +0 -0
  36. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.ConsoleHost.dll +0 -0
  37. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.CoreCLR.Eventing.dll +0 -0
  38. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.MarkdownRender.dll +0 -0
  39. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Security.dll +0 -0
  40. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.VisualBasic.Core.dll +0 -0
  41. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.VisualBasic.dll +0 -0
  42. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.WSMan.Management.dll +0 -0
  43. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.WSMan.Runtime.dll +0 -0
  44. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Primitives.dll +0 -0
  45. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Registry.AccessControl.dll +0 -0
  46. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Registry.dll +0 -0
  47. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.SystemEvents.dll +0 -0
  48. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/NJsonSchema.dll +0 -0
  49. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Namotion.Reflection.dll +0 -0
  50. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/Newtonsoft.Json.dll +0 -0
  51. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/PowerShell.Core.Instrumentation.dll +0 -0
  52. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.AppContext.dll +0 -0
  53. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Buffers.dll +0 -0
  54. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.CodeDom.dll +0 -0
  55. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Concurrent.dll +0 -0
  56. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Immutable.dll +0 -0
  57. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Collections.NonGeneric.dll +0 -0
  58. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Specialized.dll +0 -0
  59. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Collections.dll +0 -0
  60. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.Annotations.dll +0 -0
  61. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.DataAnnotations.dll +0 -0
  62. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.EventBasedAsync.dll +0 -0
  63. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.Primitives.dll +0 -0
  64. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.TypeConverter.dll +0 -0
  65. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.dll +0 -0
  66. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Configuration.ConfigurationManager.dll +0 -0
  67. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Configuration.dll +0 -0
  68. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Console.dll +0 -0
  69. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Core.dll +0 -0
  70. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Data.Common.dll +0 -0
  71. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Data.DataSetExtensions.dll +0 -0
  72. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Data.dll +0 -0
  73. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Contracts.dll +0 -0
  74. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Debug.dll +0 -0
  75. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.DiagnosticSource.dll +0 -0
  76. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.EventLog.dll +0 -0
  77. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.FileVersionInfo.dll +0 -0
  78. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Process.dll +0 -0
  79. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.StackTrace.dll +0 -0
  80. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.TextWriterTraceListener.dll +0 -0
  81. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Tools.dll +0 -0
  82. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.TraceSource.dll +0 -0
  83. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Tracing.dll +0 -0
  84. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.DirectoryServices.dll +0 -0
  85. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.Common.dll +0 -0
  86. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.Primitives.dll +0 -0
  87. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.dll +0 -0
  88. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Dynamic.Runtime.dll +0 -0
  89. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Formats.Asn1.dll +0 -0
  90. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.Calendars.dll +0 -0
  91. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.Extensions.dll +0 -0
  92. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.dll +0 -0
  93. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.Brotli.dll +0 -0
  94. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.FileSystem.dll +0 -0
  95. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.ZipFile.dll +0 -0
  96. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.dll +0 -0
  97. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.AccessControl.dll +0 -0
  98. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.DriveInfo.dll +0 -0
  99. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.Primitives.dll +0 -0
  100. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.Watcher.dll +0 -0
  101. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.dll +0 -0
  102. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.IsolatedStorage.dll +0 -0
  103. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.MemoryMappedFiles.dll +0 -0
  104. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Pipes.AccessControl.dll +0 -0
  105. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.Pipes.dll +0 -0
  106. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.UnmanagedMemoryStream.dll +0 -0
  107. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.IO.dll +0 -0
  108. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Expressions.dll +0 -0
  109. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Parallel.dll +0 -0
  110. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Queryable.dll +0 -0
  111. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Linq.dll +0 -0
  112. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Management.Automation.dll +0 -0
  113. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Management.dll +0 -0
  114. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Memory.dll +0 -0
  115. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Http.Json.dll +0 -0
  116. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Http.dll +0 -0
  117. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.HttpListener.dll +0 -0
  118. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Mail.dll +0 -0
  119. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.NameResolution.dll +0 -0
  120. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.NetworkInformation.dll +0 -0
  121. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Ping.dll +0 -0
  122. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Primitives.dll +0 -0
  123. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Requests.dll +0 -0
  124. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Security.dll +0 -0
  125. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.ServicePoint.dll +0 -0
  126. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.Sockets.dll +0 -0
  127. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebClient.dll +0 -0
  128. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebHeaderCollection.dll +0 -0
  129. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebProxy.dll +0 -0
  130. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebSockets.Client.dll +0 -0
  131. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebSockets.dll +0 -0
  132. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Net.dll +0 -0
  133. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Numerics.Vectors.dll +0 -0
  134. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Numerics.dll +0 -0
  135. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ObjectModel.dll +0 -0
  136. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Private.CoreLib.dll +0 -0
  137. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Private.DataContractSerialization.dll +0 -0
  138. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Private.Uri.dll +0 -0
  139. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Private.Xml.Linq.dll +0 -0
  140. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Private.Xml.dll +0 -0
  141. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.DispatchProxy.dll +0 -0
  142. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.ILGeneration.dll +0 -0
  143. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.Lightweight.dll +0 -0
  144. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.dll +0 -0
  145. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Extensions.dll +0 -0
  146. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Metadata.dll +0 -0
  147. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Primitives.dll +0 -0
  148. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.TypeExtensions.dll +0 -0
  149. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.dll +0 -0
  150. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Resources.Reader.dll +0 -0
  151. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Resources.ResourceManager.dll +0 -0
  152. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Resources.Writer.dll +0 -0
  153. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  154. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.CompilerServices.VisualC.dll +0 -0
  155. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Extensions.dll +0 -0
  156. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Handles.dll +0 -0
  157. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
  158. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.InteropServices.dll +0 -0
  159. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Intrinsics.dll +0 -0
  160. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Loader.dll +0 -0
  161. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Numerics.dll +0 -0
  162. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Formatters.dll +0 -0
  163. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Json.dll +0 -0
  164. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Primitives.dll +0 -0
  165. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Xml.dll +0 -0
  166. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.dll +0 -0
  167. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.dll +0 -0
  168. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.AccessControl.dll +0 -0
  169. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Claims.dll +0 -0
  170. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Algorithms.dll +0 -0
  171. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Cng.dll +0 -0
  172. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Csp.dll +0 -0
  173. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Encoding.dll +0 -0
  174. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.OpenSsl.dll +0 -0
  175. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Pkcs.dll +0 -0
  176. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Primitives.dll +0 -0
  177. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  178. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.X509Certificates.dll +0 -0
  179. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Permissions.dll +0 -0
  180. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Principal.Windows.dll +0 -0
  181. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.Principal.dll +0 -0
  182. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.SecureString.dll +0 -0
  183. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Security.dll +0 -0
  184. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ServiceModel.Web.dll +0 -0
  185. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ServiceProcess.ServiceController.dll +0 -0
  186. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ServiceProcess.dll +0 -0
  187. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.CodePages.dll +0 -0
  188. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.Extensions.dll +0 -0
  189. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.dll +0 -0
  190. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encodings.Web.dll +0 -0
  191. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.Json.dll +0 -0
  192. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Text.RegularExpressions.dll +0 -0
  193. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.AccessControl.dll +0 -0
  194. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Channels.dll +0 -0
  195. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Overlapped.dll +0 -0
  196. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Dataflow.dll +0 -0
  197. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Extensions.dll +0 -0
  198. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Parallel.dll +0 -0
  199. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.dll +0 -0
  200. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Thread.dll +0 -0
  201. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.ThreadPool.dll +0 -0
  202. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Timer.dll +0 -0
  203. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Threading.dll +0 -0
  204. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Transactions.Local.dll +0 -0
  205. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Transactions.dll +0 -0
  206. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.ValueTuple.dll +0 -0
  207. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Web.HttpUtility.dll +0 -0
  208. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Web.dll +0 -0
  209. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Windows.Extensions.dll +0 -0
  210. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Windows.dll +0 -0
  211. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.Linq.dll +0 -0
  212. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.ReaderWriter.dll +0 -0
  213. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.Serialization.dll +0 -0
  214. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XDocument.dll +0 -0
  215. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XPath.XDocument.dll +0 -0
  216. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XPath.dll +0 -0
  217. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XmlDocument.dll +0 -0
  218. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XmlSerializer.dll +0 -0
  219. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.Xml.dll +0 -0
  220. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/System.dll +0 -0
  221. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/WindowsBase.dll +0 -0
  222. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-console-l1-1-0.dll +0 -0
  223. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-console-l1-2-0.dll +0 -0
  224. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  225. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-debug-l1-1-0.dll +0 -0
  226. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  227. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l1-1-0.dll +0 -0
  228. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l1-2-0.dll +0 -0
  229. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l2-1-0.dll +0 -0
  230. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-handle-l1-1-0.dll +0 -0
  231. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-heap-l1-1-0.dll +0 -0
  232. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  233. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  234. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-localization-l1-2-0.dll +0 -0
  235. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-memory-l1-1-0.dll +0 -0
  236. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  237. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  238. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  239. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  240. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-profile-l1-1-0.dll +0 -0
  241. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  242. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-string-l1-1-0.dll +0 -0
  243. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-synch-l1-1-0.dll +0 -0
  244. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-synch-l1-2-0.dll +0 -0
  245. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  246. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  247. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-util-l1-1-0.dll +0 -0
  248. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  249. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  250. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  251. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  252. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  253. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  254. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-math-l1-1-0.dll +0 -0
  255. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
  256. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-private-l1-1-0.dll +0 -0
  257. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-process-l1-1-0.dll +0 -0
  258. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  259. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  260. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-string-l1-1-0.dll +0 -0
  261. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-time-l1-1-0.dll +0 -0
  262. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  263. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/clrcompression.dll +0 -0
  264. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/clretwrc.dll +0 -0
  265. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/clrjit.dll +0 -0
  266. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/coreclr.dll +0 -0
  267. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/createdump.exe +0 -0
  268. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  269. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  270. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/dbgshim.dll +0 -0
  271. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  272. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  273. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  274. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  275. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  276. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  277. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/hostfxr.dll +0 -0
  278. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/hostpolicy.dll +0 -0
  279. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  280. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  281. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  282. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  283. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  284. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  285. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mi.dll +0 -0
  286. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/miutils.dll +0 -0
  287. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mscordaccore.dll +0 -0
  288. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mscordaccore_amd64_amd64_5.0.20.51904.dll +0 -0
  289. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mscordbi.dll +0 -0
  290. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mscorlib.dll +0 -0
  291. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/mscorrc.dll +0 -0
  292. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/netstandard.dll +0 -0
  293. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  294. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  295. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  296. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  297. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/pwrshplugin.dll +0 -0
  298. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  299. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  300. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  301. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  302. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/ucrtbase.dll +0 -0
  303. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  304. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  305. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  306. data/distro/ruby_bin_folder/AMD64/shared/Microsoft.NETCore.App/5.0.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  307. data/distro/ruby_bin_folder/AMD64/vccorlib140.dll +0 -0
  308. data/distro/ruby_bin_folder/AMD64/vcruntime140.dll +0 -0
  309. data/distro/ruby_bin_folder/AMD64/vcruntime140_1.dll +0 -0
  310. data/distro/ruby_bin_folder/x86/Chef.PowerShell.dll +0 -0
  311. data/distro/ruby_bin_folder/x86/Chef.Powershell.Wrapper.dll +0 -0
  312. data/distro/ruby_bin_folder/x86/Ijwhost.dll +0 -0
  313. data/distro/ruby_bin_folder/x86/Newtonsoft.Json.dll +0 -0
  314. data/distro/ruby_bin_folder/x86/concrt140.dll +0 -0
  315. data/distro/ruby_bin_folder/x86/host/fxr/5.0.0/hostfxr.dll +0 -0
  316. data/distro/ruby_bin_folder/x86/msvcp140.dll +0 -0
  317. data/distro/ruby_bin_folder/x86/msvcp140_1.dll +0 -0
  318. data/distro/ruby_bin_folder/x86/msvcp140_2.dll +0 -0
  319. data/distro/ruby_bin_folder/x86/msvcp140_atomic_wait.dll +0 -0
  320. data/distro/ruby_bin_folder/x86/msvcp140_codecvt_ids.dll +0 -0
  321. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/API-MS-Win-core-xstate-l2-1-0.dll +0 -0
  322. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Chef.PowerShell.Wrapper.Core.dll +0 -0
  323. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Core.dll +0 -0
  324. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Core.pdb +0 -0
  325. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Chef.Powershell.Wrapper.Core.runtimeconfig.json +9 -0
  326. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Ijwhost.dll +0 -0
  327. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Markdig.Signed.dll +0 -0
  328. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.ApplicationInsights.dll +0 -0
  329. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CSharp.dll +0 -0
  330. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  331. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.CodeAnalysis.dll +0 -0
  332. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.DiaSymReader.Native.x86.dll +0 -0
  333. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.Native.Unmanaged.dll +0 -0
  334. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.Native.dll +0 -0
  335. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Management.Infrastructure.dll +0 -0
  336. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.NETCore.App.deps.json +2579 -0
  337. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Diagnostics.dll +0 -0
  338. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Management.dll +0 -0
  339. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Commands.Utility.dll +0 -0
  340. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.ConsoleHost.dll +0 -0
  341. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.CoreCLR.Eventing.dll +0 -0
  342. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.MarkdownRender.dll +0 -0
  343. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.PowerShell.Security.dll +0 -0
  344. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.VisualBasic.Core.dll +0 -0
  345. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.VisualBasic.dll +0 -0
  346. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.WSMan.Management.dll +0 -0
  347. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.WSMan.Runtime.dll +0 -0
  348. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Primitives.dll +0 -0
  349. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Registry.AccessControl.dll +0 -0
  350. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.Registry.dll +0 -0
  351. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Microsoft.Win32.SystemEvents.dll +0 -0
  352. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/NJsonSchema.dll +0 -0
  353. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Namotion.Reflection.dll +0 -0
  354. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/Newtonsoft.Json.dll +0 -0
  355. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/PowerShell.Core.Instrumentation.dll +0 -0
  356. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.AppContext.dll +0 -0
  357. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Buffers.dll +0 -0
  358. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.CodeDom.dll +0 -0
  359. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Concurrent.dll +0 -0
  360. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Immutable.dll +0 -0
  361. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Collections.NonGeneric.dll +0 -0
  362. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Collections.Specialized.dll +0 -0
  363. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Collections.dll +0 -0
  364. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.Annotations.dll +0 -0
  365. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.DataAnnotations.dll +0 -0
  366. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.EventBasedAsync.dll +0 -0
  367. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.Primitives.dll +0 -0
  368. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.TypeConverter.dll +0 -0
  369. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ComponentModel.dll +0 -0
  370. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Configuration.ConfigurationManager.dll +0 -0
  371. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Configuration.dll +0 -0
  372. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Console.dll +0 -0
  373. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Core.dll +0 -0
  374. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Data.Common.dll +0 -0
  375. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Data.DataSetExtensions.dll +0 -0
  376. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Data.dll +0 -0
  377. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Contracts.dll +0 -0
  378. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Debug.dll +0 -0
  379. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.DiagnosticSource.dll +0 -0
  380. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.EventLog.dll +0 -0
  381. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.FileVersionInfo.dll +0 -0
  382. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Process.dll +0 -0
  383. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.StackTrace.dll +0 -0
  384. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.TextWriterTraceListener.dll +0 -0
  385. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Tools.dll +0 -0
  386. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.TraceSource.dll +0 -0
  387. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Diagnostics.Tracing.dll +0 -0
  388. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.DirectoryServices.dll +0 -0
  389. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.Common.dll +0 -0
  390. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.Primitives.dll +0 -0
  391. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Drawing.dll +0 -0
  392. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Dynamic.Runtime.dll +0 -0
  393. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Formats.Asn1.dll +0 -0
  394. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.Calendars.dll +0 -0
  395. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.Extensions.dll +0 -0
  396. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Globalization.dll +0 -0
  397. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.Brotli.dll +0 -0
  398. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.FileSystem.dll +0 -0
  399. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.ZipFile.dll +0 -0
  400. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Compression.dll +0 -0
  401. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.AccessControl.dll +0 -0
  402. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.DriveInfo.dll +0 -0
  403. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.Primitives.dll +0 -0
  404. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.Watcher.dll +0 -0
  405. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.FileSystem.dll +0 -0
  406. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.IsolatedStorage.dll +0 -0
  407. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.MemoryMappedFiles.dll +0 -0
  408. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Pipes.AccessControl.dll +0 -0
  409. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.Pipes.dll +0 -0
  410. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.UnmanagedMemoryStream.dll +0 -0
  411. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.IO.dll +0 -0
  412. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Expressions.dll +0 -0
  413. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Parallel.dll +0 -0
  414. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Linq.Queryable.dll +0 -0
  415. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Linq.dll +0 -0
  416. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Management.Automation.dll +0 -0
  417. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Management.dll +0 -0
  418. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Memory.dll +0 -0
  419. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Http.Json.dll +0 -0
  420. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Http.dll +0 -0
  421. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.HttpListener.dll +0 -0
  422. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Mail.dll +0 -0
  423. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.NameResolution.dll +0 -0
  424. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.NetworkInformation.dll +0 -0
  425. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Ping.dll +0 -0
  426. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Primitives.dll +0 -0
  427. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Requests.dll +0 -0
  428. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Security.dll +0 -0
  429. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.ServicePoint.dll +0 -0
  430. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.Sockets.dll +0 -0
  431. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebClient.dll +0 -0
  432. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebHeaderCollection.dll +0 -0
  433. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebProxy.dll +0 -0
  434. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebSockets.Client.dll +0 -0
  435. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.WebSockets.dll +0 -0
  436. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Net.dll +0 -0
  437. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Numerics.Vectors.dll +0 -0
  438. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Numerics.dll +0 -0
  439. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ObjectModel.dll +0 -0
  440. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Private.CoreLib.dll +0 -0
  441. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Private.DataContractSerialization.dll +0 -0
  442. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Private.Uri.dll +0 -0
  443. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Private.Xml.Linq.dll +0 -0
  444. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Private.Xml.dll +0 -0
  445. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.DispatchProxy.dll +0 -0
  446. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.ILGeneration.dll +0 -0
  447. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.Lightweight.dll +0 -0
  448. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Emit.dll +0 -0
  449. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Extensions.dll +0 -0
  450. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Metadata.dll +0 -0
  451. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.Primitives.dll +0 -0
  452. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.TypeExtensions.dll +0 -0
  453. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Reflection.dll +0 -0
  454. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Resources.Reader.dll +0 -0
  455. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Resources.ResourceManager.dll +0 -0
  456. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Resources.Writer.dll +0 -0
  457. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  458. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.CompilerServices.VisualC.dll +0 -0
  459. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Extensions.dll +0 -0
  460. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Handles.dll +0 -0
  461. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
  462. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.InteropServices.dll +0 -0
  463. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Intrinsics.dll +0 -0
  464. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Loader.dll +0 -0
  465. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Numerics.dll +0 -0
  466. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Formatters.dll +0 -0
  467. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Json.dll +0 -0
  468. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Primitives.dll +0 -0
  469. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.Xml.dll +0 -0
  470. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.Serialization.dll +0 -0
  471. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Runtime.dll +0 -0
  472. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.AccessControl.dll +0 -0
  473. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Claims.dll +0 -0
  474. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Algorithms.dll +0 -0
  475. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Cng.dll +0 -0
  476. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Csp.dll +0 -0
  477. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Encoding.dll +0 -0
  478. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.OpenSsl.dll +0 -0
  479. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Pkcs.dll +0 -0
  480. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.Primitives.dll +0 -0
  481. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  482. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Cryptography.X509Certificates.dll +0 -0
  483. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Permissions.dll +0 -0
  484. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Principal.Windows.dll +0 -0
  485. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.Principal.dll +0 -0
  486. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.SecureString.dll +0 -0
  487. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Security.dll +0 -0
  488. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ServiceModel.Web.dll +0 -0
  489. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ServiceProcess.ServiceController.dll +0 -0
  490. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ServiceProcess.dll +0 -0
  491. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.CodePages.dll +0 -0
  492. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.Extensions.dll +0 -0
  493. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encoding.dll +0 -0
  494. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.Encodings.Web.dll +0 -0
  495. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.Json.dll +0 -0
  496. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Text.RegularExpressions.dll +0 -0
  497. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.AccessControl.dll +0 -0
  498. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Channels.dll +0 -0
  499. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Overlapped.dll +0 -0
  500. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Dataflow.dll +0 -0
  501. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Extensions.dll +0 -0
  502. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.Parallel.dll +0 -0
  503. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Tasks.dll +0 -0
  504. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Thread.dll +0 -0
  505. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.ThreadPool.dll +0 -0
  506. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.Timer.dll +0 -0
  507. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Threading.dll +0 -0
  508. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Transactions.Local.dll +0 -0
  509. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Transactions.dll +0 -0
  510. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.ValueTuple.dll +0 -0
  511. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Web.HttpUtility.dll +0 -0
  512. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Web.dll +0 -0
  513. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Windows.Extensions.dll +0 -0
  514. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Windows.dll +0 -0
  515. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.Linq.dll +0 -0
  516. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.ReaderWriter.dll +0 -0
  517. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.Serialization.dll +0 -0
  518. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XDocument.dll +0 -0
  519. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XPath.XDocument.dll +0 -0
  520. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XPath.dll +0 -0
  521. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XmlDocument.dll +0 -0
  522. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.XmlSerializer.dll +0 -0
  523. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.Xml.dll +0 -0
  524. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/System.dll +0 -0
  525. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/WindowsBase.dll +0 -0
  526. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-console-l1-1-0.dll +0 -0
  527. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-console-l1-2-0.dll +0 -0
  528. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  529. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-debug-l1-1-0.dll +0 -0
  530. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  531. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l1-1-0.dll +0 -0
  532. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l1-2-0.dll +0 -0
  533. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-file-l2-1-0.dll +0 -0
  534. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-handle-l1-1-0.dll +0 -0
  535. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-heap-l1-1-0.dll +0 -0
  536. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  537. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  538. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-localization-l1-2-0.dll +0 -0
  539. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-memory-l1-1-0.dll +0 -0
  540. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  541. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  542. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  543. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  544. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-profile-l1-1-0.dll +0 -0
  545. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  546. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-string-l1-1-0.dll +0 -0
  547. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-synch-l1-1-0.dll +0 -0
  548. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-synch-l1-2-0.dll +0 -0
  549. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  550. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  551. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-core-util-l1-1-0.dll +0 -0
  552. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  553. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  554. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  555. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  556. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  557. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  558. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-math-l1-1-0.dll +0 -0
  559. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
  560. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-private-l1-1-0.dll +0 -0
  561. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-process-l1-1-0.dll +0 -0
  562. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  563. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  564. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-string-l1-1-0.dll +0 -0
  565. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-time-l1-1-0.dll +0 -0
  566. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  567. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/clrcompression.dll +0 -0
  568. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/clretwrc.dll +0 -0
  569. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/clrjit.dll +0 -0
  570. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/coreclr.dll +0 -0
  571. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/createdump.exe +0 -0
  572. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  573. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  574. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/dbgshim.dll +0 -0
  575. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  576. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  577. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  578. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  579. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  580. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  581. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/hostfxr.dll +0 -0
  582. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/hostpolicy.dll +0 -0
  583. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  584. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  585. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  586. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  587. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  588. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  589. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mi.dll +0 -0
  590. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/miutils.dll +0 -0
  591. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mscordaccore.dll +0 -0
  592. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mscordaccore_x86_x86_5.0.20.51904.dll +0 -0
  593. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mscordbi.dll +0 -0
  594. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mscorlib.dll +0 -0
  595. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/mscorrc.dll +0 -0
  596. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/netstandard.dll +0 -0
  597. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  598. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  599. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  600. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  601. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/pwrshplugin.dll +0 -0
  602. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  603. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  604. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  605. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  606. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/ucrtbase.dll +0 -0
  607. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  608. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  609. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  610. data/distro/ruby_bin_folder/x86/shared/Microsoft.NETCore.App/5.0.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  611. data/distro/ruby_bin_folder/x86/vccorlib140.dll +0 -0
  612. data/distro/ruby_bin_folder/x86/vcruntime140.dll +0 -0
  613. data/lib/chef/application/base.rb +1 -1
  614. data/lib/chef/application/client.rb +6 -1
  615. data/lib/chef/application/knife.rb +1 -1
  616. data/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb +1 -1
  617. data/lib/chef/chef_fs/file_pattern.rb +1 -1
  618. data/lib/chef/client.rb +6 -32
  619. data/lib/chef/compliance/default_attributes.rb +93 -0
  620. data/lib/chef/compliance/fetcher/automate.rb +69 -0
  621. data/lib/chef/compliance/fetcher/chef_server.rb +134 -0
  622. data/lib/chef/compliance/reporter/automate.rb +201 -0
  623. data/lib/chef/compliance/reporter/chef_server_automate.rb +94 -0
  624. data/lib/chef/compliance/reporter/compliance_enforcer.rb +20 -0
  625. data/lib/chef/compliance/reporter/json_file.rb +19 -0
  626. data/lib/chef/compliance/runner.rb +266 -0
  627. data/lib/chef/cookbook_manifest.rb +2 -1
  628. data/lib/chef/cookbook_site_streaming_uploader.rb +1 -1
  629. data/lib/chef/cookbook_version.rb +2 -5
  630. data/lib/chef/data_collector.rb +1 -1
  631. data/lib/chef/encrypted_data_bag_item/assertions.rb +1 -1
  632. data/lib/chef/environment.rb +1 -1
  633. data/lib/chef/exceptions.rb +5 -1
  634. data/lib/chef/file_access_control/windows.rb +1 -4
  635. data/lib/chef/formatters/error_inspectors/compile_error_inspector.rb +2 -2
  636. data/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb +4 -4
  637. data/lib/chef/guard_interpreter/resource_guard_interpreter.rb +28 -39
  638. data/lib/chef/http.rb +2 -12
  639. data/lib/chef/http/basic_client.rb +1 -1
  640. data/lib/chef/http/http_request.rb +1 -1
  641. data/lib/chef/http/socketless_chef_zero_client.rb +1 -1
  642. data/lib/chef/http/ssl_policies.rb +33 -14
  643. data/lib/chef/json_compat.rb +2 -7
  644. data/lib/chef/key.rb +1 -1
  645. data/lib/chef/knife/bootstrap.rb +2 -1
  646. data/lib/chef/knife/bootstrap/templates/windows-chef-client-msi.erb +2 -2
  647. data/lib/chef/knife/bootstrap/train_connector.rb +1 -1
  648. data/lib/chef/knife/config_show.rb +1 -1
  649. data/lib/chef/knife/core/cookbook_scm_repo.rb +1 -1
  650. data/lib/chef/knife/core/formatting_options.rb +49 -0
  651. data/lib/chef/knife/core/gem_glob_loader.rb +1 -1
  652. data/lib/chef/knife/core/node_presenter.rb +0 -25
  653. data/lib/chef/knife/core/status_presenter.rb +1 -26
  654. data/lib/chef/knife/core/ui.rb +4 -1
  655. data/lib/chef/knife/core/windows_bootstrap_context.rb +8 -5
  656. data/lib/chef/knife/node_show.rb +2 -1
  657. data/lib/chef/knife/search.rb +2 -1
  658. data/lib/chef/knife/ssh.rb +3 -1
  659. data/lib/chef/knife/status.rb +8 -11
  660. data/lib/chef/mixin/convert_to_class_name.rb +0 -56
  661. data/lib/chef/mixin/openssl_helper.rb +1 -1
  662. data/lib/chef/mixin/powershell_exec.rb +24 -10
  663. data/lib/chef/mixin/powershell_out.rb +12 -5
  664. data/lib/chef/mixin/properties.rb +2 -0
  665. data/lib/chef/mixin/unformatter.rb +1 -1
  666. data/lib/chef/node/attribute_collections.rb +2 -6
  667. data/lib/chef/node/mixin/immutablize_hash.rb +2 -0
  668. data/lib/chef/platform/query_helpers.rb +4 -4
  669. data/lib/chef/policy_builder/policyfile.rb +1 -1
  670. data/lib/chef/powershell.rb +10 -4
  671. data/lib/chef/property.rb +1 -1
  672. data/lib/chef/provider/cron.rb +2 -13
  673. data/lib/chef/provider/dsc_resource.rb +12 -24
  674. data/lib/chef/provider/dsc_script.rb +16 -20
  675. data/lib/chef/provider/git.rb +5 -5
  676. data/lib/chef/provider/group.rb +14 -6
  677. data/lib/chef/provider/group/windows.rb +12 -1
  678. data/lib/chef/provider/ifconfig.rb +8 -8
  679. data/lib/chef/provider/ifconfig/debian.rb +38 -22
  680. data/lib/chef/provider/ifconfig/redhat.rb +54 -18
  681. data/lib/chef/provider/launchd.rb +1 -11
  682. data/lib/chef/provider/mount.rb +18 -1
  683. data/lib/chef/provider/mount/linux.rb +4 -0
  684. data/lib/chef/provider/mount/mount.rb +41 -43
  685. data/lib/chef/provider/package.rb +53 -16
  686. data/lib/chef/provider/package/apt.rb +1 -1
  687. data/lib/chef/provider/package/chocolatey.rb +6 -6
  688. data/lib/chef/provider/package/dnf.rb +39 -12
  689. data/lib/chef/provider/package/dnf/dnf_helper.py +18 -5
  690. data/lib/chef/provider/package/dnf/python_helper.rb +6 -6
  691. data/lib/chef/provider/package/freebsd/base.rb +3 -2
  692. data/lib/chef/provider/package/freebsd/pkgng.rb +1 -1
  693. data/lib/chef/provider/package/ips.rb +1 -1
  694. data/lib/chef/provider/package/powershell.rb +2 -3
  695. data/lib/chef/provider/package/rubygems.rb +1 -1
  696. data/lib/chef/provider/package/snap.rb +1 -3
  697. data/lib/chef/provider/package/solaris.rb +0 -2
  698. data/lib/chef/provider/package/yum/rpm_utils.rb +1 -1
  699. data/lib/chef/provider/package/zypper.rb +98 -71
  700. data/lib/chef/provider/powershell_script.rb +12 -1
  701. data/lib/chef/provider/registry_key.rb +4 -3
  702. data/lib/chef/provider/route.rb +2 -2
  703. data/lib/chef/provider/service/debian.rb +2 -1
  704. data/lib/chef/provider/user.rb +17 -9
  705. data/lib/chef/provider/user/aix.rb +1 -1
  706. data/lib/chef/provider/user/mac.rb +12 -4
  707. data/lib/chef/provider/user/solaris.rb +1 -1
  708. data/lib/chef/provider/user/windows.rb +10 -3
  709. data/lib/chef/provider/yum_repository.rb +2 -2
  710. data/lib/chef/providers.rb +0 -3
  711. data/lib/chef/pwsh.rb +71 -0
  712. data/lib/chef/resource/apt_repository.rb +2 -3
  713. data/lib/chef/resource/bash.rb +119 -1
  714. data/lib/chef/resource/batch.rb +1 -1
  715. data/lib/chef/resource/breakpoint.rb +3 -1
  716. data/lib/chef/resource/build_essential.rb +5 -8
  717. data/lib/chef/resource/chef_client_config.rb +313 -0
  718. data/lib/chef/resource/chef_client_cron.rb +5 -5
  719. data/lib/chef/resource/chef_client_scheduled_task.rb +4 -4
  720. data/lib/chef/resource/chef_client_systemd_timer.rb +5 -5
  721. data/lib/chef/resource/chef_gem.rb +2 -2
  722. data/lib/chef/resource/chef_sleep.rb +1 -1
  723. data/lib/chef/resource/cron/cron_d.rb +3 -2
  724. data/lib/chef/resource/csh.rb +2 -2
  725. data/lib/chef/resource/dsc_script.rb +8 -1
  726. data/lib/chef/resource/execute.rb +6 -4
  727. data/lib/chef/resource/file.rb +2 -2
  728. data/lib/chef/resource/gem_package.rb +2 -2
  729. data/lib/chef/resource/homebrew_cask.rb +3 -3
  730. data/lib/chef/resource/homebrew_update.rb +4 -1
  731. data/lib/chef/resource/hostname.rb +5 -5
  732. data/lib/chef/resource/http_request.rb +1 -1
  733. data/lib/chef/resource/ifconfig.rb +52 -5
  734. data/lib/chef/resource/kernel_module.rb +1 -1
  735. data/lib/chef/resource/ksh.rb +3 -3
  736. data/lib/chef/resource/launchd.rb +15 -15
  737. data/lib/chef/resource/locale.rb +1 -1
  738. data/lib/chef/resource/lwrp_base.rb +3 -5
  739. data/lib/chef/resource/mdadm.rb +2 -2
  740. data/lib/chef/resource/mount.rb +8 -2
  741. data/lib/chef/resource/osx_profile.rb +7 -7
  742. data/lib/chef/resource/perl.rb +2 -2
  743. data/lib/chef/resource/plist.rb +2 -6
  744. data/lib/chef/resource/powershell_package_source.rb +19 -18
  745. data/lib/chef/resource/powershell_script.rb +14 -11
  746. data/lib/chef/resource/python.rb +2 -2
  747. data/lib/chef/resource/registry_key.rb +93 -2
  748. data/lib/chef/resource/remote_directory.rb +1 -1
  749. data/lib/chef/resource/route.rb +1 -1
  750. data/lib/chef/resource/ruby.rb +1 -5
  751. data/lib/chef/resource/ruby_block.rb +1 -1
  752. data/lib/chef/resource/scm/_scm.rb +2 -1
  753. data/lib/chef/resource/scm/git.rb +82 -1
  754. data/lib/chef/resource/scm/subversion.rb +12 -0
  755. data/lib/chef/resource/script.rb +2 -2
  756. data/lib/chef/resource/solaris_package.rb +0 -2
  757. data/lib/chef/resource/sudo.rb +1 -1
  758. data/lib/chef/resource/support/client.erb +64 -0
  759. data/lib/chef/resource/systemd_unit.rb +42 -1
  760. data/lib/chef/resource/template.rb +2 -2
  761. data/lib/chef/resource/user/windows_user.rb +5 -0
  762. data/lib/chef/resource/windows_ad_join.rb +9 -9
  763. data/lib/chef/resource/windows_audit_policy.rb +26 -24
  764. data/lib/chef/resource/windows_certificate.rb +14 -18
  765. data/lib/chef/resource/windows_dfs_server.rb +7 -4
  766. data/lib/chef/resource/windows_env.rb +173 -0
  767. data/lib/chef/resource/windows_feature.rb +2 -0
  768. data/lib/chef/resource/windows_firewall_profile.rb +7 -12
  769. data/lib/chef/resource/windows_firewall_rule.rb +9 -11
  770. data/lib/chef/resource/windows_font.rb +1 -1
  771. data/lib/chef/resource/windows_package.rb +1 -0
  772. data/lib/chef/resource/windows_path.rb +38 -0
  773. data/lib/chef/resource/windows_security_policy.rb +5 -5
  774. data/lib/chef/resource/windows_service.rb +108 -0
  775. data/lib/chef/resource/windows_share.rb +18 -18
  776. data/lib/chef/resource/windows_task.rb +629 -28
  777. data/lib/chef/resource/windows_workgroup.rb +6 -4
  778. data/lib/chef/resource/yum_repository.rb +6 -1
  779. data/lib/chef/resource_collection/resource_set.rb +2 -6
  780. data/lib/chef/resource_inspector.rb +77 -75
  781. data/lib/chef/resources.rb +1 -0
  782. data/lib/chef/run_lock.rb +1 -1
  783. data/lib/chef/server_api.rb +0 -4
  784. data/lib/chef/shell/ext.rb +1 -1
  785. data/lib/chef/util/dsc/configuration_generator.rb +52 -11
  786. data/lib/chef/util/dsc/lcm_output_parser.rb +4 -7
  787. data/lib/chef/util/dsc/local_configuration_manager.rb +18 -15
  788. data/lib/chef/util/dsc/resource_store.rb +5 -11
  789. data/lib/chef/version.rb +1 -1
  790. data/lib/chef/win32/api/file.rb +4 -0
  791. data/lib/chef/win32/security/sid.rb +1 -1
  792. data/spec/data/rubygems.org/latest_specs.4.8.gz +0 -0
  793. data/spec/data/rubygems.org/nonexistent_gem +0 -0
  794. data/spec/data/rubygems.org/sexp_processor +0 -0
  795. data/spec/data/rubygems.org/sexp_processor-4.15.1.gemspec.rz +0 -0
  796. data/spec/data/ssl/binary/chef-rspec-der.cert +0 -0
  797. data/spec/data/ssl/binary/chef-rspec-der.key +0 -0
  798. data/spec/functional/mixin/powershell_out_spec.rb +11 -3
  799. data/spec/functional/resource/apt_package_spec.rb +4 -6
  800. data/spec/functional/resource/chocolatey_package_spec.rb +3 -3
  801. data/spec/functional/resource/cron_spec.rb +3 -3
  802. data/spec/functional/resource/dnf_package_spec.rb +319 -16
  803. data/spec/functional/resource/dsc_script_spec.rb +6 -9
  804. data/spec/functional/resource/mount_spec.rb +10 -2
  805. data/spec/functional/resource/powershell_package_source_spec.rb +107 -0
  806. data/spec/functional/resource/powershell_script_spec.rb +57 -14
  807. data/spec/functional/resource/windows_certificate_spec.rb +206 -382
  808. data/spec/functional/resource/windows_firewall_rule_spec.rb +93 -0
  809. data/spec/functional/resource/windows_package_spec.rb +36 -10
  810. data/spec/functional/resource/windows_share_spec.rb +103 -0
  811. data/spec/functional/resource/windows_task_spec.rb +2 -3
  812. data/spec/functional/resource/zypper_package_spec.rb +11 -0
  813. data/spec/integration/client/client_spec.rb +2 -1
  814. data/spec/integration/compliance/compliance_spec.rb +81 -0
  815. data/spec/integration/knife/client_key_create_spec.rb +1 -1
  816. data/spec/integration/knife/node_create_spec.rb +1 -1
  817. data/spec/integration/knife/node_environment_set_spec.rb +1 -1
  818. data/spec/integration/knife/node_run_list_add_spec.rb +4 -4
  819. data/spec/integration/knife/node_run_list_remove_spec.rb +1 -1
  820. data/spec/integration/knife/node_run_list_set_spec.rb +1 -1
  821. data/spec/integration/knife/node_show_spec.rb +1 -1
  822. data/spec/integration/recipes/notifies_spec.rb +1 -1
  823. data/spec/integration/recipes/provider_choice.rb +2 -2
  824. data/spec/integration/recipes/recipe_dsl_spec.rb +1 -0
  825. data/spec/spec_helper.rb +2 -1
  826. data/spec/support/lib/chef/resource/cat.rb +1 -1
  827. data/spec/support/lib/chef/resource/one_two_three_four.rb +1 -1
  828. data/spec/support/mock/platform.rb +24 -16
  829. data/spec/support/platform_helpers.rb +11 -4
  830. data/spec/support/shared/unit/knife_shared.rb +1 -1
  831. data/spec/support/shared/unit/script_resource.rb +4 -4
  832. data/spec/support/shared/unit/windows_script_resource.rb +1 -1
  833. data/spec/unit/client_spec.rb +17 -0
  834. data/spec/unit/compliance/fetcher/automate_spec.rb +134 -0
  835. data/spec/unit/compliance/fetcher/chef_server_spec.rb +93 -0
  836. data/spec/unit/compliance/reporter/automate_spec.rb +427 -0
  837. data/spec/unit/compliance/reporter/chef_server_automate_spec.rb +177 -0
  838. data/spec/unit/compliance/reporter/compliance_enforcer_spec.rb +48 -0
  839. data/spec/unit/compliance/runner_spec.rb +168 -0
  840. data/spec/unit/guard_interpreter/resource_guard_interpreter_spec.rb +11 -11
  841. data/spec/unit/http/ssl_policies_spec.rb +107 -68
  842. data/spec/unit/knife/bootstrap_spec.rb +5 -17
  843. data/spec/unit/knife/client_create_spec.rb +2 -2
  844. data/spec/unit/knife/configure_client_spec.rb +5 -5
  845. data/spec/unit/knife/configure_spec.rb +3 -3
  846. data/spec/unit/knife/cookbook_delete_spec.rb +2 -2
  847. data/spec/unit/knife/cookbook_download_spec.rb +2 -2
  848. data/spec/unit/knife/cookbook_list_spec.rb +2 -2
  849. data/spec/unit/knife/cookbook_metadata_spec.rb +3 -3
  850. data/spec/unit/knife/core/node_editor_spec.rb +1 -1
  851. data/spec/unit/knife/core/status_presenter_spec.rb +54 -0
  852. data/spec/unit/knife/environment_compare_spec.rb +3 -3
  853. data/spec/unit/knife/supermarket_download_spec.rb +8 -8
  854. data/spec/unit/knife/supermarket_list_spec.rb +3 -3
  855. data/spec/unit/knife/supermarket_search_spec.rb +1 -1
  856. data/spec/unit/knife/tag_create_spec.rb +1 -1
  857. data/spec/unit/knife/tag_delete_spec.rb +1 -1
  858. data/spec/unit/knife/user_create_spec.rb +1 -1
  859. data/spec/unit/mixin/openssl_helper_spec.rb +0 -7
  860. data/spec/unit/mixin/powershell_exec_spec.rb +41 -4
  861. data/spec/unit/mixin/powershell_out_spec.rb +14 -0
  862. data/spec/unit/mixin/which.rb +1 -1
  863. data/spec/unit/platform/query_helpers_spec.rb +11 -12
  864. data/spec/unit/provider/dsc_resource_spec.rb +10 -27
  865. data/spec/unit/provider/dsc_script_spec.rb +1 -1
  866. data/spec/unit/provider/group/windows_spec.rb +6 -0
  867. data/spec/unit/provider/group_spec.rb +1 -1
  868. data/spec/unit/provider/mount/linux_spec.rb +10 -0
  869. data/spec/unit/provider/mount/mount_spec.rb +21 -10
  870. data/spec/unit/provider/mount/solaris_spec.rb +1 -1
  871. data/spec/unit/provider/mount/windows_spec.rb +1 -0
  872. data/spec/unit/provider/mount_spec.rb +31 -0
  873. data/spec/unit/provider/package/chocolatey_spec.rb +1 -2
  874. data/spec/unit/provider/package/powershell_spec.rb +87 -95
  875. data/spec/unit/provider/package/rubygems_spec.rb +39 -7
  876. data/spec/unit/provider/package/zypper_spec.rb +0 -25
  877. data/spec/unit/provider/package_spec.rb +2 -2
  878. data/spec/unit/provider/powershell_script_spec.rb +11 -0
  879. data/spec/unit/provider/subversion_spec.rb +0 -3
  880. data/spec/unit/provider/systemd_unit_spec.rb +1 -1
  881. data/spec/unit/provider/user_spec.rb +7 -1
  882. data/spec/unit/provider/windows_env_spec.rb +18 -34
  883. data/spec/unit/provider/windows_path_spec.rb +6 -11
  884. data/spec/unit/provider/windows_task_spec.rb +7 -6
  885. data/spec/unit/resource/breakpoint_spec.rb +1 -1
  886. data/spec/unit/resource/build_essential_spec.rb +0 -12
  887. data/spec/unit/resource/chef_client_config_spec.rb +137 -0
  888. data/spec/unit/resource/ifconfig_spec.rb +2 -10
  889. data/spec/unit/resource/mount_spec.rb +18 -5
  890. data/spec/unit/resource/powershell_package_source_spec.rb +20 -20
  891. data/spec/unit/resource/powershell_script_spec.rb +4 -74
  892. data/spec/unit/resource/service_spec.rb +2 -2
  893. data/spec/unit/resource/solaris_package_spec.rb +8 -10
  894. data/spec/unit/{monkey_patches/uri_spec.rb → resource/user/windows_user_spec.rb} +13 -11
  895. data/spec/unit/resource/windows_certificate_spec.rb +12 -0
  896. data/spec/unit/resource_inspector_spec.rb +3 -3
  897. data/spec/unit/shell_spec.rb +2 -2
  898. data/spec/unit/util/dsc/configuration_generator_spec.rb +79 -0
  899. data/spec/unit/util/dsc/local_configuration_manager_spec.rb +27 -35
  900. data/tasks/rspec.rb +1 -1
  901. metadata +671 -35
  902. data/distro/ruby_bin_folder/Chef.PowerShell.Wrapper.dll +0 -0
  903. data/distro/ruby_bin_folder/Chef.PowerShell.dll +0 -0
  904. data/distro/ruby_bin_folder/msvcp140.dll +0 -0
  905. data/distro/ruby_bin_folder/vcruntime140.dll +0 -0
  906. data/lib/chef/monkey_patches/net_http.rb +0 -22
  907. data/lib/chef/provider/windows_env.rb +0 -210
  908. data/lib/chef/provider/windows_path.rb +0 -61
  909. data/lib/chef/provider/windows_task.rb +0 -631
  910. data/lib/chef/util/powershell/cmdlet.rb +0 -175
  911. data/lib/chef/util/powershell/cmdlet_result.rb +0 -61
  912. data/spec/data/trusted_certs_empty/.gitkeep +0 -0
  913. data/spec/data/trusted_certs_empty/README.md +0 -1
  914. data/spec/functional/util/powershell/cmdlet_spec.rb +0 -111
  915. data/spec/scripts/ssl-serve.rb +0 -47
  916. data/spec/support/mock/constant.rb +0 -52
  917. data/spec/unit/provider_resolver_spec.rb +0 -885
  918. data/spec/unit/resource/data/InstallHistory_with_CLT.plist +0 -92
  919. data/spec/unit/resource/data/InstallHistory_without_CLT.plist +0 -38
  920. data/spec/unit/util/powershell/cmdlet_spec.rb +0 -106
@@ -17,13 +17,13 @@
17
17
  #
18
18
 
19
19
  require "spec_helper"
20
- require "chef/mixin/powershell_out"
20
+ require "chef/mixin/powershell_exec"
21
21
  require "chef/mixin/windows_architecture_helper"
22
22
  require "support/shared/integration/integration_helper"
23
23
 
24
- describe Chef::Resource::DscScript, :windows_powershell_dsc_only do
24
+ describe Chef::Resource::DscScript, :windows_powershell_dsc_only, :ruby64_only do
25
25
  include Chef::Mixin::WindowsArchitectureHelper
26
- include Chef::Mixin::PowershellOut
26
+ include Chef::Mixin::PowershellExec
27
27
  before(:all) do
28
28
  @temp_dir = ::Dir.mktmpdir("dsc-functional-test")
29
29
  # enable the HTTP listener if it is not already enabled needed by underlying DSC engine
@@ -33,7 +33,7 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do
33
33
  winrm create winrm/config/Listener?Address=*+Transport=HTTP
34
34
  }
35
35
  CODE
36
- powershell_out!(winrm_code)
36
+ powershell_exec!(winrm_code)
37
37
  end
38
38
 
39
39
  after(:all) do
@@ -261,12 +261,9 @@ describe Chef::Resource::DscScript, :windows_powershell_dsc_only do
261
261
 
262
262
  it "should raise an exception if the cwd is etc" do
263
263
  dsc_test_resource.cwd(dsc_environment_fail_etc_directory)
264
- expect { dsc_test_resource.run_action(:run) }.to raise_error(Chef::Exceptions::PowershellCmdletException)
265
- begin
264
+ expect {
266
265
  dsc_test_resource.run_action(:run)
267
- rescue Chef::Exceptions::PowershellCmdletException => e
268
- expect(e.message).to match(exception_message_signature)
269
- end
266
+ }.to raise_error(Chef::PowerShell::CommandFailed, /#{exception_message_signature}/)
270
267
  end
271
268
  end
272
269
  end
@@ -129,8 +129,9 @@ describe Chef::Resource::Mount, :requires_root, external: include_flag do
129
129
  end
130
130
 
131
131
  # Actual tests begin here.
132
- before(:all) do
132
+ before do |test|
133
133
  @device, @fstype = setup_device_for_mount
134
+ @device = "/" if test.metadata[:skip_before]
134
135
 
135
136
  @mount_point = Dir.mktmpdir("testmount")
136
137
 
@@ -145,13 +146,20 @@ describe Chef::Resource::Mount, :requires_root, external: include_flag do
145
146
  end
146
147
 
147
148
  after(:all) do
148
- Dir.rmdir(@mount_point)
149
+ Dir.rmdir(@mount_point) if @mount_point
149
150
  end
150
151
 
151
152
  after(:each) do
152
153
  cleanup_mount(new_resource.mount_point)
153
154
  end
154
155
 
156
+ describe "when device is '/'" do
157
+ it "should mount the filesystem if device is '/'", :skip_before do
158
+ new_resource.run_action(:mount)
159
+ mount_should_exist(new_resource.mount_point, new_resource.device)
160
+ end
161
+ end
162
+
155
163
  describe "when the target state is a mounted filesystem" do
156
164
  it "should mount the filesystem if it isn't mounted" do
157
165
  expect(current_resource.enabled).to be_falsey
@@ -0,0 +1,107 @@
1
+ #
2
+ # Author:: Matt Wrock (<matt@mattwrock.com>)
3
+ # Copyright:: Copyright (c) Chef Software Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+ require "spec_helper"
19
+ require "chef/mixin/powershell_exec"
20
+
21
+ describe Chef::Resource::PowershellPackageSource, :windows_gte_10 do
22
+ include Chef::Mixin::PowershellExec
23
+
24
+ let(:source_name) { "fake" }
25
+ let(:url) { "https://www.nuget.org/api/v2" }
26
+ let(:trusted) { true }
27
+
28
+ let(:run_context) do
29
+ Chef::RunContext.new(Chef::Node.new, {}, Chef::EventDispatch::Dispatcher.new)
30
+ end
31
+
32
+ subject do
33
+ new_resource = Chef::Resource::PowershellPackageSource.new("test powershell package source", run_context)
34
+ new_resource.source_name source_name
35
+ new_resource.url url
36
+ new_resource.trusted trusted
37
+ new_resource.provider_name provider_name
38
+ new_resource
39
+ end
40
+
41
+ let(:provider) do
42
+ provider = subject.provider_for_action(subject.action)
43
+ provider
44
+ end
45
+
46
+ shared_examples "package_source" do
47
+ context "register a package source" do
48
+ after { remove_package_source }
49
+
50
+ it "registers the package source" do
51
+ subject.run_action(:register)
52
+ expect(get_installed_package_source_name).to eq(source_name)
53
+ end
54
+
55
+ it "does not register the package source if already installed" do
56
+ subject.run_action(:register)
57
+ subject.run_action(:register)
58
+ expect(subject).not_to be_updated_by_last_action
59
+ end
60
+
61
+ it "updates an existing package source if changed" do
62
+ subject.run_action(:register)
63
+ subject.trusted !trusted
64
+ subject.run_action(:register)
65
+ expect(subject).to be_updated_by_last_action
66
+ end
67
+ end
68
+
69
+ context "unregister a package source" do
70
+ it "unregisters the package source" do
71
+ subject.run_action(:register)
72
+ subject.run_action(:unregister)
73
+ expect(get_installed_package_source_name).to be_empty
74
+ end
75
+
76
+ it "does not unregister the package source if not already installed" do
77
+ subject.run_action(:unregister)
78
+ expect(subject).not_to be_updated_by_last_action
79
+ end
80
+ end
81
+ end
82
+
83
+ context "with NuGet provider" do
84
+ let(:provider_name) { "NuGet" }
85
+
86
+ before(:all) do
87
+ powershell_exec!("[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;Install-PackageProvider -Name NuGet -Force")
88
+ end
89
+
90
+ it_behaves_like "package_source"
91
+ end
92
+
93
+ context "with PowerShellGet provider" do
94
+ let(:provider_name) { "PowerShellGet" }
95
+
96
+ it_behaves_like "package_source"
97
+ end
98
+
99
+ def get_installed_package_source_name
100
+ powershell_exec!("(Get-PackageSource -Name #{source_name} -ErrorAction SilentlyContinue).Name").result
101
+ end
102
+
103
+ def remove_package_source
104
+ pkg_to_remove = Chef::Resource::PowershellPackageSource.new(source_name, run_context)
105
+ pkg_to_remove.run_action(:unregister)
106
+ end
107
+ end
@@ -47,7 +47,7 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do
47
47
  r
48
48
  end
49
49
 
50
- describe "when the run action is invoked on Windows" do
50
+ shared_examples_for "a running powershell script" do
51
51
  it "successfully executes a non-cmdlet Windows binary as the last command of the script" do
52
52
  resource.code(successful_executable_script_content + " | out-file -encoding ASCII #{script_output_path}")
53
53
  resource.returns(0)
@@ -231,22 +231,54 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do
231
231
  resource.only_if { true }
232
232
  expect { resource.should_skip?(:run) }.to raise_error(ArgumentError, /guard_interpreter does not support blocks/)
233
233
  end
234
+ end
235
+
236
+ context "when using the powershell interpreter" do
237
+ before do
238
+ resource.interpreter "powershell"
239
+ end
240
+
241
+ it_behaves_like "a running powershell script"
242
+
243
+ it "runs Windows Powershell" do
244
+ resource.code("$PSVersionTable.PSVersion.Major | out-file -encoding ASCII #{script_output_path}")
245
+ resource.returns(0)
246
+ resource.run_action(:run)
247
+
248
+ expect(get_script_output.to_i).to be < 6
249
+ end
250
+ end
251
+
252
+ context "when using the pwsh interpreter", :pwsh_installed do
253
+ before do
254
+ resource.interpreter "pwsh"
255
+ end
256
+
257
+ it_behaves_like "a running powershell script"
234
258
 
235
- context "when dsc is supported", :windows_powershell_dsc_only do
236
- it "can execute LCM configuration code" do
237
- resource.code <<~EOF
238
- configuration LCM
259
+ it "runs a version of powershell greater than 6" do
260
+ resource.code("$PSVersionTable.PSVersion.Major | out-file -encoding ASCII #{script_output_path}")
261
+ resource.returns(0)
262
+ resource.run_action(:run)
263
+
264
+ expect(get_script_output.to_i).to be > 6
265
+ end
266
+ end
267
+
268
+ context "when dsc is supported", :windows_powershell_dsc_only do
269
+ it "can execute LCM configuration code" do
270
+ resource.code <<~EOF
271
+ configuration LCM
272
+ {
273
+ param ($thumbprint)
274
+ localconfigurationmanager
239
275
  {
240
- param ($thumbprint)
241
- localconfigurationmanager
242
- {
243
- RebootNodeIfNeeded = $false
244
- ConfigurationMode = 'ApplyOnly'
245
- }
276
+ RebootNodeIfNeeded = $false
277
+ ConfigurationMode = 'ApplyOnly'
246
278
  }
247
- EOF
248
- expect { resource.run_action(:run) }.not_to raise_error
249
- end
279
+ }
280
+ EOF
281
+ expect { resource.run_action(:run) }.not_to raise_error
250
282
  end
251
283
  end
252
284
 
@@ -347,6 +379,17 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do
347
379
 
348
380
  context "with powershell_script as the guard_interpreter" do
349
381
 
382
+ context "when pwsh is the interpreter", :pwsh_installed do
383
+ before do
384
+ resource.interpreter "pwsh"
385
+ end
386
+
387
+ it "uses powershell core to evaluate the guard" do
388
+ resource.not_if "$PSVersionTable.PSEdition -eq 'Core'"
389
+ expect(resource.should_skip?(:run)).to be_truthy
390
+ end
391
+ end
392
+
350
393
  it "has a guard_interpreter attribute set to :powershell_script" do
351
394
  expect(resource.guard_interpreter).to eq(:powershell_script)
352
395
  end
@@ -16,477 +16,301 @@
16
16
  #
17
17
 
18
18
  require "spec_helper"
19
- require "chef/mixin/powershell_out"
19
+ require "chef/mixin/powershell_exec"
20
20
  require "chef/resource/windows_certificate"
21
21
 
22
- module WindowsCertificateHelper
23
- include Chef::Mixin::PowershellOut
22
+ describe Chef::Resource::WindowsCertificate, :windows_only do
23
+ include Chef::Mixin::PowershellExec
24
24
 
25
- def create_store(store)
26
- path = "Cert:\\LocalMachine\\" + store
27
- command = <<~EOC
28
- New-Item -Path #{path}
25
+ def create_store
26
+ powershell_exec <<~EOC
27
+ New-Item -Path Cert:\\LocalMachine\\#{store}
29
28
  EOC
30
- powershell_out(command)
31
29
  end
32
30
 
33
- def cleanup(store)
34
- path = "Cert:\\LocalMachine\\" + store
35
- command = <<~EOC
36
- Remove-Item -Path #{path} -Recurse
31
+ def delete_store
32
+ powershell_exec <<~EOC
33
+ Remove-Item -Path Cert:\\LocalMachine\\#{store} -Recurse
37
34
  EOC
38
- powershell_out(command)
39
35
  end
40
36
 
41
- def no_of_certificates
42
- path = "Cert:\\LocalMachine\\" + store
43
- command = <<~EOC
44
- Write-Host (dir #{path} | measure).Count;
37
+ def certificate_count
38
+ powershell_exec(<<~EOC).result.to_i
39
+ (Get-ChildItem -Force -Path Cert:\\LocalMachine\\#{store} | measure).Count
45
40
  EOC
46
- powershell_out(command).stdout.to_i
47
41
  end
48
- end
49
42
 
50
- describe Chef::Resource::WindowsCertificate, :windows_only do
51
- include WindowsCertificateHelper
52
-
53
- let(:stdout) { StringIO.new }
54
- let(:username) { "ChefFunctionalTest" }
55
- let(:node) { Chef::Node.new }
56
- let(:events) { Chef::EventDispatch::Dispatcher.new }
57
- let(:run_context) { Chef::RunContext.new(node, {}, events) }
58
- let(:new_resource) { Chef::Resource::WindowsCertificate.new(username, run_context) }
59
43
  let(:password) { "P@ssw0rd!" }
60
44
  let(:store) { "Chef-Functional-Test" }
61
- let(:certificate_path) { File.expand_path(File.join(CHEF_SPEC_DATA, "windows_certificates")) }
62
- let(:cer_path) { File.join(certificate_path, "test.cer") }
63
- let(:base64_path) { File.join(certificate_path, "base64_test.cer") }
64
- let(:pem_path) { File.join(certificate_path, "test.pem") }
65
- let(:p7b_path) { File.join(certificate_path, "test.p7b") }
66
- let(:pfx_path) { File.join(certificate_path, "test.pfx") }
67
- let(:out_path) { File.join(certificate_path, "testout.pem") }
45
+ let(:cer_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "test.cer") }
46
+ let(:base64_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "base64_test.cer") }
47
+ let(:pem_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "test.pem") }
48
+ let(:p7b_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "test.p7b") }
49
+ let(:pfx_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "test.pfx") }
68
50
  let(:tests_thumbprint) { "e45a4a7ff731e143cf20b8bfb9c7c4edd5238bb3" }
69
- let(:other_cer_path) { File.join(certificate_path, "othertest.cer") }
51
+ let(:other_cer_path) { File.join(CHEF_SPEC_DATA, "windows_certificates", "othertest.cer") }
70
52
  let(:others_thumbprint) { "6eae1deefaf59daf1a97c9ceeff39c98b3da38cb" }
71
53
  let(:p7b_thumbprint) { "f867e25b928061318ed2c36ca517681774b06260" }
72
54
  let(:p7b_nested_thumbprint) { "dc395eae6be5b69951b8b6e1090cfc33df30d2cd" }
73
55
 
56
+ let(:resource) do
57
+ run_context = Chef::RunContext.new(Chef::Node.new, {}, Chef::EventDispatch::Dispatcher.new)
58
+ Chef::Resource::WindowsCertificate.new("ChefFunctionalTest", run_context).tap do |r|
59
+ r.store_name = store
60
+ end
61
+ end
62
+
74
63
  before do
75
- opts = { store_name: store }
76
- key = :store_name
77
- to_be = ["TRUSTEDPUBLISHER", "TrustedPublisher", "CLIENTAUTHISSUER",
78
- "REMOTE DESKTOP", "ROOT", "TRUSTEDDEVICES", "WEBHOSTING",
79
- "CA", "AUTHROOT", "TRUSTEDPEOPLE", "MY", "SMARTCARDROOT", "TRUST",
80
- "DISALLOWED"]
81
-
82
- # Byepassing the validation so that we may create a custom store
64
+ # Bypass validation of the store name so we can use a fake test store.
83
65
  allow_any_instance_of(Chef::Mixin::ParamsValidate)
84
66
  .to receive(:_pv_equal_to)
85
- .with(opts, key, to_be)
67
+ .with({ store_name: store }, :store_name, anything)
86
68
  .and_return(true)
87
69
 
88
- # Creating a custom store for the testing
89
- create_store(store)
70
+ create_store
71
+ end
72
+
73
+ after { delete_store }
90
74
 
91
- allow(Chef::Log).to receive(:info) do |msg|
92
- stdout.puts(msg)
75
+ describe "action: create" do
76
+ it "starts with no certificates" do
77
+ expect(certificate_count).to eq(0)
93
78
  end
94
- end
95
79
 
96
- after { cleanup(store) }
80
+ it "can add a certificate idempotently" do
81
+ resource.source = cer_path
82
+ resource.run_action(:create)
97
83
 
98
- subject(:win_certificate) do
99
- new_resource.store_name = store
100
- new_resource
101
- end
84
+ expect(certificate_count).to eq(1)
85
+ expect(resource).to be_updated_by_last_action
102
86
 
103
- it "Initially there are no certificates" do
104
- expect(no_of_certificates).to eq(0)
105
- end
87
+ # Adding the cert again should have no effect
88
+ resource.run_action(:create)
89
+ expect(certificate_count).to eq(1)
90
+ expect(resource).not_to be_updated_by_last_action
106
91
 
107
- describe "action :create" do
108
- before do
109
- win_certificate.source = cer_path
110
- win_certificate.run_action(:create)
111
- end
92
+ # Adding the cert again with a different format should have no effect
93
+ resource.source = pem_path
94
+ resource.run_action(:create)
95
+ expect(certificate_count).to eq(1)
96
+ expect(resource).not_to be_updated_by_last_action
112
97
 
113
- context "Adding a certificate" do
114
- it "Imports certificate into store" do
115
- expect(no_of_certificates).to eq(1)
116
- end
98
+ # Adding another cert should work correctly
99
+ resource.source = other_cer_path
100
+ resource.run_action(:create)
117
101
 
118
- it "Converges while addition" do
119
- expect(win_certificate).to be_updated_by_last_action
120
- end
102
+ expect(certificate_count).to eq(2)
103
+ expect(resource).to be_updated_by_last_action
121
104
  end
122
105
 
123
- context "Again adding the same certificate" do
124
- before do
125
- win_certificate.run_action(:create)
126
- end
127
- it "Does not imports certificate into store" do
128
- expect(no_of_certificates).to eq(1)
129
- end
130
- it "Idempotent: Does not converge while addition" do
131
- expect(no_of_certificates).to eq(1)
132
- expect(win_certificate).not_to be_updated_by_last_action
133
- end
134
- end
106
+ it "can add a base64 encoded certificate idempotently" do
107
+ resource.source = base64_path
108
+ resource.run_action(:create)
135
109
 
136
- context "Again adding the same certificate of other format" do
137
- before do
138
- win_certificate.source = pem_path
139
- win_certificate.run_action(:create)
140
- end
141
- it "Does not imports certificate into store" do
142
- expect(no_of_certificates).to eq(1)
143
- end
144
- it "Idempotent: Does not converge while addition" do
145
- expect(no_of_certificates).to eq(1)
146
- expect(win_certificate).not_to be_updated_by_last_action
147
- end
148
- end
110
+ expect(certificate_count).to eq(1)
149
111
 
150
- context "Adding another certificate" do
151
- before do
152
- win_certificate.source = other_cer_path
153
- win_certificate.run_action(:create)
154
- end
155
- it "Imports certificate into store" do
156
- expect(no_of_certificates).to eq(2)
157
- end
158
- it "Converges while addition" do
159
- expect(no_of_certificates).to eq(2)
160
- expect(win_certificate).to be_updated_by_last_action
161
- end
112
+ resource.run_action(:create)
113
+ expect(certificate_count).to eq(1)
114
+ expect(resource).not_to be_updated_by_last_action
162
115
  end
163
- end
164
116
 
165
- describe "Works for various formats" do
166
- context "Adds CER" do
167
- before do
168
- win_certificate.source = cer_path
169
- win_certificate.run_action(:create)
170
- end
171
- it "Imports certificate into store" do
172
- expect(no_of_certificates).to eq(1)
173
- end
174
- it "Idempotent: Does not converge while adding again" do
175
- win_certificate.run_action(:create)
176
- expect(no_of_certificates).to eq(1)
177
- expect(win_certificate).not_to be_updated_by_last_action
178
- end
179
- end
117
+ it "can add a PEM certificate idempotently" do
118
+ resource.source = pem_path
119
+ resource.run_action(:create)
180
120
 
181
- context "Adds Base64 Encoded CER" do
182
- before do
183
- win_certificate.source = base64_path
184
- win_certificate.run_action(:create)
185
- end
186
- it "Imports certificate into store" do
187
- expect(no_of_certificates).to eq(1)
188
- end
189
- it "Idempotent: Does not converge while adding again" do
190
- win_certificate.run_action(:create)
191
- expect(no_of_certificates).to eq(1)
192
- expect(win_certificate).not_to be_updated_by_last_action
193
- end
121
+ expect(certificate_count).to eq(1)
122
+
123
+ resource.run_action(:create)
124
+
125
+ expect(certificate_count).to eq(1)
126
+ expect(resource).not_to be_updated_by_last_action
194
127
  end
195
128
 
196
- context "Adds PEM" do
197
- before do
198
- win_certificate.source = pem_path
199
- win_certificate.run_action(:create)
200
- end
201
- it "Imports certificate into store" do
202
- expect(no_of_certificates).to eq(1)
203
- end
204
- it "Idempotent: Does not converge while adding again" do
205
- win_certificate.run_action(:create)
206
- expect(no_of_certificates).to eq(1)
207
- expect(win_certificate).not_to be_updated_by_last_action
208
- end
129
+ it "can add a P7B certificate idempotently" do
130
+ resource.source = p7b_path
131
+ resource.run_action(:create)
132
+
133
+ # A P7B cert includes nested certs
134
+ expect(certificate_count).to eq(3)
135
+
136
+ resource.run_action(:create)
137
+
138
+ expect(resource).not_to be_updated_by_last_action
139
+ expect(certificate_count).to eq(3)
209
140
  end
210
141
 
211
- context "Adds P7B" do
212
- before do
213
- win_certificate.source = p7b_path
214
- win_certificate.run_action(:create)
215
- end
216
- it "Imports certificate into store" do
217
- expect(no_of_certificates).not_to eq(0)
218
- end
219
- it "Idempotent: Does not converge while adding again" do
220
- win_certificate.run_action(:create)
221
- expect(win_certificate).not_to be_updated_by_last_action
222
- end
223
- it "Nested certificates are also imported" do
224
- expect(no_of_certificates).to eq(3)
225
- end
142
+ it "can add a PFX certificate idempotently with a valid password" do
143
+ resource.source = pfx_path
144
+ resource.pfx_password = password
145
+ resource.run_action(:create)
146
+
147
+ expect(certificate_count).to eq(1)
148
+
149
+ resource.run_action(:create)
150
+ expect(certificate_count).to eq(1)
151
+ expect(resource).not_to be_updated_by_last_action
226
152
  end
227
153
 
228
- context "Adds PFX" do
229
- context "With valid password" do
230
- before do
231
- win_certificate.source = pfx_path
232
- win_certificate.pfx_password = password
233
- win_certificate.run_action(:create)
234
- end
235
- it "Imports certificate into store" do
236
- expect(no_of_certificates).to eq(1)
237
- end
238
- it "Idempotent: Does not converge while adding again" do
239
- win_certificate.run_action(:create)
240
- expect(no_of_certificates).to eq(1)
241
- expect(win_certificate).not_to be_updated_by_last_action
242
- end
243
- end
154
+ it "raises an error when adding a PFX certificate with an invalid password" do
155
+ resource.source = pfx_path
156
+ resource.pfx_password = "Invalid password"
244
157
 
245
- context "With Invalid password" do
246
- before do
247
- win_certificate.source = pfx_path
248
- win_certificate.pfx_password = "Invalid password"
249
- end
250
- it "Raises an error" do
251
- expect { win_certificate.run_action(:create) }.to raise_error(OpenSSL::PKCS12::PKCS12Error)
252
- end
253
- end
158
+ expect { resource.run_action(:create) }.to raise_error(OpenSSL::PKCS12::PKCS12Error)
254
159
  end
255
160
  end
256
161
 
257
162
  describe "action: verify" do
258
- context "When a certificate is not present" do
259
- before do
260
- win_certificate.source = tests_thumbprint
261
- win_certificate.run_action(:verify)
262
- end
263
- it "Initial check if certificate is not present" do
264
- expect(no_of_certificates).to eq(0)
265
- end
266
- it "Displays correct message" do
267
- expect(stdout.string.strip).to eq("Certificate not found")
268
- end
269
- it "Does not converge while verifying" do
270
- expect(win_certificate).not_to be_updated_by_last_action
271
- end
163
+ it "fails with no certificates in the store" do
164
+ expect(Chef::Log).to receive(:info).with("Certificate not found")
165
+
166
+ resource.source = tests_thumbprint
167
+ resource.run_action(:verify)
168
+
169
+ expect(resource).not_to be_updated_by_last_action
272
170
  end
273
171
 
274
- context "When a certificate is present" do
172
+ context "with a certificate in the store" do
275
173
  before do
276
- win_certificate.source = cer_path
277
- win_certificate.run_action(:create)
174
+ resource.source = cer_path
175
+ resource.run_action(:create)
278
176
  end
279
177
 
280
- context "For a valid thumbprint" do
281
- before do
282
- win_certificate.source = tests_thumbprint
283
- win_certificate.run_action(:verify)
284
- end
285
- it "Initial check if certificate is present" do
286
- expect(no_of_certificates).to eq(1)
287
- end
288
- it "Displays correct message" do
289
- expect(stdout.string.strip).to eq("Certificate is valid")
290
- end
291
- it "Does not converge while verifying" do
292
- expect(win_certificate).not_to be_updated_by_last_action
293
- end
178
+ it "succeeds with a valid thumbprint" do
179
+ expect(Chef::Log).to receive(:info).with("Certificate is valid")
180
+
181
+ resource.source = tests_thumbprint
182
+ resource.run_action(:verify)
183
+
184
+ expect(resource).not_to be_updated_by_last_action
294
185
  end
295
186
 
296
- context "For an invalid thumbprint" do
297
- before do
298
- win_certificate.source = others_thumbprint
299
- win_certificate.run_action(:verify)
300
- end
301
- it "Initial check if certificate is present" do
302
- expect(no_of_certificates).to eq(1)
303
- end
304
- it "Displays correct message" do
305
- expect(stdout.string.strip).to eq("Certificate not found")
306
- end
307
- it "Does not converge while verifying" do
308
- expect(win_certificate).not_to be_updated_by_last_action
309
- end
187
+ it "fails with an invalid thumbprint" do
188
+ expect(Chef::Log).to receive(:info).with("Certificate not found")
189
+
190
+ resource.source = others_thumbprint
191
+ resource.run_action(:verify)
192
+
193
+ expect(resource).not_to be_updated_by_last_action
310
194
  end
311
195
  end
312
196
 
313
- context "When multiple certificates are present" do
197
+ context "with a nested certificate in the store" do
314
198
  before do
315
- win_certificate.source = p7b_path
316
- win_certificate.run_action(:create)
199
+ resource.source = p7b_path
200
+ resource.run_action(:create)
317
201
  end
318
202
 
319
- context "With main certificate's thumbprint" do
320
- before do
321
- win_certificate.source = p7b_thumbprint
322
- win_certificate.run_action(:verify)
323
- end
324
- it "Initial check if certificate is present" do
325
- expect(no_of_certificates).to eq(3)
326
- end
327
- it "Displays correct message" do
328
- expect(stdout.string.strip).to eq("Certificate is valid")
329
- end
330
- it "Does not converge while verifying" do
331
- expect(win_certificate).not_to be_updated_by_last_action
332
- end
203
+ it "succeeds with the main certificate's thumbprint" do
204
+ expect(Chef::Log).to receive(:info).with("Certificate is valid")
205
+
206
+ resource.source = p7b_thumbprint
207
+ resource.run_action(:verify)
208
+
209
+ expect(resource).not_to be_updated_by_last_action
333
210
  end
334
211
 
335
- context "With nested certificate's thumbprint" do
336
- before do
337
- win_certificate.source = p7b_nested_thumbprint
338
- win_certificate.run_action(:verify)
339
- end
340
- it "Initial check if certificate is present" do
341
- expect(no_of_certificates).to eq(3)
342
- end
343
- it "Displays correct message" do
344
- expect(stdout.string.strip).to eq("Certificate is valid")
345
- end
346
- it "Does not converge while verifying" do
347
- expect(win_certificate).not_to be_updated_by_last_action
348
- end
212
+ it "succeeds with the nested certificate's thumbprint" do
213
+ expect(Chef::Log).to receive(:info).with("Certificate is valid")
214
+
215
+ resource.source = p7b_nested_thumbprint
216
+ resource.run_action(:verify)
217
+
218
+ expect(resource).not_to be_updated_by_last_action
349
219
  end
350
220
 
351
- context "For an invalid thumbprint" do
352
- before do
353
- win_certificate.source = others_thumbprint
354
- win_certificate.run_action(:verify)
355
- end
356
- it "Initial check if certificate is present" do
357
- expect(no_of_certificates).to eq(3)
358
- end
359
- it "Displays correct message" do
360
- expect(stdout.string.strip).to eq("Certificate not found")
361
- end
362
- it "Does not converge while verifying" do
363
- expect(win_certificate).not_to be_updated_by_last_action
364
- end
221
+ it "fails with an invalid thumbprint" do
222
+ expect(Chef::Log).to receive(:info).with("Certificate not found")
223
+
224
+ resource.source = others_thumbprint
225
+ resource.run_action(:verify)
226
+
227
+ expect(resource).not_to be_updated_by_last_action
365
228
  end
366
229
  end
367
230
  end
368
231
 
369
232
  describe "action: fetch" do
370
- context "When a certificate is not present" do
371
- before do
372
- win_certificate.source = tests_thumbprint
373
- win_certificate.run_action(:fetch)
374
- end
375
- it "Initial check if certificate is not present" do
376
- expect(no_of_certificates).to eq(0)
377
- end
378
- it "Does not show any content" do
379
- expect(stdout.string.strip).to be_empty
380
- end
381
- it "Does not converge while fetching" do
382
- expect(win_certificate).not_to be_updated_by_last_action
383
- end
233
+ it "does nothing with no certificates in the store" do
234
+ expect(Chef::Log).not_to receive(:info)
235
+
236
+ resource.source = tests_thumbprint
237
+ resource.run_action(:fetch)
238
+
239
+ expect(resource).not_to be_updated_by_last_action
384
240
  end
385
241
 
386
- context "When a certificate is present" do
242
+ context "with a certificate in the store" do
387
243
  before do
388
- win_certificate.source = cer_path
389
- win_certificate.run_action(:create)
244
+ resource.source = cer_path
245
+ resource.run_action(:create)
390
246
  end
391
247
 
392
- after do
393
- if File.exist?(out_path)
394
- File.delete(out_path)
395
- end
396
- end
248
+ it "succeeds with a valid thumbprint" do
249
+ resource.source = tests_thumbprint
397
250
 
398
- context "For a valid thumbprint" do
399
- before do
400
- win_certificate.source = tests_thumbprint
401
- win_certificate.cert_path = out_path
402
- win_certificate.run_action(:fetch)
403
- end
404
- it "Initial check if certificate is present" do
405
- expect(no_of_certificates).to eq(1)
406
- end
407
- it "Stores Certificate content at given path" do
408
- expect(File.exist?(out_path)).to be_truthy
409
- end
410
- it "Does not converge while fetching" do
411
- expect(win_certificate).not_to be_updated_by_last_action
251
+ Dir.mktmpdir do |dir|
252
+ path = File.join(dir, "test.pem")
253
+ expect(Chef::Log).to receive(:info).with("Certificate export in #{path}")
254
+
255
+ resource.cert_path = path
256
+ resource.run_action(:fetch)
257
+
258
+ expect(File.exist?(path)).to be_truthy
412
259
  end
260
+
261
+ expect(resource).not_to be_updated_by_last_action
413
262
  end
414
263
 
415
- context "For an invalid thumbprint" do
416
- before do
417
- win_certificate.source = others_thumbprint
418
- win_certificate.cert_path = out_path
419
- win_certificate.run_action(:fetch)
420
- end
421
- it "Initial check if certificate is present" do
422
- expect(no_of_certificates).to eq(1)
423
- end
424
- it "Does not show any content" do
425
- expect(stdout.string.strip).to be_empty
426
- end
427
- it "Does not store certificate content at given path" do
428
- expect(File.exist?(out_path)).to be_falsy
429
- end
430
- it "Does not converge while fetching" do
431
- expect(win_certificate).not_to be_updated_by_last_action
264
+ it "fails with an invalid thumbprint" do
265
+ expect(Chef::Log).not_to receive(:info)
266
+
267
+ resource.source = others_thumbprint
268
+
269
+ Dir.mktmpdir do |dir|
270
+ path = File.join(dir, "test.pem")
271
+
272
+ resource.cert_path = path
273
+ resource.run_action(:fetch)
274
+
275
+ expect(File.exist?(path)).to be_falsy
432
276
  end
277
+
278
+ expect(resource).not_to be_updated_by_last_action
433
279
  end
434
280
  end
435
281
  end
436
282
 
437
283
  describe "action: delete" do
438
- context "When a certificate is not present" do
439
- before do
440
- win_certificate.source = tests_thumbprint
441
- win_certificate.run_action(:delete)
442
- end
443
- it "Initial check if certificate is not present" do
444
- expect(no_of_certificates).to eq(0)
445
- end
446
- it "Does not delete any certificate" do
447
- expect(stdout.string.strip).to be_empty
448
- end
284
+ it "does nothing when attempting to delete a certificate that doesn't exist" do
285
+ expect(Chef::Log).to receive(:debug).with("Certificate not found")
286
+
287
+ resource.source = tests_thumbprint
288
+ resource.run_action(:delete)
449
289
  end
450
290
 
451
- context "When a certificate is present" do
452
- before do
453
- win_certificate.source = cer_path
454
- win_certificate.run_action(:create)
455
- end
456
- before { win_certificate.source = tests_thumbprint }
457
- it "Initial check if certificate is present" do
458
- expect(no_of_certificates).to eq(1)
459
- end
460
- it "Deletes the certificate" do
461
- win_certificate.run_action(:delete)
462
- expect(no_of_certificates).to eq(0)
463
- end
464
- it "Converges while deleting" do
465
- win_certificate.run_action(:delete)
466
- expect(win_certificate).to be_updated_by_last_action
467
- end
468
- it "Idempotent: Does not converge while deleting again" do
469
- win_certificate.run_action(:delete)
470
- win_certificate.run_action(:delete)
471
- expect(no_of_certificates).to eq(0)
472
- expect(win_certificate).not_to be_updated_by_last_action
473
- end
474
- it "Deletes the valid certificate" do
475
- # Add another certificate"
476
- win_certificate.source = other_cer_path
477
- win_certificate.run_action(:create)
478
- expect(no_of_certificates).to eq(2)
479
-
480
- # Delete previously added certificate
481
- win_certificate.source = tests_thumbprint
482
- win_certificate.run_action(:delete)
483
- expect(no_of_certificates).to eq(1)
484
-
485
- # Verify another certificate still exists
486
- win_certificate.source = others_thumbprint
487
- win_certificate.run_action(:verify)
488
- expect(stdout.string.strip).to eq("Certificate is valid")
489
- end
291
+ it "deletes an existing certificate while leaving other certificates alone" do
292
+ # Add two certs
293
+ resource.source = cer_path
294
+ resource.run_action(:create)
295
+
296
+ resource.source = other_cer_path
297
+ resource.run_action(:create)
298
+
299
+ # Delete the first cert added
300
+ resource.source = tests_thumbprint
301
+ resource.run_action(:delete)
302
+
303
+ expect(certificate_count).to eq(1)
304
+ expect(resource).to be_updated_by_last_action
305
+
306
+ resource.run_action(:delete)
307
+ expect(certificate_count).to eq(1)
308
+ expect(resource).not_to be_updated_by_last_action
309
+
310
+ # Verify second cert still exists
311
+ expect(Chef::Log).to receive(:info).with("Certificate is valid")
312
+ resource.source = others_thumbprint
313
+ resource.run_action(:verify)
490
314
  end
491
315
  end
492
316
  end