hammer_cli_foreman 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman/commands.rb +39 -10
  3. data/lib/hammer_cli_foreman/host.rb +6 -0
  4. data/lib/hammer_cli_foreman/operating_system.rb +2 -2
  5. data/lib/hammer_cli_foreman/version.rb +1 -1
  6. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
  7. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
  8. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
  9. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
  10. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
  11. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
  12. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
  13. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
  14. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
  15. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
  16. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
  17. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
  18. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
  19. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
  20. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
  21. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
  22. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
  23. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
  24. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
  25. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
  26. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
  27. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
  28. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
  29. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
  30. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
  31. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
  32. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
  33. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
  34. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
  35. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
  36. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
  37. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
  38. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
  39. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
  40. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
  41. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
  42. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
  43. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
  44. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
  45. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
  46. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
  47. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
  48. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
  49. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
  50. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
  51. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
  52. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
  53. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
  54. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
  55. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
  56. data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
  57. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
  58. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
  59. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
  60. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
  61. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
  62. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
  63. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
  64. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
  65. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
  66. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
  67. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
  68. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
  69. data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
  70. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
  71. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
  72. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
  73. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
  74. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
  75. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
  76. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
  77. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
  78. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
  79. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
  80. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
  81. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
  82. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
  83. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
  84. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
  85. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
  86. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
  88. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
  89. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
  90. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
  91. data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
  92. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
  93. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
  94. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
  95. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
  96. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
  97. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
  98. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
  99. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
  100. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
  101. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
  102. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
  103. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
  104. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
  105. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
  106. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
  107. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
  108. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
  109. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
  110. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
  111. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
  112. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
  113. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
  114. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
  115. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
  116. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
  117. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
  118. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
  119. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
  120. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
  121. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
  122. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
  123. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
  124. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
  125. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
  126. data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
  127. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
  128. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
  129. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
  130. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
  131. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
  132. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
  133. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
  134. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
  135. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
  136. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
  137. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
  138. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
  139. data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
  140. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
  141. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
  142. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
  143. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
  144. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
  145. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
  146. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
  147. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
  148. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
  149. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
  150. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
  151. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
  152. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
  153. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
  154. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
  155. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
  156. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
  157. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
  158. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
  159. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
  160. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
  161. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
  162. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
  163. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
  164. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
  165. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
  166. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
  167. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
  168. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
  169. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
  170. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
  171. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
  172. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
  173. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
  174. data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
  175. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
  176. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
  177. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
  178. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
  179. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
  180. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
  181. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
  182. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
  183. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
  184. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
  185. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
  186. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
  187. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
  188. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
  189. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
  190. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
  191. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
  192. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
  193. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
  194. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
  195. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
  196. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
  197. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
  198. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
  199. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
  200. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
  201. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
  202. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
  203. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
  204. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
  205. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
  206. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
  207. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
  208. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
  209. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
  210. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
  211. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
  212. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
  213. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
  214. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
  215. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
  216. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
  217. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
  218. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
  219. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
  220. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
  221. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
  222. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
  223. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
  224. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
  225. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
  226. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
  227. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
  228. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
  229. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
  230. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
  231. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
  232. data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
  233. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
  234. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
  235. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
  236. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
  237. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
  238. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
  239. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
  240. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
  241. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
  242. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
  243. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
  244. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
  245. data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
  246. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  247. data/test/unit/commands_test.rb +17 -0
  248. data/test/unit/helpers/command.rb +3 -3
  249. data/test/unit/helpers/resource_disabled.rb +1 -1
  250. data/test/unit/host_test.rb +3 -3
  251. data/test/unit/operating_system_test.rb +0 -2
  252. data/test/unit/partition_table_test.rb +0 -1
  253. data/test/unit/test_helper.rb +7 -2
  254. metadata +560 -78
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::InfoCommand::output" tests="5" time="0.013623948" failures="0" errors="0" skipped="0" assertions="9">
3
+ <testcase name="test_0001_should print 1 records" time="0.003411952" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should print column Id" time="0.002429016" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0005_should print column Url" time="0.0023448" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0002_should print column Name" time="0.002670405" assertions="2">
10
+ </testcase>
11
+ <testcase name="test_0004_should print column Provider" time="0.002409489" assertions="2">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::InfoCommand::parameters" tests="3" time="0.006460041" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept id" time="0.002424034" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept name" time="0.001971881" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with no arguments" time="0.001602873" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::InfoCommand" tests="0" time="0.000409838" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::ListCommand::output" tests="4" time="0.013741075" failures="0" errors="0" skipped="0" assertions="7">
3
+ <testcase name="test_0001_should print records" time="0.003852581" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Name" time="0.003167301" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0003_should print column Id" time="0.003169285" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0004_should print column Provider" time="0.003154767" assertions="2">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::ListCommand::parameters" tests="5" time="0.036360629" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0005_should accept order" time="0.002895749" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0004_should accept page" time="0.003067957" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept search" time="0.002764471" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0001_should accept no arguments" time="0.002646971" assertions="1">
10
+ </testcase>
11
+ <testcase name="test_0003_should accept per page" time="0.024502836" assertions="1">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::ListCommand" tests="0" time="0.0004075" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::UpdateCommand::parameters" tests="4" time="0.008723484" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0004_should fail with name or id missing" time="0.00210695" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept id" time="0.002355771" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with no params" time="0.001904344" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0001_should accept name" time="0.001993935" assertions="1">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource::UpdateCommand" tests="0" time="0.000506528" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::ComputeResource" tests="0" time="0.000418172" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::CreateCommand::parameters" tests="2" time="0.00404302" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0002_should fail with name missing" time="0.001579453" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0001_should accept name, fullname" time="0.00214818" assertions="1">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::CreateCommand" tests="0" time="0.000259535" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::DeleteCommand::parameters" tests="3" time="0.03768351" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0003_should fail with name or id missing" time="0.001692978" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0001_should accept name" time="0.034053177" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept id" time="0.001570676" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::DeleteCommand" tests="0" time="0.000431863" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::DeleteParameterCommand::parameters" tests="4" time="0.007079383" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should accept name and domain name" time="0.00243809" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with name missing" time="0.001373713" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept name and domain id" time="0.001440251" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should fail with domain name or id missing" time="0.001420746" assertions="1">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::DeleteParameterCommand" tests="0" time="0.000470202" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::InfoCommand::output" tests="7" time="0.021205887" failures="0" errors="0" skipped="0" assertions="13">
3
+ <testcase name="test_0007_should print column Full Name" time="0.003756258" assertions="2">
4
+ </testcase>
5
+ <testcase name="test_0005_should print column Updated at" time="0.002661307" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0006_should print column DNS Id" time="0.002755753" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0002_should print column Id" time="0.003101217" assertions="2">
10
+ </testcase>
11
+ <testcase name="test_0003_should print column Name" time="0.003122952" assertions="2">
12
+ </testcase>
13
+ <testcase name="test_0001_should print 1 records" time="0.002778139" assertions="1">
14
+ </testcase>
15
+ <testcase name="test_0004_should print column Created at" time="0.002651995" assertions="2">
16
+ </testcase>
17
+ <system-out>
18
+ </system-out>
19
+ <system-err>
20
+ </system-err>
21
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::InfoCommand::parameters" tests="3" time="0.007806046" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0002_should accept name" time="0.002627554" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0001_should accept id" time="0.002606093" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with no arguments" time="0.002120568" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::InfoCommand" tests="0" time="0.000347125" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::ListCommand::output" tests="3" time="0.010859738" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0001_should print records" time="0.004177838" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Id" time="0.003075532" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0003_should print column Name" time="0.003291954" assertions="2">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::ListCommand::parameters" tests="5" time="0.014592936" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0001_should accept no arguments" time="0.002852402" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept search" time="0.002633387" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should accept per page" time="0.002863787" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should accept page" time="0.002958846" assertions="1">
10
+ </testcase>
11
+ <testcase name="test_0005_should accept order" time="0.002658591" assertions="1">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::ListCommand" tests="0" time="0.000424284" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::SetParameterCommand::parameters" tests="5" time="0.030547957" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0005_should fail with domain name or id missing" time="0.023268926" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with name missing" time="0.001773748" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0001_should accept name, value and domain name" time="0.002166679" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should fail with value missing" time="0.001371319" assertions="1">
10
+ </testcase>
11
+ <testcase name="test_0002_should accept name, value and domain id" time="0.00162432" assertions="1">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::SetParameterCommand" tests="0" time="0.00045036" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::UpdateCommand::parameters" tests="4" time="0.00801234" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should accept name" time="0.002750553" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept id" time="0.001739767" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with no params" time="0.001490449" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should fail with name or id missing" time="0.00152413" assertions="1">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain::UpdateCommand" tests="0" time="0.000469476" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Domain" tests="0" time="0.000386164" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::CreateCommand::parameters" tests="2" time="0.004411362" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0001_should accept name" time="0.002604664" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should fail with name missing" time="0.001360624" assertions="1">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::CreateCommand" tests="0" time="0.001253044" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::DeleteCommand::parameters" tests="3" time="0.005892007" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept name" time="0.002471071" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept id" time="0.001615478" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with name or id missing" time="0.001458307" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::DeleteCommand" tests="0" time="0.000352902" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::InfoCommand::output" tests="5" time="0.0123959" failures="0" errors="0" skipped="0" assertions="9">
3
+ <testcase name="test_0003_should print column Id" time="0.002996116" assertions="2">
4
+ </testcase>
5
+ <testcase name="test_0001_should print 1 records" time="0.002447325" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0004_should print column Created at" time="0.002274455" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0002_should print column Name" time="0.00221664" assertions="2">
10
+ </testcase>
11
+ <testcase name="test_0005_should print column Updated at" time="0.002097452" assertions="2">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::InfoCommand::parameters" tests="3" time="0.006377583" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0003_should fail with no arguments" time="0.001748498" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept name" time="0.002255961" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0001_should accept id" time="0.00184351" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::InfoCommand" tests="0" time="0.000444542" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Environment::ListCommand::output" tests="3" time="0.009817015" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0001_should print records" time="0.003578673" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Name" time="0.002884789" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0003_should print column Id" time="0.003054037" assertions="2">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>