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

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -16,14 +16,14 @@
16
16
  # limitations under the License.
17
17
  #
18
18
 
19
- require_relative "../powershell/cmdlet"
20
- require_relative "../powershell/cmdlet_result"
19
+ require_relative "../../mixin/powershell_exec"
21
20
  require_relative "../../exceptions"
22
21
 
23
22
  class Chef
24
23
  class Util
25
24
  class DSC
26
25
  class ResourceStore
26
+ include Chef::Mixin::PowershellExec
27
27
 
28
28
  def self.instance
29
29
  @@instance ||= ResourceStore.new.tap do |store|
@@ -83,19 +83,13 @@ class Chef
83
83
 
84
84
  # Returns a list of dsc resources
85
85
  def query_resources
86
- cmdlet = Chef::Util::Powershell::Cmdlet.new(nil, "get-dscresource",
87
- :object)
88
- result = cmdlet.run
89
- result.return_value
86
+ powershell_exec("get-dscresource").result
90
87
  end
91
88
 
92
89
  # Returns a list of dsc resources matching the provided name
93
90
  def query_resource(resource_name)
94
- cmdlet = Chef::Util::Powershell::Cmdlet.new(nil, "get-dscresource #{resource_name}",
95
- :object)
96
- result = cmdlet.run
97
- ret_val = result.return_value
98
- if ret_val.nil?
91
+ ret_val = powershell_exec("get-dscresource #{resource_name}").result
92
+ if ret_val.empty?
99
93
  []
100
94
  elsif ret_val.is_a? Array
101
95
  ret_val
@@ -23,7 +23,7 @@ require_relative "version_string"
23
23
 
24
24
  class Chef
25
25
  CHEF_ROOT = File.expand_path("..", __dir__)
26
- VERSION = Chef::VersionString.new("16.5.77")
26
+ VERSION = Chef::VersionString.new("16.9.16")
27
27
  end
28
28
 
29
29
  #
@@ -316,6 +316,7 @@ typedef struct _REPARSE_DATA_BUFFER {
316
316
  string_pointer.read_wstring(self[:PrintNameLength] / 2)
317
317
  end
318
318
  end
319
+
319
320
  class REPARSE_DATA_BUFFER_MOUNT_POINT < FFI::Struct
320
321
  layout :SubstituteNameOffset, :ushort,
321
322
  :SubstituteNameLength, :ushort,
@@ -333,14 +334,17 @@ typedef struct _REPARSE_DATA_BUFFER {
333
334
  string_pointer.read_wstring(self[:PrintNameLength] / 2)
334
335
  end
335
336
  end
337
+
336
338
  class REPARSE_DATA_BUFFER_GENERIC < FFI::Struct
337
339
  layout :DataBuffer, :uchar
338
340
  end
341
+
339
342
  class REPARSE_DATA_BUFFER_UNION < FFI::Union
340
343
  layout :SymbolicLinkReparseBuffer, REPARSE_DATA_BUFFER_SYMBOLIC_LINK,
341
344
  :MountPointReparseBuffer, REPARSE_DATA_BUFFER_MOUNT_POINT,
342
345
  :GenericReparseBuffer, REPARSE_DATA_BUFFER_GENERIC
343
346
  end
347
+
344
348
  class REPARSE_DATA_BUFFER < FFI::Struct
345
349
  layout :ReparseTag, :uint32,
346
350
  :ReparseDataLength, :ushort,
@@ -321,7 +321,7 @@ class Chef
321
321
  while status == ERROR_MORE_DATA
322
322
  status = NetUserEnum(servername, level, filter, bufptr, prefmaxlen, entriesread, totalentries, resume_handle)
323
323
 
324
- if status == NERR_Success || status == ERROR_MORE_DATA
324
+ if [NERR_Success, ERROR_MORE_DATA].include?(status)
325
325
  Array.new(entriesread.read_long) do |i|
326
326
  user_info = USER_INFO_3.new(bufptr.read_pointer + i * USER_INFO_3.size)
327
327
  # Check if the account is the Administrator account
@@ -18,12 +18,20 @@
18
18
  require "spec_helper"
19
19
  require "chef/mixin/powershell_out"
20
20
 
21
- describe Chef::Mixin::PowershellOut, windows_only: true do
21
+ describe Chef::Mixin::PowershellOut, :windows_only do
22
22
  include Chef::Mixin::PowershellOut
23
23
 
24
24
  describe "#powershell_out" do
25
25
  it "runs a powershell command and collects stdout" do
26
- expect(powershell_out("get-process").run_command.stdout).to match /Handles/
26
+ expect(powershell_out("get-process").run_command.stdout).to match(/Handles/)
27
+ end
28
+
29
+ it "uses :powershell by default" do
30
+ expect(powershell_out("$PSVersionTable").run_command.stdout).to match(/CLRVersion/)
31
+ end
32
+
33
+ it ":pwsh interpreter uses core edition", :pwsh_installed do
34
+ expect(powershell_out("$PSVersionTable", :pwsh).run_command.stdout).to match(/Core/)
27
35
  end
28
36
 
29
37
  it "does not raise exceptions when the command is invalid" do
@@ -33,7 +41,7 @@ describe Chef::Mixin::PowershellOut, windows_only: true do
33
41
 
34
42
  describe "#powershell_out!" do
35
43
  it "runs a powershell command and collects stdout" do
36
- expect(powershell_out!("get-process").run_command.stdout).to match /Handles/
44
+ expect(powershell_out!("get-process").run_command.stdout).to match(/Handles/)
37
45
  end
38
46
 
39
47
  it "raises exceptions when the command is invalid" do
@@ -39,9 +39,7 @@ module AptServer
39
39
  def tcp_test_port(hostname, port)
40
40
  tcp_socket = TCPSocket.new(hostname, port)
41
41
  true
42
- rescue Errno::ETIMEDOUT
43
- false
44
- rescue Errno::ECONNREFUSED
42
+ rescue Errno::ETIMEDOUT, Errno::ECONNREFUSED
45
43
  false
46
44
  ensure
47
45
  tcp_socket && tcp_socket.close
@@ -326,7 +324,7 @@ describe Chef::Resource::AptPackage, metadata do
326
324
  pkg_check = shell_out!("dpkg -l chef-integration-test", returns: [0, 1])
327
325
 
328
326
  if pkg_check.exitstatus == 0
329
- expect(pkg_check.stdout).to match(/un[\s]+chef-integration-test/)
327
+ expect(pkg_check.stdout).to match(/un\s+chef-integration-test/)
330
328
  end
331
329
  end
332
330
 
@@ -359,7 +357,7 @@ describe Chef::Resource::AptPackage, metadata do
359
357
  it "upgrades the package for action :upgrade" do
360
358
  package_resource.run_action(:upgrade)
361
359
  dpkg_l = shell_out!("dpkg -l chef-integration-test", returns: [0])
362
- expect(dpkg_l.stdout).to match(/chef\-integration\-test[\s]+1\.1\-1/)
360
+ expect(dpkg_l.stdout).to match(/chef\-integration\-test\s+1\.1\-1/)
363
361
  expect(package_resource).to be_updated_by_last_action
364
362
  end
365
363
 
@@ -373,7 +371,7 @@ describe Chef::Resource::AptPackage, metadata do
373
371
  it "upgrades the package for action :install" do
374
372
  package_resource.run_action(:install)
375
373
  dpkg_l = shell_out!("dpkg -l chef-integration-test", returns: [0])
376
- expect(dpkg_l.stdout).to match(/chef\-integration\-test[\s]+1\.1\-1/)
374
+ expect(dpkg_l.stdout).to match(/chef\-integration\-test\s+1\.1\-1/)
377
375
  expect(package_resource).to be_updated_by_last_action
378
376
  end
379
377
  end
@@ -16,13 +16,13 @@
16
16
  # limitations under the License.
17
17
  #
18
18
  require "spec_helper"
19
- require "chef/mixin/powershell_out"
19
+ require "chef/mixin/shell_out"
20
20
 
21
21
  describe Chef::Resource::ChocolateyPackage, :windows_only, :choco_installed do
22
- include Chef::Mixin::PowershellOut
22
+ include Chef::Mixin::ShellOut
23
23
 
24
24
  let(:package_name) { "test-A" }
25
- let(:package_list) { proc { powershell_out!("choco list -lo -r #{Array(package_name).join(" ")}").stdout.chomp } }
25
+ let(:package_list) { proc { shell_out!("choco list -lo -r #{Array(package_name).join(" ")}").stdout.chomp } }
26
26
  let(:package_source) { File.join(CHEF_SPEC_ASSETS, "chocolatey_feed") }
27
27
 
28
28
  let(:run_context) do
@@ -26,7 +26,7 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
26
26
  # Platform specific validation routines.
27
27
  def cron_should_exists(cron_name, command)
28
28
  case ohai[:platform]
29
- when "aix", "opensolaris", "solaris2", "omnios"
29
+ when "aix", "solaris2", "omnios"
30
30
  expect(shell_out("crontab -l #{new_resource.user} | grep \"#{cron_name}\"").exitstatus).to eq(0)
31
31
  expect(shell_out("crontab -l #{new_resource.user} | grep \"#{cron_name}\"").stdout.lines.to_a.size).to eq(1)
32
32
  expect(shell_out("crontab -l #{new_resource.user} | grep \"#{command}\"").exitstatus).to eq(0)
@@ -41,7 +41,7 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
41
41
 
42
42
  def cron_should_not_exists(cron_name)
43
43
  case ohai[:platform]
44
- when "aix", "opensolaris", "solaris2", "omnios"
44
+ when "aix", "solaris2", "omnios"
45
45
  expect(shell_out("crontab -l #{new_resource.user} | grep \"#{cron_name}\"").exitstatus).to eq(1)
46
46
  expect(shell_out("crontab -l #{new_resource.user} | grep \"#{new_resource.command}\"").stdout.lines.to_a.size).to eq(0)
47
47
  else
@@ -113,7 +113,7 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
113
113
  end
114
114
  end
115
115
 
116
- exclude_solaris = %w{solaris opensolaris solaris2 omnios}.include?(ohai[:platform])
116
+ exclude_solaris = %w{solaris solaris2 omnios}.include?(ohai[:platform])
117
117
  describe "create action with various attributes", external: exclude_solaris do
118
118
  def create_and_validate_with_property(resource, attribute, value)
119
119
  if ohai[:platform] == "aix"
@@ -91,7 +91,6 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
91
91
  preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
92
92
  dnf_package.run_action(:install)
93
93
  expect(dnf_package.updated_by_last_action?).to be false
94
- expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
95
94
  end
96
95
 
97
96
  it "does not install twice" do
@@ -128,6 +127,105 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
128
127
  end
129
128
  end
130
129
 
130
+ context "expanded idempotency checks with version variants" do
131
+ %w{1.10 1* 1.10-1 1*-1 1.10-* 1*-* 0:1.10 0:1* 0:1.10-1 0:1*-1 *:1.10-* *:1*-*}.each do |vstring|
132
+ it "installs the rpm when #{vstring} is in the package_name" do
133
+ flush_cache
134
+ dnf_package.package_name("chef_rpm-#{vstring}")
135
+ dnf_package.run_action(:install)
136
+ expect(dnf_package.updated_by_last_action?).to be true
137
+ end
138
+
139
+ it "is idempotent when #{vstring} is in the package_name" do
140
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
141
+ dnf_package.package_name("chef_rpm-#{vstring}")
142
+ dnf_package.run_action(:install)
143
+ expect(dnf_package.updated_by_last_action?).to be false
144
+ end
145
+
146
+ it "installs the rpm when #{vstring} is in the version property" do
147
+ flush_cache
148
+ dnf_package.package_name("chef_rpm")
149
+ dnf_package.version(vstring)
150
+ dnf_package.run_action(:install)
151
+ expect(dnf_package.updated_by_last_action?).to be true
152
+ end
153
+
154
+ it "is idempotent when #{vstring} is in the version property" do
155
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
156
+ dnf_package.package_name("chef_rpm")
157
+ dnf_package.version(vstring)
158
+ dnf_package.run_action(:install)
159
+ expect(dnf_package.updated_by_last_action?).to be false
160
+ end
161
+
162
+ it "upgrades the rpm when #{vstring} is in the package_name" do
163
+ flush_cache
164
+ dnf_package.package_name("chef_rpm-#{vstring}")
165
+ dnf_package.run_action(:upgrade)
166
+ expect(dnf_package.updated_by_last_action?).to be true
167
+ end
168
+
169
+ it "is idempotent when #{vstring} is in the package_name" do
170
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
171
+ dnf_package.package_name("chef_rpm-#{vstring}")
172
+ dnf_package.run_action(:upgrade)
173
+ expect(dnf_package.updated_by_last_action?).to be false
174
+ end
175
+
176
+ it "upgrades the rpm when #{vstring} is in the version property" do
177
+ flush_cache
178
+ dnf_package.package_name("chef_rpm")
179
+ dnf_package.version(vstring)
180
+ dnf_package.run_action(:upgrade)
181
+ expect(dnf_package.updated_by_last_action?).to be true
182
+ end
183
+
184
+ it "is idempotent when #{vstring} is in the version property" do
185
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
186
+ dnf_package.package_name("chef_rpm")
187
+ dnf_package.version(vstring)
188
+ dnf_package.run_action(:upgrade)
189
+ expect(dnf_package.updated_by_last_action?).to be false
190
+ end
191
+ end
192
+
193
+ %w{1.2 1* 1.2-1 1*-1 1.2-* 1*-* 0:1.2 0:1* 0:1.2-1 0:1*-1 *:1.2-* *:1*-*}.each do |vstring|
194
+ it "is idempotent when #{vstring} is in the version property and there is a candidate version" do
195
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
196
+ dnf_package.package_name("chef_rpm")
197
+ dnf_package.version(vstring)
198
+ dnf_package.run_action(:install)
199
+ expect(dnf_package.updated_by_last_action?).to be false
200
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
201
+ end
202
+ end
203
+
204
+ %w{1.2 1.2-1 1.2-* 0:1.2 0:1.2-1 *:1.2-*}.each do |vstring|
205
+ it "is idempotent when #{vstring} is in the version property on upgrade and it doesn't match the candidate version" do
206
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
207
+ dnf_package.package_name("chef_rpm")
208
+ dnf_package.version(vstring)
209
+ dnf_package.run_action(:upgrade)
210
+ expect(dnf_package.updated_by_last_action?).to be false
211
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
212
+ end
213
+ end
214
+
215
+ %w{1* 1*-1 1*-* 0:1* 0:1*-1 *:1*-*}.each do |vstring|
216
+ it "upgrades when #{vstring} is in the version property on upgrade and it matches the candidate version" do
217
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
218
+ dnf_package.package_name("chef_rpm")
219
+ dnf_package.version(vstring)
220
+ dnf_package.run_action(:upgrade)
221
+ expect(dnf_package.updated_by_last_action?).to be true
222
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
223
+ dnf_package.run_action(:upgrade)
224
+ expect(dnf_package.updated_by_last_action?).to be false
225
+ end
226
+ end
227
+ end
228
+
131
229
  context "with versions or globs in the name" do
132
230
  it "works with a version" do
133
231
  flush_cache
@@ -135,6 +233,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
135
233
  dnf_package.run_action(:install)
136
234
  expect(dnf_package.updated_by_last_action?).to be true
137
235
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
236
+ dnf_package.run_action(:install)
237
+ expect(dnf_package.updated_by_last_action?).to be false
138
238
  end
139
239
 
140
240
  it "works with an older version" do
@@ -143,6 +243,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
143
243
  dnf_package.run_action(:install)
144
244
  expect(dnf_package.updated_by_last_action?).to be true
145
245
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
246
+ dnf_package.run_action(:install)
247
+ expect(dnf_package.updated_by_last_action?).to be false
146
248
  end
147
249
 
148
250
  it "works with an evra" do
@@ -151,6 +253,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
151
253
  dnf_package.run_action(:install)
152
254
  expect(dnf_package.updated_by_last_action?).to be true
153
255
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
256
+ dnf_package.run_action(:install)
257
+ expect(dnf_package.updated_by_last_action?).to be false
154
258
  end
155
259
 
156
260
  it "works with version and release" do
@@ -159,6 +263,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
159
263
  dnf_package.run_action(:install)
160
264
  expect(dnf_package.updated_by_last_action?).to be true
161
265
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
266
+ dnf_package.run_action(:install)
267
+ expect(dnf_package.updated_by_last_action?).to be false
162
268
  end
163
269
 
164
270
  it "works with a version glob" do
@@ -167,6 +273,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
167
273
  dnf_package.run_action(:install)
168
274
  expect(dnf_package.updated_by_last_action?).to be true
169
275
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
276
+ dnf_package.run_action(:install)
277
+ expect(dnf_package.updated_by_last_action?).to be false
170
278
  end
171
279
 
172
280
  it "works with a name glob + version glob" do
@@ -175,6 +283,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
175
283
  dnf_package.run_action(:install)
176
284
  expect(dnf_package.updated_by_last_action?).to be true
177
285
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
286
+ dnf_package.run_action(:install)
287
+ expect(dnf_package.updated_by_last_action?).to be false
178
288
  end
179
289
 
180
290
  it "upgrades when the installed version does not match the version string" do
@@ -183,6 +293,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
183
293
  dnf_package.run_action(:install)
184
294
  expect(dnf_package.updated_by_last_action?).to be true
185
295
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}")
296
+ dnf_package.run_action(:install)
297
+ expect(dnf_package.updated_by_last_action?).to be false
186
298
  end
187
299
 
188
300
  it "downgrades when the installed version is higher than the package_name version" do
@@ -191,6 +303,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
191
303
  dnf_package.run_action(:install)
192
304
  expect(dnf_package.updated_by_last_action?).to be true
193
305
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
306
+ dnf_package.run_action(:install)
307
+ expect(dnf_package.updated_by_last_action?).to be false
194
308
  end
195
309
  end
196
310
 
@@ -203,6 +317,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
203
317
  dnf_package.run_action(:install)
204
318
  expect(dnf_package.updated_by_last_action?).to be true
205
319
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
320
+ dnf_package.run_action(:install)
321
+ expect(dnf_package.updated_by_last_action?).to be false
206
322
  end
207
323
 
208
324
  it "matches with a glob" do
@@ -212,6 +328,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
212
328
  dnf_package.run_action(:install)
213
329
  expect(dnf_package.updated_by_last_action?).to be true
214
330
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
331
+ dnf_package.run_action(:install)
332
+ expect(dnf_package.updated_by_last_action?).to be false
215
333
  end
216
334
 
217
335
  it "matches the vr" do
@@ -221,6 +339,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
221
339
  dnf_package.run_action(:install)
222
340
  expect(dnf_package.updated_by_last_action?).to be true
223
341
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
342
+ dnf_package.run_action(:install)
343
+ expect(dnf_package.updated_by_last_action?).to be false
224
344
  end
225
345
 
226
346
  it "matches the evr" do
@@ -230,6 +350,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
230
350
  dnf_package.run_action(:install)
231
351
  expect(dnf_package.updated_by_last_action?).to be true
232
352
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
353
+ dnf_package.run_action(:install)
354
+ expect(dnf_package.updated_by_last_action?).to be false
233
355
  end
234
356
 
235
357
  it "matches with a vr glob", :rhel_gte_8 do
@@ -239,6 +361,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
239
361
  dnf_package.run_action(:install)
240
362
  expect(dnf_package.updated_by_last_action?).to be true
241
363
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
364
+ dnf_package.run_action(:install)
365
+ expect(dnf_package.updated_by_last_action?).to be false
242
366
  end
243
367
 
244
368
  it "matches with an evr glob", :rhel_gte_8 do
@@ -248,6 +372,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
248
372
  dnf_package.run_action(:install)
249
373
  expect(dnf_package.updated_by_last_action?).to be true
250
374
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
375
+ dnf_package.run_action(:install)
376
+ expect(dnf_package.updated_by_last_action?).to be false
251
377
  end
252
378
  end
253
379
 
@@ -260,6 +386,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
260
386
  dnf_package.run_action(:install)
261
387
  expect(dnf_package.updated_by_last_action?).to be true
262
388
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
389
+ dnf_package.run_action(:install)
390
+ expect(dnf_package.updated_by_last_action?).to be false
263
391
  end
264
392
  end
265
393
 
@@ -270,6 +398,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
270
398
  dnf_package.run_action(:install)
271
399
  expect(dnf_package.updated_by_last_action?).to be true
272
400
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
401
+ dnf_package.run_action(:install)
402
+ expect(dnf_package.updated_by_last_action?).to be false
273
403
  end
274
404
 
275
405
  it "installs with 32-bit arch in the name" do
@@ -278,6 +408,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
278
408
  dnf_package.run_action(:install)
279
409
  expect(dnf_package.updated_by_last_action?).to be true
280
410
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.i686$")
411
+ dnf_package.run_action(:install)
412
+ expect(dnf_package.updated_by_last_action?).to be false
281
413
  end
282
414
 
283
415
  it "installs with 64-bit arch in the property" do
@@ -287,6 +419,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
287
419
  dnf_package.run_action(:install)
288
420
  expect(dnf_package.updated_by_last_action?).to be true
289
421
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
422
+ dnf_package.run_action(:install)
423
+ expect(dnf_package.updated_by_last_action?).to be false
290
424
  end
291
425
 
292
426
  it "installs with 32-bit arch in the property" do
@@ -296,6 +430,30 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
296
430
  dnf_package.run_action(:install)
297
431
  expect(dnf_package.updated_by_last_action?).to be true
298
432
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.i686$")
433
+ dnf_package.run_action(:install)
434
+ expect(dnf_package.updated_by_last_action?).to be false
435
+ end
436
+
437
+ it "installs when the 32-bit arch is in the name and the version is in the property" do
438
+ flush_cache
439
+ dnf_package.package_name("chef_rpm.i686")
440
+ dnf_package.version("1.10-1")
441
+ dnf_package.run_action(:install)
442
+ expect(dnf_package.updated_by_last_action?).to be true
443
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.i686$")
444
+ dnf_package.run_action(:install)
445
+ expect(dnf_package.updated_by_last_action?).to be false
446
+ end
447
+
448
+ it "installs when the 64-bit arch is in the name and the version is in the property" do
449
+ flush_cache
450
+ dnf_package.package_name("chef_rpm.#{pkg_arch}")
451
+ dnf_package.version("1.10-1")
452
+ dnf_package.run_action(:install)
453
+ expect(dnf_package.updated_by_last_action?).to be true
454
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
455
+ dnf_package.run_action(:install)
456
+ expect(dnf_package.updated_by_last_action?).to be false
299
457
  end
300
458
  end
301
459
 
@@ -306,6 +464,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
306
464
  dnf_package.run_action(:install)
307
465
  expect(dnf_package.updated_by_last_action?).to be true
308
466
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
467
+ dnf_package.run_action(:install)
468
+ expect(dnf_package.updated_by_last_action?).to be false
309
469
  end
310
470
 
311
471
  it "when it is met, it does nothing" do
@@ -330,6 +490,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
330
490
  dnf_package.run_action(:install)
331
491
  expect(dnf_package.updated_by_last_action?).to be true
332
492
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
493
+ dnf_package.run_action(:install)
494
+ expect(dnf_package.updated_by_last_action?).to be false
333
495
  end
334
496
 
335
497
  it "when it is not met by an installed rpm, it upgrades" do
@@ -338,6 +500,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
338
500
  dnf_package.run_action(:install)
339
501
  expect(dnf_package.updated_by_last_action?).to be true
340
502
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
503
+ dnf_package.run_action(:install)
504
+ expect(dnf_package.updated_by_last_action?).to be false
341
505
  end
342
506
 
343
507
  it "with an equality constraint, when it is not met by an installed rpm, it upgrades" do
@@ -346,6 +510,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
346
510
  dnf_package.run_action(:install)
347
511
  expect(dnf_package.updated_by_last_action?).to be true
348
512
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
513
+ dnf_package.run_action(:install)
514
+ expect(dnf_package.updated_by_last_action?).to be false
349
515
  end
350
516
 
351
517
  it "with an equality constraint, when it is met by an installed rpm, it does nothing" do
@@ -382,6 +548,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
382
548
  dnf_package.run_action(:install)
383
549
  expect(dnf_package.updated_by_last_action?).to be true
384
550
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
551
+ dnf_package.run_action(:install)
552
+ expect(dnf_package.updated_by_last_action?).to be false
385
553
  end
386
554
 
387
555
  it "with a less than constraint, when the install version matches, it does nothing" do
@@ -398,6 +566,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
398
566
  dnf_package.run_action(:install)
399
567
  expect(dnf_package.updated_by_last_action?).to be true
400
568
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
569
+ dnf_package.run_action(:install)
570
+ expect(dnf_package.updated_by_last_action?).to be false
401
571
  end
402
572
  end
403
573
 
@@ -424,6 +594,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
424
594
  dnf_package.run_action(:install)
425
595
  expect(dnf_package.updated_by_last_action?).to be true
426
596
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
597
+ dnf_package.run_action(:install)
598
+ expect(dnf_package.updated_by_last_action?).to be false
427
599
  end
428
600
 
429
601
  it "installs the package when the name is a path to a file" do
@@ -432,6 +604,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
432
604
  dnf_package.run_action(:install)
433
605
  expect(dnf_package.updated_by_last_action?).to be true
434
606
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
607
+ dnf_package.run_action(:install)
608
+ expect(dnf_package.updated_by_last_action?).to be false
435
609
  end
436
610
 
437
611
  it "downgrade on a local file with allow_downgrade true works" do
@@ -441,6 +615,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
441
615
  dnf_package.run_action(:install)
442
616
  expect(dnf_package.updated_by_last_action?).to be true
443
617
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
618
+ dnf_package.run_action(:install)
619
+ expect(dnf_package.updated_by_last_action?).to be false
444
620
  end
445
621
 
446
622
  it "does not downgrade the package with :install" do
@@ -475,15 +651,6 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
475
651
  expect(dnf_package.updated_by_last_action?).to be false
476
652
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
477
653
  end
478
-
479
- it "is idempotent when the package is already installed and there is a version string with arch" do
480
- preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
481
- dnf_package.version "1.2-1.#{pkg_arch}"
482
- dnf_package.package_name("#{CHEF_SPEC_ASSETS}/yumrepo/chef_rpm-1.2-1.#{pkg_arch}.rpm")
483
- dnf_package.run_action(:install)
484
- expect(dnf_package.updated_by_last_action?).to be false
485
- expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
486
- end
487
654
  end
488
655
 
489
656
  context "with no available version" do
@@ -502,6 +669,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
502
669
  dnf_package.run_action(:install)
503
670
  expect(dnf_package.updated_by_last_action?).to be true
504
671
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
672
+ dnf_package.run_action(:install)
673
+ expect(dnf_package.updated_by_last_action?).to be false
505
674
  end
506
675
  end
507
676
 
@@ -513,6 +682,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
513
682
  expect(dnf_package.updated_by_last_action?).to be true
514
683
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
515
684
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
685
+ dnf_package.run_action(:install)
686
+ expect(dnf_package.updated_by_last_action?).to be false
516
687
  end
517
688
 
518
689
  it "does nothing if both are installed" do
@@ -530,6 +701,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
530
701
  expect(dnf_package.updated_by_last_action?).to be true
531
702
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
532
703
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
704
+ dnf_package.run_action(:install)
705
+ expect(dnf_package.updated_by_last_action?).to be false
533
706
  end
534
707
 
535
708
  it "installs the first rpm if the second is installed" do
@@ -539,6 +712,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
539
712
  expect(dnf_package.updated_by_last_action?).to be true
540
713
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
541
714
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
715
+ dnf_package.run_action(:install)
716
+ expect(dnf_package.updated_by_last_action?).to be false
542
717
  end
543
718
 
544
719
  # unlikely to work consistently correct, okay to deprecate the arch-array in favor of the arch in the name
@@ -550,6 +725,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
550
725
  expect(dnf_package.updated_by_last_action?).to be true
551
726
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
552
727
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
728
+ dnf_package.run_action(:install)
729
+ expect(dnf_package.updated_by_last_action?).to be false
553
730
  end
554
731
 
555
732
  # unlikely to work consistently correct, okay to deprecate the arch-array in favor of the arch in the name
@@ -561,6 +738,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
561
738
  expect(dnf_package.updated_by_last_action?).to be true
562
739
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
563
740
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
741
+ dnf_package.run_action(:install)
742
+ expect(dnf_package.updated_by_last_action?).to be false
564
743
  end
565
744
 
566
745
  # unlikely to work consistently correct, okay to deprecate the arch-array in favor of the arch in the name
@@ -572,6 +751,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
572
751
  expect(dnf_package.updated_by_last_action?).to be true
573
752
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.#{pkg_arch}$/)
574
753
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match(/^chef_rpm-1.10-1.i686$/)
754
+ dnf_package.run_action(:install)
755
+ expect(dnf_package.updated_by_last_action?).to be false
575
756
  end
576
757
 
577
758
  # unlikely to work consistently correct, okay to deprecate the arch-array in favor of the arch in the name
@@ -597,6 +778,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
597
778
  dnf_package.run_action(:install)
598
779
  expect(dnf_package.updated_by_last_action?).to be true
599
780
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
781
+ dnf_package.run_action(:install)
782
+ expect(dnf_package.updated_by_last_action?).to be false
600
783
  end
601
784
 
602
785
  it "should work to enable a disabled repo" do
@@ -608,6 +791,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
608
791
  dnf_package.run_action(:install)
609
792
  expect(dnf_package.updated_by_last_action?).to be true
610
793
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
794
+ dnf_package.run_action(:install)
795
+ expect(dnf_package.updated_by_last_action?).to be false
611
796
  end
612
797
 
613
798
  it "when an idempotent install action is run, does not leave repos disabled" do
@@ -628,6 +813,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
628
813
  dnf_package.run_action(:install)
629
814
  expect(dnf_package.updated_by_last_action?).to be true
630
815
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
816
+ dnf_package.run_action(:install)
817
+ expect(dnf_package.updated_by_last_action?).to be false
631
818
  end
632
819
  end
633
820
  end
@@ -640,6 +827,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
640
827
  dnf_package.run_action(:install)
641
828
  expect(dnf_package.updated_by_last_action?).to be true
642
829
  expect(shell_out("rpm -q chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}")
830
+ dnf_package.run_action(:install)
831
+ expect(dnf_package.updated_by_last_action?).to be false
643
832
  end
644
833
 
645
834
  it "throws a deprecation warning with allow_downgrade" do
@@ -647,10 +836,12 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
647
836
  expect(Chef).to receive(:deprecated).with(:dnf_package_allow_downgrade, /^the allow_downgrade property on the dnf_package provider is not used/)
648
837
  preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
649
838
  dnf_package.version("1.2")
650
- dnf_package.run_action(:install)
651
839
  dnf_package.allow_downgrade true
840
+ dnf_package.run_action(:install)
652
841
  expect(dnf_package.updated_by_last_action?).to be true
653
842
  expect(shell_out("rpm -q chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}")
843
+ dnf_package.run_action(:install)
844
+ expect(dnf_package.updated_by_last_action?).to be false
654
845
  end
655
846
  end
656
847
 
@@ -663,6 +854,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
663
854
  dnf_package.run_action(:upgrade)
664
855
  expect(dnf_package.updated_by_last_action?).to be true
665
856
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
857
+ dnf_package.run_action(:upgrade)
858
+ expect(dnf_package.updated_by_last_action?).to be false
666
859
  end
667
860
 
668
861
  it "installs the package when the name is a path to a file" do
@@ -671,6 +864,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
671
864
  dnf_package.run_action(:upgrade)
672
865
  expect(dnf_package.updated_by_last_action?).to be true
673
866
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
867
+ dnf_package.run_action(:upgrade)
868
+ expect(dnf_package.updated_by_last_action?).to be false
674
869
  end
675
870
 
676
871
  it "downgrades the package when allow_downgrade is true" do
@@ -679,6 +874,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
679
874
  dnf_package.run_action(:upgrade)
680
875
  expect(dnf_package.updated_by_last_action?).to be true
681
876
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
877
+ dnf_package.run_action(:upgrade)
878
+ expect(dnf_package.updated_by_last_action?).to be false
682
879
  end
683
880
 
684
881
  it "upgrades the package" do
@@ -687,6 +884,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
687
884
  dnf_package.run_action(:upgrade)
688
885
  expect(dnf_package.updated_by_last_action?).to be true
689
886
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
887
+ dnf_package.run_action(:upgrade)
888
+ expect(dnf_package.updated_by_last_action?).to be false
690
889
  end
691
890
 
692
891
  it "is idempotent when the package is already installed" do
@@ -715,32 +914,104 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
715
914
  dnf_package.run_action(:upgrade)
716
915
  expect(dnf_package.updated_by_last_action?).to be true
717
916
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
917
+ dnf_package.run_action(:upgrade)
918
+ expect(dnf_package.updated_by_last_action?).to be false
718
919
  end
719
920
  end
720
921
 
721
922
  context "version pinning" do
722
- it "with an equality pin in the name it upgrades a prior package" do
923
+ it "with a full version pin it installs a later package" do
723
924
  preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
724
- dnf_package.package_name("chef_rpm-1.10")
925
+ dnf_package.package_name("chef_rpm")
926
+ dnf_package.version("1.10-1")
725
927
  dnf_package.run_action(:upgrade)
726
928
  expect(dnf_package.updated_by_last_action?).to be true
727
929
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
930
+ dnf_package.run_action(:upgrade)
931
+ expect(dnf_package.updated_by_last_action?).to be false
728
932
  end
729
933
 
730
- it "with a prco equality pin in the name it upgrades a prior package" do
934
+ it "with a full version pin in the name it downgrades the package" do
935
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
936
+ dnf_package.package_name("chef_rpm")
937
+ dnf_package.version("1.2-1")
938
+ dnf_package.run_action(:upgrade)
939
+ expect(dnf_package.updated_by_last_action?).to be true
940
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
941
+ dnf_package.run_action(:upgrade)
942
+ expect(dnf_package.updated_by_last_action?).to be false
943
+ end
944
+
945
+ it "with a partial (no release) version pin it installs a later package" do
731
946
  preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
732
- dnf_package.package_name("chef_rpm = 1.10")
947
+ dnf_package.package_name("chef_rpm")
948
+ dnf_package.version("1.10")
949
+ dnf_package.run_action(:upgrade)
950
+ expect(dnf_package.updated_by_last_action?).to be true
951
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
952
+ dnf_package.run_action(:upgrade)
953
+ expect(dnf_package.updated_by_last_action?).to be false
954
+ end
955
+
956
+ it "with a partial (no release) version pin in the name it downgrades the package" do
957
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
958
+ dnf_package.package_name("chef_rpm")
959
+ dnf_package.version("1.2")
960
+ dnf_package.run_action(:upgrade)
961
+ expect(dnf_package.updated_by_last_action?).to be true
962
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
963
+ dnf_package.run_action(:upgrade)
964
+ expect(dnf_package.updated_by_last_action?).to be false
965
+ end
966
+
967
+ it "with a full version pin it installs a later package" do
968
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
969
+ dnf_package.package_name("chef_rpm-1.10-1")
970
+ dnf_package.run_action(:upgrade)
971
+ expect(dnf_package.updated_by_last_action?).to be true
972
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
973
+ dnf_package.run_action(:upgrade)
974
+ expect(dnf_package.updated_by_last_action?).to be false
975
+ end
976
+
977
+ it "with a full version pin in the name it downgrades the package" do
978
+ preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
979
+ dnf_package.package_name("chef_rpm-1.2-1")
980
+ dnf_package.run_action(:upgrade)
981
+ expect(dnf_package.updated_by_last_action?).to be true
982
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
983
+ dnf_package.run_action(:upgrade)
984
+ expect(dnf_package.updated_by_last_action?).to be false
985
+ end
986
+
987
+ it "with a partial (no release) version pin it installs a later package" do
988
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
989
+ dnf_package.package_name("chef_rpm-1.10")
733
990
  dnf_package.run_action(:upgrade)
734
991
  expect(dnf_package.updated_by_last_action?).to be true
735
992
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
993
+ dnf_package.run_action(:upgrade)
994
+ expect(dnf_package.updated_by_last_action?).to be false
736
995
  end
737
996
 
738
- it "with an equality pin in the name it downgrades a later package" do
997
+ it "with a partial (no release) version pin in the name it downgrades the package" do
739
998
  preinstall("chef_rpm-1.10-1.#{pkg_arch}.rpm")
740
999
  dnf_package.package_name("chef_rpm-1.2")
741
1000
  dnf_package.run_action(:upgrade)
742
1001
  expect(dnf_package.updated_by_last_action?).to be true
743
1002
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
1003
+ dnf_package.run_action(:upgrade)
1004
+ expect(dnf_package.updated_by_last_action?).to be false
1005
+ end
1006
+
1007
+ it "with a prco equality pin in the name it upgrades a prior package" do
1008
+ preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm")
1009
+ dnf_package.package_name("chef_rpm = 1.10")
1010
+ dnf_package.run_action(:upgrade)
1011
+ expect(dnf_package.updated_by_last_action?).to be true
1012
+ expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
1013
+ dnf_package.run_action(:upgrade)
1014
+ expect(dnf_package.updated_by_last_action?).to be false
744
1015
  end
745
1016
 
746
1017
  it "with a prco equality pin in the name it downgrades a later package" do
@@ -749,6 +1020,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
749
1020
  dnf_package.run_action(:upgrade)
750
1021
  expect(dnf_package.updated_by_last_action?).to be true
751
1022
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
1023
+ dnf_package.run_action(:upgrade)
1024
+ expect(dnf_package.updated_by_last_action?).to be false
752
1025
  end
753
1026
 
754
1027
  it "with a > pin in the name and no rpm installed it installs" do
@@ -757,6 +1030,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
757
1030
  dnf_package.run_action(:upgrade)
758
1031
  expect(dnf_package.updated_by_last_action?).to be true
759
1032
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
1033
+ dnf_package.run_action(:upgrade)
1034
+ expect(dnf_package.updated_by_last_action?).to be false
760
1035
  end
761
1036
 
762
1037
  it "with a < pin in the name and no rpm installed it installs" do
@@ -765,6 +1040,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
765
1040
  dnf_package.run_action(:upgrade)
766
1041
  expect(dnf_package.updated_by_last_action?).to be true
767
1042
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
1043
+ dnf_package.run_action(:upgrade)
1044
+ expect(dnf_package.updated_by_last_action?).to be false
768
1045
  end
769
1046
 
770
1047
  it "with a > pin in the name and matching rpm installed it does nothing" do
@@ -789,6 +1066,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
789
1066
  dnf_package.run_action(:upgrade)
790
1067
  expect(dnf_package.updated_by_last_action?).to be true
791
1068
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
1069
+ dnf_package.run_action(:upgrade)
1070
+ expect(dnf_package.updated_by_last_action?).to be false
792
1071
  end
793
1072
 
794
1073
  it "with a < pin in the name and non-matching rpm installed it downgrades" do
@@ -797,6 +1076,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
797
1076
  dnf_package.run_action(:upgrade)
798
1077
  expect(dnf_package.updated_by_last_action?).to be true
799
1078
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.2-1.#{pkg_arch}$")
1079
+ dnf_package.run_action(:upgrade)
1080
+ expect(dnf_package.updated_by_last_action?).to be false
800
1081
  end
801
1082
  end
802
1083
  end
@@ -833,6 +1114,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
833
1114
  dnf_package.run_action(:remove)
834
1115
  expect(dnf_package.updated_by_last_action?).to be true
835
1116
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1117
+ dnf_package.run_action(:remove)
1118
+ expect(dnf_package.updated_by_last_action?).to be false
836
1119
  end
837
1120
 
838
1121
  it "removes the package if the i686 package is installed", :intel_64bit do
@@ -841,6 +1124,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
841
1124
  dnf_package.run_action(:remove)
842
1125
  expect(dnf_package.updated_by_last_action?).to be true
843
1126
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1127
+ dnf_package.run_action(:remove)
1128
+ expect(dnf_package.updated_by_last_action?).to be false
844
1129
  end
845
1130
 
846
1131
  it "removes the package if the prior version i686 package is installed", :intel_64bit do
@@ -849,6 +1134,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
849
1134
  dnf_package.run_action(:remove)
850
1135
  expect(dnf_package.updated_by_last_action?).to be true
851
1136
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1137
+ dnf_package.run_action(:remove)
1138
+ expect(dnf_package.updated_by_last_action?).to be false
852
1139
  end
853
1140
  end
854
1141
 
@@ -866,6 +1153,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
866
1153
  dnf_package.run_action(:remove)
867
1154
  expect(dnf_package.updated_by_last_action?).to be true
868
1155
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1156
+ dnf_package.run_action(:remove)
1157
+ expect(dnf_package.updated_by_last_action?).to be false
869
1158
  end
870
1159
 
871
1160
  it "removes the package if the prior version package is installed" do
@@ -873,6 +1162,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
873
1162
  dnf_package.run_action(:remove)
874
1163
  expect(dnf_package.updated_by_last_action?).to be true
875
1164
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1165
+ dnf_package.run_action(:remove)
1166
+ expect(dnf_package.updated_by_last_action?).to be false
876
1167
  end
877
1168
 
878
1169
  it "does nothing if the i686 package is installed" do
@@ -897,6 +1188,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
897
1188
  dnf_package.run_action(:remove)
898
1189
  expect(dnf_package.updated_by_last_action?).to be true
899
1190
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^chef_rpm-1.10-1.#{pkg_arch}$")
1191
+ dnf_package.run_action(:remove)
1192
+ expect(dnf_package.updated_by_last_action?).to be false
900
1193
  end
901
1194
  end
902
1195
 
@@ -907,6 +1200,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
907
1200
  dnf_package.run_action(:remove)
908
1201
  expect(dnf_package.updated_by_last_action?).to be true
909
1202
  expect(shell_out("rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' chef_rpm").stdout.chomp).to match("^package chef_rpm is not installed$")
1203
+ dnf_package.run_action(:remove)
1204
+ expect(dnf_package.updated_by_last_action?).to be false
910
1205
  end
911
1206
  end
912
1207
  end
@@ -926,6 +1221,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
926
1221
  dnf_package.run_action(:lock)
927
1222
  expect(dnf_package.updated_by_last_action?).to be true
928
1223
  expect(shell_out("dnf versionlock list").stdout.chomp).to match("^chef_rpm-0:")
1224
+ dnf_package.run_action(:lock)
1225
+ expect(dnf_package.updated_by_last_action?).to be false
929
1226
  end
930
1227
 
931
1228
  it "does not lock if its already locked" do
@@ -944,6 +1241,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
944
1241
  dnf_package.run_action(:unlock)
945
1242
  expect(dnf_package.updated_by_last_action?).to be true
946
1243
  expect(shell_out("dnf versionlock list").stdout.chomp).not_to match("^chef_rpm-0:")
1244
+ dnf_package.run_action(:unlock)
1245
+ expect(dnf_package.updated_by_last_action?).to be false
947
1246
  end
948
1247
 
949
1248
  it "does not unlock an already locked rpm" do
@@ -960,6 +1259,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
960
1259
  dnf_package.run_action(:lock)
961
1260
  expect(dnf_package.updated_by_last_action?).to be true
962
1261
  expect(shell_out("dnf versionlock list").stdout.chomp).to match("^chef_rpm-0:")
1262
+ dnf_package.run_action(:lock)
1263
+ expect(dnf_package.updated_by_last_action?).to be false
963
1264
  end
964
1265
 
965
1266
  it "check that we can unlock based on provides" do
@@ -969,6 +1270,8 @@ describe Chef::Resource::DnfPackage, :requires_root, external: exclude_test do
969
1270
  dnf_package.run_action(:unlock)
970
1271
  expect(dnf_package.updated_by_last_action?).to be true
971
1272
  expect(shell_out("dnf versionlock list").stdout.chomp).not_to match("^chef_rpm-0:")
1273
+ dnf_package.run_action(:unlock)
1274
+ expect(dnf_package.updated_by_last_action?).to be false
972
1275
  end
973
1276
  end
974
1277
  end