hammer_cli_foreman 0.6.2 → 0.7.0

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 (324) hide show
  1. checksums.yaml +4 -4
  2. data/config/foreman.yml +4 -0
  3. data/doc/host_create.md +4 -4
  4. data/doc/release_notes.md +24 -6
  5. data/lib/hammer_cli_foreman/associating_commands.rb +54 -0
  6. data/lib/hammer_cli_foreman/commands.rb +28 -7
  7. data/lib/hammer_cli_foreman/exception_handler.rb +18 -0
  8. data/lib/hammer_cli_foreman/exceptions.rb +1 -1
  9. data/lib/hammer_cli_foreman/host.rb +11 -6
  10. data/lib/hammer_cli_foreman/id_resolver.rb +10 -2
  11. data/lib/hammer_cli_foreman/partition_table.rb +1 -0
  12. data/lib/hammer_cli_foreman/smart_class_parameter.rb +5 -1
  13. data/lib/hammer_cli_foreman/smart_variable.rb +1 -1
  14. data/lib/hammer_cli_foreman/template.rb +29 -5
  15. data/lib/hammer_cli_foreman/testing/api_expectations.rb +6 -6
  16. data/lib/hammer_cli_foreman/user.rb +2 -1
  17. data/lib/hammer_cli_foreman/version.rb +1 -1
  18. data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  19. data/locale/ca/hammer-cli-foreman.edit.po +2622 -0
  20. data/locale/ca/hammer-cli-foreman.po +2544 -0
  21. data/locale/ca/hammer-cli-foreman.po.time_stamp +0 -0
  22. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  23. data/locale/de/hammer-cli-foreman.edit.po +2613 -0
  24. data/locale/de/hammer-cli-foreman.po +132 -122
  25. data/locale/de/hammer-cli-foreman.po.time_stamp +0 -0
  26. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  27. data/locale/en/hammer-cli-foreman.edit.po +2575 -0
  28. data/locale/en/hammer-cli-foreman.po +157 -8
  29. data/locale/en/hammer-cli-foreman.po.time_stamp +0 -0
  30. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  31. data/locale/en_GB/hammer-cli-foreman.edit.po +2582 -0
  32. data/locale/en_GB/hammer-cli-foreman.po +151 -141
  33. data/locale/en_GB/hammer-cli-foreman.po.time_stamp +0 -0
  34. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  35. data/locale/es/hammer-cli-foreman.edit.po +2625 -0
  36. data/locale/es/hammer-cli-foreman.po +110 -100
  37. data/locale/es/hammer-cli-foreman.po.time_stamp +0 -0
  38. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  39. data/locale/fr/hammer-cli-foreman.edit.po +2626 -0
  40. data/locale/fr/hammer-cli-foreman.po +110 -100
  41. data/locale/fr/hammer-cli-foreman.po.time_stamp +0 -0
  42. data/locale/hammer-cli-foreman.pot +390 -190
  43. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  44. data/locale/it/hammer-cli-foreman.edit.po +2601 -0
  45. data/locale/it/hammer-cli-foreman.po +139 -129
  46. data/locale/it/hammer-cli-foreman.po.time_stamp +0 -0
  47. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  48. data/locale/ja/hammer-cli-foreman.edit.po +2601 -0
  49. data/locale/ja/hammer-cli-foreman.po +140 -130
  50. data/locale/ja/hammer-cli-foreman.po.time_stamp +0 -0
  51. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  52. data/locale/ko/hammer-cli-foreman.edit.po +2599 -0
  53. data/locale/ko/hammer-cli-foreman.po +138 -128
  54. data/locale/ko/hammer-cli-foreman.po.time_stamp +0 -0
  55. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  56. data/locale/pt_BR/hammer-cli-foreman.edit.po +2628 -0
  57. data/locale/pt_BR/hammer-cli-foreman.po +112 -102
  58. data/locale/pt_BR/hammer-cli-foreman.po.time_stamp +0 -0
  59. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  60. data/locale/ru/hammer-cli-foreman.edit.po +2602 -0
  61. data/locale/ru/hammer-cli-foreman.po +265 -254
  62. data/locale/ru/hammer-cli-foreman.po.time_stamp +0 -0
  63. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  64. data/locale/zh_CN/hammer-cli-foreman.edit.po +2599 -0
  65. data/locale/zh_CN/hammer-cli-foreman.po +136 -126
  66. data/locale/zh_CN/hammer-cli-foreman.po.time_stamp +0 -0
  67. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  68. data/locale/zh_TW/hammer-cli-foreman.edit.po +2599 -0
  69. data/locale/zh_TW/hammer-cli-foreman.po +137 -127
  70. data/locale/zh_TW/hammer-cli-foreman.po.time_stamp +0 -0
  71. data/test/data/README.md +6 -1
  72. data/test/functional/commands/list_test.rb +141 -0
  73. data/test/functional/organization_test.rb +71 -0
  74. data/test/functional/smart_class_parameter_test.rb +61 -0
  75. data/test/functional/template_test.rb +80 -0
  76. data/test/functional/test_helper.rb +3 -0
  77. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
  78. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
  79. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
  80. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
  81. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
  82. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
  83. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
  84. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
  85. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
  86. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
  88. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
  89. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
  90. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
  91. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
  92. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
  93. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
  94. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
  95. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
  96. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
  97. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
  98. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
  99. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
  100. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
  101. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
  102. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
  103. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
  104. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
  105. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
  106. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
  107. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
  108. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
  109. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
  110. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
  111. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
  112. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
  113. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
  114. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
  115. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
  116. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
  117. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
  118. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
  119. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
  120. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
  121. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
  122. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
  123. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
  124. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
  125. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
  126. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
  127. data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
  128. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
  129. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
  130. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
  131. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
  132. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
  133. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
  134. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
  135. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
  136. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
  137. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
  138. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
  139. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
  140. data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
  141. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
  142. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
  143. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
  144. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
  145. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
  146. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
  147. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
  148. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
  149. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
  150. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
  151. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
  152. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
  153. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
  154. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
  155. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
  156. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
  157. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
  158. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
  159. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
  160. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
  161. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
  162. data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
  163. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
  164. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
  165. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
  166. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
  167. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
  168. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
  169. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
  170. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
  171. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
  172. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
  173. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
  174. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
  175. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
  176. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
  177. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
  178. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
  179. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
  180. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
  181. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
  182. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
  183. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
  184. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
  185. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
  186. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
  187. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
  188. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
  189. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
  190. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
  191. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
  192. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
  193. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
  194. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
  195. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
  196. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
  197. data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
  198. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
  199. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
  200. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
  201. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
  202. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
  203. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
  204. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
  205. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
  206. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
  207. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
  208. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
  209. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
  210. data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
  211. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
  212. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
  213. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
  214. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
  215. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
  216. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
  217. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
  218. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
  219. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
  220. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
  221. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
  222. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
  223. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
  224. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
  225. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
  226. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
  227. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
  228. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
  229. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
  230. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
  231. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
  232. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
  233. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
  234. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
  235. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
  236. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
  237. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
  238. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
  239. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
  240. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
  241. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
  242. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
  243. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
  244. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
  245. data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
  246. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
  247. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
  248. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
  249. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
  250. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
  251. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
  252. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
  253. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
  254. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
  255. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
  256. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
  257. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
  258. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
  259. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
  260. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
  261. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
  262. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
  263. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
  264. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
  265. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
  266. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
  267. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
  268. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
  269. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
  270. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
  271. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
  272. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
  273. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
  274. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
  275. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
  276. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
  277. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
  278. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
  279. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
  280. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
  281. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
  282. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
  283. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
  284. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
  285. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
  286. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
  287. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
  288. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
  289. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
  290. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
  291. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
  292. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
  293. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
  294. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
  295. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
  296. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
  297. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
  298. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
  299. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
  300. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
  301. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
  302. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
  303. data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
  304. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
  305. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
  306. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
  307. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
  308. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
  309. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
  310. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
  311. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
  312. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
  313. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
  314. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
  315. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
  316. data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
  317. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  318. data/test/unit/commands_test.rb +9 -9
  319. data/test/unit/data/test_api.json +43 -0
  320. data/test/unit/exception_handler_test.rb +20 -1
  321. data/test/unit/host_test.rb +12 -0
  322. data/test/unit/id_resolver_test.rb +18 -2
  323. data/test/unit/user_test.rb +1 -1
  324. metadata +561 -46
File without changes
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer-cli-foreman 0.6.0\n"
9
+ "Project-Id-Version: hammer-cli-foreman 0.7.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2016-02-25 15:04+0100\n"
12
- "PO-Revision-Date: 2016-02-25 15:04+0100\n"
11
+ "POT-Creation-Date: 2016-06-14 23:53+0200\n"
12
+ "PO-Revision-Date: 2016-06-14 23:53+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -133,8 +133,8 @@ msgstr ""
133
133
  #: ../lib/hammer_cli_foreman/environment.rb:14
134
134
  #: ../lib/hammer_cli_foreman/external_usergroup.rb:10
135
135
  #: ../lib/hammer_cli_foreman/filter.rb:9 ../lib/hammer_cli_foreman/filter.rb:72
136
- #: ../lib/hammer_cli_foreman/host.rb:170 ../lib/hammer_cli_foreman/host.rb:207
137
- #: ../lib/hammer_cli_foreman/host.rb:238
136
+ #: ../lib/hammer_cli_foreman/host.rb:159 ../lib/hammer_cli_foreman/host.rb:196
137
+ #: ../lib/hammer_cli_foreman/host.rb:227
138
138
  #: ../lib/hammer_cli_foreman/hostgroup.rb:57
139
139
  #: ../lib/hammer_cli_foreman/image.rb:29
140
140
  #: ../lib/hammer_cli_foreman/interface.rb:23
@@ -169,8 +169,8 @@ msgstr ""
169
169
  #: ../lib/hammer_cli_foreman/external_usergroup.rb:11
170
170
  #: ../lib/hammer_cli_foreman/external_usergroup.rb:42
171
171
  #: ../lib/hammer_cli_foreman/filter.rb:73
172
- #: ../lib/hammer_cli_foreman/filter.rb:90 ../lib/hammer_cli_foreman/host.rb:171
173
- #: ../lib/hammer_cli_foreman/host.rb:209
172
+ #: ../lib/hammer_cli_foreman/filter.rb:90 ../lib/hammer_cli_foreman/host.rb:160
173
+ #: ../lib/hammer_cli_foreman/host.rb:198
174
174
  #: ../lib/hammer_cli_foreman/hostgroup.rb:58
175
175
  #: ../lib/hammer_cli_foreman/image.rb:30 ../lib/hammer_cli_foreman/image.rb:70
176
176
  #: ../lib/hammer_cli_foreman/location.rb:14
@@ -185,7 +185,7 @@ msgstr ""
185
185
  #: ../lib/hammer_cli_foreman/smart_variable.rb:10
186
186
  #: ../lib/hammer_cli_foreman/subnet.rb:11
187
187
  #: ../lib/hammer_cli_foreman/template.rb:26
188
- #: ../lib/hammer_cli_foreman/template.rb:74
188
+ #: ../lib/hammer_cli_foreman/template.rb:75
189
189
  #: ../lib/hammer_cli_foreman/user.rb:12
190
190
  #: ../lib/hammer_cli_foreman/usergroup.rb:12
191
191
  msgid "Name"
@@ -219,215 +219,359 @@ msgstr ""
219
219
  msgid "Associate a hostgroup"
220
220
  msgstr ""
221
221
 
222
- #: ../lib/hammer_cli_foreman/associating_commands.rb:46
222
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:43
223
+ msgid "The hostgroup has been associated"
224
+ msgstr ""
225
+
226
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:44
227
+ msgid "Could not associate the hostgroup"
228
+ msgstr ""
229
+
230
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:49
223
231
  msgid "Disassociate a hostgroup"
224
232
  msgstr ""
225
233
 
226
- #: ../lib/hammer_cli_foreman/associating_commands.rb:55
234
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:51
235
+ msgid "The hostgroup has been disassociated"
236
+ msgstr ""
237
+
238
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:52
239
+ msgid "Could not disassociate the hostgroup"
240
+ msgstr ""
241
+
242
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:61
227
243
  msgid "Associate an environment"
228
244
  msgstr ""
229
245
 
230
- #: ../lib/hammer_cli_foreman/associating_commands.rb:60
231
- msgid "Disassociate an environment"
246
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:63
247
+ msgid "The environment has been associated"
248
+ msgstr ""
249
+
250
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:64
251
+ msgid "Could not associate the environment"
232
252
  msgstr ""
233
253
 
234
254
  #: ../lib/hammer_cli_foreman/associating_commands.rb:69
255
+ msgid "Disassociate an environment"
256
+ msgstr ""
257
+
258
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:71
259
+ msgid "The environment has been disassociated"
260
+ msgstr ""
261
+
262
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:72
263
+ msgid "Could not disassociate the environment"
264
+ msgstr ""
265
+
266
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:81
235
267
  msgid "Associate a domain"
236
268
  msgstr ""
237
269
 
238
- #: ../lib/hammer_cli_foreman/associating_commands.rb:74
270
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:83
271
+ msgid "The domain has been associated"
272
+ msgstr ""
273
+
274
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:84
275
+ msgid "Could not associate the domain"
276
+ msgstr ""
277
+
278
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:89
239
279
  msgid "Disassociate a domain"
240
280
  msgstr ""
241
281
 
242
- #: ../lib/hammer_cli_foreman/associating_commands.rb:83
282
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:91
283
+ msgid "The domain has been disassociated"
284
+ msgstr ""
285
+
286
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:92
287
+ msgid "Could not disassociate the domain"
288
+ msgstr ""
289
+
290
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:101
243
291
  msgid "Associate a medium"
244
292
  msgstr ""
245
293
 
246
- #: ../lib/hammer_cli_foreman/associating_commands.rb:88
294
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:103
295
+ msgid "The medium has been associated"
296
+ msgstr ""
297
+
298
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:104
299
+ msgid "Could not associate the medium"
300
+ msgstr ""
301
+
302
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:109
247
303
  msgid "Disassociate a medium"
248
304
  msgstr ""
249
305
 
250
- #: ../lib/hammer_cli_foreman/associating_commands.rb:97
306
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:111
307
+ msgid "The medium has been disassociated"
308
+ msgstr ""
309
+
310
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:112
311
+ msgid "Could not disassociate the medium"
312
+ msgstr ""
313
+
314
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:121
251
315
  msgid "Associate a subnet"
252
316
  msgstr ""
253
317
 
254
- #: ../lib/hammer_cli_foreman/associating_commands.rb:102
318
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:123
319
+ msgid "The subnet has been associated"
320
+ msgstr ""
321
+
322
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:124
323
+ msgid "Could not associate the subnet"
324
+ msgstr ""
325
+
326
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:129
255
327
  msgid "Disassociate a subnet"
256
328
  msgstr ""
257
329
 
258
- #: ../lib/hammer_cli_foreman/associating_commands.rb:111
330
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:131
331
+ msgid "The subnet has been disassociated"
332
+ msgstr ""
333
+
334
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:132
335
+ msgid "Could not disassociate the subnet"
336
+ msgstr ""
337
+
338
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:141
259
339
  msgid "Associate a compute resource"
260
340
  msgstr ""
261
341
 
262
- #: ../lib/hammer_cli_foreman/associating_commands.rb:116
342
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:143
343
+ msgid "The compute resource has been associated"
344
+ msgstr ""
345
+
346
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:144
347
+ msgid "Could not associate the compute resource"
348
+ msgstr ""
349
+
350
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:149
263
351
  msgid "Disassociate a compute resource"
264
352
  msgstr ""
265
353
 
266
- #: ../lib/hammer_cli_foreman/associating_commands.rb:125
354
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:151
355
+ msgid "The compute resource has been disassociated"
356
+ msgstr ""
357
+
358
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:152
359
+ msgid "Could not disassociate the compute resource"
360
+ msgstr ""
361
+
362
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:161
267
363
  msgid "Associate a smart proxy"
268
364
  msgstr ""
269
365
 
270
- #: ../lib/hammer_cli_foreman/associating_commands.rb:134
366
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:163
367
+ msgid "The smart proxy has been associated"
368
+ msgstr ""
369
+
370
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:164
371
+ msgid "Could not associate the smart proxy"
372
+ msgstr ""
373
+
374
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:173
271
375
  msgid "Disassociate a smart proxy"
272
376
  msgstr ""
273
377
 
274
- #: ../lib/hammer_cli_foreman/associating_commands.rb:147
378
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:175
379
+ msgid "The smart proxy has been disassociated"
380
+ msgstr ""
381
+
382
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:176
383
+ msgid "Could not disassociate the smart proxy"
384
+ msgstr ""
385
+
386
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:189
275
387
  msgid "Associate an user"
276
388
  msgstr ""
277
389
 
278
- #: ../lib/hammer_cli_foreman/associating_commands.rb:149
390
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:191
279
391
  msgid "The user has been associated"
280
392
  msgstr ""
281
393
 
282
- #: ../lib/hammer_cli_foreman/associating_commands.rb:150
394
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:192
283
395
  msgid "Could not associate the user"
284
396
  msgstr ""
285
397
 
286
- #: ../lib/hammer_cli_foreman/associating_commands.rb:155
398
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:197
287
399
  msgid "Disassociate an user"
288
400
  msgstr ""
289
401
 
290
- #: ../lib/hammer_cli_foreman/associating_commands.rb:157
402
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:199
291
403
  msgid "The user has been disassociated"
292
404
  msgstr ""
293
405
 
294
- #: ../lib/hammer_cli_foreman/associating_commands.rb:158
406
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:200
295
407
  msgid "Could not disassociate the user"
296
408
  msgstr ""
297
409
 
298
- #: ../lib/hammer_cli_foreman/associating_commands.rb:167
410
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:209
299
411
  msgid "Associate an user group"
300
412
  msgstr ""
301
413
 
302
- #: ../lib/hammer_cli_foreman/associating_commands.rb:171
414
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:213
303
415
  msgid "The user group has been associated"
304
416
  msgstr ""
305
417
 
306
- #: ../lib/hammer_cli_foreman/associating_commands.rb:172
418
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:214
307
419
  msgid "Could not associate the user group"
308
420
  msgstr ""
309
421
 
310
- #: ../lib/hammer_cli_foreman/associating_commands.rb:177
422
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:219
311
423
  msgid "Disassociate an user group"
312
424
  msgstr ""
313
425
 
314
- #: ../lib/hammer_cli_foreman/associating_commands.rb:181
426
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:223
315
427
  msgid "The user group has been disassociated"
316
428
  msgstr ""
317
429
 
318
- #: ../lib/hammer_cli_foreman/associating_commands.rb:182
430
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:224
319
431
  msgid "Could not disassociate the user group"
320
432
  msgstr ""
321
433
 
322
- #: ../lib/hammer_cli_foreman/associating_commands.rb:191
434
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:233
323
435
  msgid "Associate a configuration template"
324
436
  msgstr ""
325
437
 
326
- #: ../lib/hammer_cli_foreman/associating_commands.rb:196
438
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:235
439
+ msgid "The configuration template has been associated"
440
+ msgstr ""
441
+
442
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:236
443
+ msgid "Could not associate the configuration template"
444
+ msgstr ""
445
+
446
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:241
327
447
  msgid "Disassociate a configuration template"
328
448
  msgstr ""
329
449
 
330
- #: ../lib/hammer_cli_foreman/associating_commands.rb:205
450
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:243
451
+ msgid "The configuration template has been disassociated"
452
+ msgstr ""
453
+
454
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:244
455
+ msgid "Could not disassociate the configuration template"
456
+ msgstr ""
457
+
458
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:253
331
459
  msgid "Associate an organization"
332
460
  msgstr ""
333
461
 
334
- #: ../lib/hammer_cli_foreman/associating_commands.rb:210
462
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:255
463
+ msgid "The organization has been associated"
464
+ msgstr ""
465
+
466
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:256
467
+ msgid "Could not associate the organization"
468
+ msgstr ""
469
+
470
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:261
335
471
  msgid "Disassociate an organization"
336
472
  msgstr ""
337
473
 
338
- #: ../lib/hammer_cli_foreman/associating_commands.rb:219
474
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:263
475
+ msgid "The organization has been disassociated"
476
+ msgstr ""
477
+
478
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:264
479
+ msgid "Could not disassociate the organization"
480
+ msgstr ""
481
+
482
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:273
339
483
  msgid "Associate an operating system"
340
484
  msgstr ""
341
485
 
342
- #: ../lib/hammer_cli_foreman/associating_commands.rb:221
486
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:275
343
487
  msgid "Operating system has been associated"
344
488
  msgstr ""
345
489
 
346
- #: ../lib/hammer_cli_foreman/associating_commands.rb:222
490
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:276
347
491
  msgid "Could not associate the operating system"
348
492
  msgstr ""
349
493
 
350
- #: ../lib/hammer_cli_foreman/associating_commands.rb:228
494
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:282
351
495
  msgid "Disassociate an operating system"
352
496
  msgstr ""
353
497
 
354
- #: ../lib/hammer_cli_foreman/associating_commands.rb:230
498
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:284
355
499
  msgid "Operating system has been disassociated"
356
500
  msgstr ""
357
501
 
358
- #: ../lib/hammer_cli_foreman/associating_commands.rb:231
502
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:285
359
503
  msgid "Could not disassociate the operating system"
360
504
  msgstr ""
361
505
 
362
- #: ../lib/hammer_cli_foreman/associating_commands.rb:240
506
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:294
363
507
  msgid "Associate an architecture"
364
508
  msgstr ""
365
509
 
366
- #: ../lib/hammer_cli_foreman/associating_commands.rb:242
510
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:296
367
511
  msgid "Architecture has been associated"
368
512
  msgstr ""
369
513
 
370
- #: ../lib/hammer_cli_foreman/associating_commands.rb:243
514
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:297
371
515
  msgid "Could not associate the architecture"
372
516
  msgstr ""
373
517
 
374
- #: ../lib/hammer_cli_foreman/associating_commands.rb:249
518
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:303
375
519
  msgid "Disassociate an architecture"
376
520
  msgstr ""
377
521
 
378
- #: ../lib/hammer_cli_foreman/associating_commands.rb:251
522
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:305
379
523
  msgid "Architecture has been disassociated"
380
524
  msgstr ""
381
525
 
382
- #: ../lib/hammer_cli_foreman/associating_commands.rb:252
526
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:306
383
527
  msgid "Could not disassociate the architecture"
384
528
  msgstr ""
385
529
 
386
- #: ../lib/hammer_cli_foreman/associating_commands.rb:261
530
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:315
387
531
  msgid "Associate a partition table"
388
532
  msgstr ""
389
533
 
390
- #: ../lib/hammer_cli_foreman/associating_commands.rb:263
534
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:317
391
535
  msgid "Partition table has been associated"
392
536
  msgstr ""
393
537
 
394
- #: ../lib/hammer_cli_foreman/associating_commands.rb:264
538
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:318
395
539
  msgid "Could not associate the partition table"
396
540
  msgstr ""
397
541
 
398
- #: ../lib/hammer_cli_foreman/associating_commands.rb:270
542
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:324
399
543
  msgid "Disassociate a partition table"
400
544
  msgstr ""
401
545
 
402
- #: ../lib/hammer_cli_foreman/associating_commands.rb:272
546
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:326
403
547
  msgid "Partition table has been disassociated"
404
548
  msgstr ""
405
549
 
406
- #: ../lib/hammer_cli_foreman/associating_commands.rb:273
550
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:327
407
551
  msgid "Could not disassociate the partition table"
408
552
  msgstr ""
409
553
 
410
- #: ../lib/hammer_cli_foreman/associating_commands.rb:282
554
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:336
411
555
  msgid "Assign a user role"
412
556
  msgstr ""
413
557
 
414
- #: ../lib/hammer_cli_foreman/associating_commands.rb:284
558
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:338
415
559
  msgid "User role has been assigned"
416
560
  msgstr ""
417
561
 
418
- #: ../lib/hammer_cli_foreman/associating_commands.rb:285
562
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:339
419
563
  msgid "Could not assign the user role"
420
564
  msgstr ""
421
565
 
422
- #: ../lib/hammer_cli_foreman/associating_commands.rb:291
566
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:345
423
567
  msgid "Remove a user role"
424
568
  msgstr ""
425
569
 
426
- #: ../lib/hammer_cli_foreman/associating_commands.rb:293
570
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:347
427
571
  msgid "User role has been removed"
428
572
  msgstr ""
429
573
 
430
- #: ../lib/hammer_cli_foreman/associating_commands.rb:294
574
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:348
431
575
  msgid "Could not remove the user role"
432
576
  msgstr ""
433
577
 
@@ -533,34 +677,50 @@ msgstr ""
533
677
  msgid "Could not update the Auth Source"
534
678
  msgstr ""
535
679
 
536
- #: ../lib/hammer_cli_foreman/commands.rb:87
680
+ #: ../lib/hammer_cli_foreman/commands.rb:88
537
681
  msgid "Received data of unknown format"
538
682
  msgstr ""
539
683
 
540
- #: ../lib/hammer_cli_foreman/commands.rb:195
684
+ #: ../lib/hammer_cli_foreman/commands.rb:196
541
685
  msgid ""
542
686
  "Could not find %{resource}. Some search options were missing, please see --hel"
543
687
  "p."
544
688
  msgstr ""
545
689
 
546
- #: ../lib/hammer_cli_foreman/commands.rb:197
690
+ #: ../lib/hammer_cli_foreman/commands.rb:198
547
691
  msgid "Could not find %{resource}, please set option %{switches}."
548
692
  msgstr ""
549
693
 
550
- #: ../lib/hammer_cli_foreman/commands.rb:199
694
+ #: ../lib/hammer_cli_foreman/commands.rb:200
551
695
  msgid "Could not find %{resource}, please set one of options %{switches}."
552
696
  msgstr ""
553
697
 
554
- #: ../lib/hammer_cli_foreman/commands.rb:521
698
+ #: ../lib/hammer_cli_foreman/commands.rb:529
555
699
  msgid "Associate a resource"
556
700
  msgstr ""
557
701
 
558
- #: ../lib/hammer_cli_foreman/commands.rb:543
702
+ #: ../lib/hammer_cli_foreman/commands.rb:533
703
+ msgid "Could not associate the %{resource_name}"
704
+ msgstr ""
705
+
706
+ #: ../lib/hammer_cli_foreman/commands.rb:537
707
+ msgid "The %{resource_name} has been associated"
708
+ msgstr ""
709
+
710
+ #: ../lib/hammer_cli_foreman/commands.rb:559
559
711
  msgid "Disassociate a resource"
560
712
  msgstr ""
561
713
 
714
+ #: ../lib/hammer_cli_foreman/commands.rb:571
715
+ msgid "Could not disassociate the %{resource_name}"
716
+ msgstr ""
717
+
718
+ #: ../lib/hammer_cli_foreman/commands.rb:575
719
+ msgid "The %{resource_name} has been disassociated"
720
+ msgstr ""
721
+
562
722
  #: ../lib/hammer_cli_foreman/common_parameter.rb:13
563
- #: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:334
723
+ #: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:323
564
724
  #: ../lib/hammer_cli_foreman/settings.rb:13
565
725
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
566
726
  #: ../lib/hammer_cli_foreman/smart_variable.rb:66
@@ -609,7 +769,7 @@ msgstr ""
609
769
 
610
770
  #: ../lib/hammer_cli_foreman/compute_resource.rb:34
611
771
  #: ../lib/hammer_cli_foreman/compute_resource.rb:40
612
- #: ../lib/hammer_cli_foreman/host.rb:208 ../lib/hammer_cli_foreman/image.rb:33
772
+ #: ../lib/hammer_cli_foreman/host.rb:197 ../lib/hammer_cli_foreman/image.rb:33
613
773
  #: ../lib/hammer_cli_foreman/image.rb:71
614
774
  msgid "UUID"
615
775
  msgstr ""
@@ -768,19 +928,37 @@ msgstr ""
768
928
  msgid "Could not delete the environment"
769
929
  msgstr ""
770
930
 
771
- #: ../lib/hammer_cli_foreman/exception_handler.rb:41
931
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:29
932
+ msgid "Redirection of API call detected."
933
+ msgstr ""
934
+
935
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:30
936
+ msgid "It seems hammer is configured to use HTTP and the server prefers HTTPS."
937
+ msgstr ""
938
+
939
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:32
940
+ msgid "Update your server url configuration"
941
+ msgstr ""
942
+
943
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:33
944
+ msgid ""
945
+ "you can set 'follow_redirects' to one of :default or :always to enable redirec"
946
+ "ts following"
947
+ msgstr ""
948
+
949
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:54
772
950
  msgid "Forbidden - server refused to process the request"
773
951
  msgstr ""
774
952
 
775
- #: ../lib/hammer_cli_foreman/exception_handler.rb:75
953
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:88
776
954
  msgid "Could not load the API description from the server"
777
955
  msgstr ""
778
956
 
779
- #: ../lib/hammer_cli_foreman/exception_handler.rb:76
957
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:89
780
958
  msgid "is the server down?"
781
959
  msgstr ""
782
960
 
783
- #: ../lib/hammer_cli_foreman/exception_handler.rb:77
961
+ #: ../lib/hammer_cli_foreman/exception_handler.rb:90
784
962
  msgid ""
785
963
  "was '%s' run on the server when using apipie cache? (typical production settin"
786
964
  "gs)"
@@ -828,7 +1006,7 @@ msgstr ""
828
1006
  msgid "Host"
829
1007
  msgstr ""
830
1008
 
831
- #: ../lib/hammer_cli_foreman/fact.rb:13 ../lib/hammer_cli_foreman/host.rb:333
1009
+ #: ../lib/hammer_cli_foreman/fact.rb:13 ../lib/hammer_cli_foreman/host.rb:322
832
1010
  msgid "Fact"
833
1011
  msgstr ""
834
1012
 
@@ -920,129 +1098,121 @@ msgstr ""
920
1098
  msgid "Enter the root password for the host:"
921
1099
  msgstr ""
922
1100
 
923
- #: ../lib/hammer_cli_foreman/host.rb:153
924
- msgid "At least one interface must be set as primary"
925
- msgstr ""
926
-
927
- #: ../lib/hammer_cli_foreman/host.rb:156
928
- msgid "At least one interface must be set as provision"
929
- msgstr ""
930
-
931
- #: ../lib/hammer_cli_foreman/host.rb:172 ../lib/hammer_cli_foreman/host.rb:248
1101
+ #: ../lib/hammer_cli_foreman/host.rb:161 ../lib/hammer_cli_foreman/host.rb:237
932
1102
  #: ../lib/hammer_cli_foreman/hostgroup.rb:60
933
1103
  #: ../lib/hammer_cli_foreman/image.rb:31
934
1104
  msgid "Operating System"
935
1105
  msgstr ""
936
1106
 
937
- #: ../lib/hammer_cli_foreman/host.rb:173 ../lib/hammer_cli_foreman/host.rb:212
1107
+ #: ../lib/hammer_cli_foreman/host.rb:162 ../lib/hammer_cli_foreman/host.rb:201
938
1108
  msgid "Host Group"
939
1109
  msgstr ""
940
1110
 
941
- #: ../lib/hammer_cli_foreman/host.rb:174 ../lib/hammer_cli_foreman/host.rb:225
1111
+ #: ../lib/hammer_cli_foreman/host.rb:163 ../lib/hammer_cli_foreman/host.rb:214
942
1112
  msgid "IP"
943
1113
  msgstr ""
944
1114
 
945
- #: ../lib/hammer_cli_foreman/host.rb:175 ../lib/hammer_cli_foreman/host.rb:226
1115
+ #: ../lib/hammer_cli_foreman/host.rb:164 ../lib/hammer_cli_foreman/host.rb:215
946
1116
  msgid "MAC"
947
1117
  msgstr ""
948
1118
 
949
- #: ../lib/hammer_cli_foreman/host.rb:185
1119
+ #: ../lib/hammer_cli_foreman/host.rb:174
950
1120
  msgid "Bare Metal"
951
1121
  msgstr ""
952
1122
 
953
- #: ../lib/hammer_cli_foreman/host.rb:210
1123
+ #: ../lib/hammer_cli_foreman/host.rb:199
954
1124
  msgid "Organization"
955
1125
  msgstr ""
956
1126
 
957
- #: ../lib/hammer_cli_foreman/host.rb:211
1127
+ #: ../lib/hammer_cli_foreman/host.rb:200
958
1128
  msgid "Location"
959
1129
  msgstr ""
960
1130
 
961
- #: ../lib/hammer_cli_foreman/host.rb:213
1131
+ #: ../lib/hammer_cli_foreman/host.rb:202
962
1132
  msgid "Compute Resource"
963
1133
  msgstr ""
964
1134
 
965
- #: ../lib/hammer_cli_foreman/host.rb:214
1135
+ #: ../lib/hammer_cli_foreman/host.rb:203
966
1136
  msgid "Compute Profile"
967
1137
  msgstr ""
968
1138
 
969
- #: ../lib/hammer_cli_foreman/host.rb:215
1139
+ #: ../lib/hammer_cli_foreman/host.rb:204
970
1140
  #: ../lib/hammer_cli_foreman/hostgroup.rb:61
971
1141
  msgid "Environment"
972
1142
  msgstr ""
973
1143
 
974
- #: ../lib/hammer_cli_foreman/host.rb:216
1144
+ #: ../lib/hammer_cli_foreman/host.rb:205
975
1145
  msgid "Puppet CA Id"
976
1146
  msgstr ""
977
1147
 
978
- #: ../lib/hammer_cli_foreman/host.rb:217
1148
+ #: ../lib/hammer_cli_foreman/host.rb:206
979
1149
  msgid "Puppet Master Id"
980
1150
  msgstr ""
981
1151
 
982
- #: ../lib/hammer_cli_foreman/host.rb:218
1152
+ #: ../lib/hammer_cli_foreman/host.rb:207
983
1153
  msgid "Cert name"
984
1154
  msgstr ""
985
1155
 
986
- #: ../lib/hammer_cli_foreman/host.rb:219
1156
+ #: ../lib/hammer_cli_foreman/host.rb:208
987
1157
  #: ../lib/hammer_cli_foreman/interface.rb:51
988
1158
  msgid "Managed"
989
1159
  msgstr ""
990
1160
 
991
- #: ../lib/hammer_cli_foreman/host.rb:221
1161
+ #: ../lib/hammer_cli_foreman/host.rb:210
992
1162
  msgid "Installed at"
993
1163
  msgstr ""
994
1164
 
995
- #: ../lib/hammer_cli_foreman/host.rb:222 ../lib/hammer_cli_foreman/report.rb:12
1165
+ #: ../lib/hammer_cli_foreman/host.rb:211 ../lib/hammer_cli_foreman/report.rb:12
996
1166
  msgid "Last report"
997
1167
  msgstr ""
998
1168
 
999
- #: ../lib/hammer_cli_foreman/host.rb:224 ../lib/hammer_cli_foreman/subnet.rb:12
1169
+ #: ../lib/hammer_cli_foreman/host.rb:213 ../lib/hammer_cli_foreman/subnet.rb:12
1000
1170
  msgid "Network"
1001
1171
  msgstr ""
1002
1172
 
1003
- #: ../lib/hammer_cli_foreman/host.rb:227
1173
+ #: ../lib/hammer_cli_foreman/host.rb:216
1004
1174
  #: ../lib/hammer_cli_foreman/hostgroup.rb:72
1005
1175
  #: ../lib/hammer_cli_foreman/interface.rb:49
1006
1176
  msgid "Subnet"
1007
1177
  msgstr ""
1008
1178
 
1009
- #: ../lib/hammer_cli_foreman/host.rb:228
1179
+ #: ../lib/hammer_cli_foreman/host.rb:217
1010
1180
  #: ../lib/hammer_cli_foreman/hostgroup.rb:74
1011
1181
  #: ../lib/hammer_cli_foreman/interface.rb:50
1012
1182
  msgid "Domain"
1013
1183
  msgstr ""
1014
1184
 
1015
- #: ../lib/hammer_cli_foreman/host.rb:229
1185
+ #: ../lib/hammer_cli_foreman/host.rb:218
1016
1186
  msgid "Service provider"
1017
1187
  msgstr ""
1018
1188
 
1019
- #: ../lib/hammer_cli_foreman/host.rb:230
1189
+ #: ../lib/hammer_cli_foreman/host.rb:219
1020
1190
  msgid "SP Name"
1021
1191
  msgstr ""
1022
1192
 
1023
- #: ../lib/hammer_cli_foreman/host.rb:231
1193
+ #: ../lib/hammer_cli_foreman/host.rb:220
1024
1194
  msgid "SP IP"
1025
1195
  msgstr ""
1026
1196
 
1027
- #: ../lib/hammer_cli_foreman/host.rb:232
1197
+ #: ../lib/hammer_cli_foreman/host.rb:221
1028
1198
  msgid "SP MAC"
1029
1199
  msgstr ""
1030
1200
 
1031
- #: ../lib/hammer_cli_foreman/host.rb:233
1201
+ #: ../lib/hammer_cli_foreman/host.rb:222
1032
1202
  msgid "SP Subnet"
1033
1203
  msgstr ""
1034
1204
 
1035
- #: ../lib/hammer_cli_foreman/host.rb:237
1205
+ #: ../lib/hammer_cli_foreman/host.rb:226
1036
1206
  msgid "Network interfaces"
1037
1207
  msgstr ""
1038
1208
 
1039
- #: ../lib/hammer_cli_foreman/host.rb:239
1209
+ #: ../lib/hammer_cli_foreman/host.rb:228
1040
1210
  #: ../lib/hammer_cli_foreman/interface.rb:24
1041
1211
  #: ../lib/hammer_cli_foreman/interface.rb:44
1042
1212
  msgid "Identifier"
1043
1213
  msgstr ""
1044
1214
 
1045
- #: ../lib/hammer_cli_foreman/host.rb:240
1215
+ #: ../lib/hammer_cli_foreman/host.rb:229
1046
1216
  #: ../lib/hammer_cli_foreman/interface.rb:25
1047
1217
  #: ../lib/hammer_cli_foreman/interface.rb:45
1048
1218
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:60
@@ -1053,179 +1223,187 @@ msgstr ""
1053
1223
  msgid "Type"
1054
1224
  msgstr ""
1055
1225
 
1056
- #: ../lib/hammer_cli_foreman/host.rb:241
1226
+ #: ../lib/hammer_cli_foreman/host.rb:230
1057
1227
  #: ../lib/hammer_cli_foreman/interface.rb:26
1058
1228
  #: ../lib/hammer_cli_foreman/interface.rb:46
1059
1229
  msgid "MAC address"
1060
1230
  msgstr ""
1061
1231
 
1062
- #: ../lib/hammer_cli_foreman/host.rb:242
1232
+ #: ../lib/hammer_cli_foreman/host.rb:231
1063
1233
  #: ../lib/hammer_cli_foreman/interface.rb:27
1064
1234
  #: ../lib/hammer_cli_foreman/interface.rb:47
1065
1235
  msgid "IP address"
1066
1236
  msgstr ""
1067
1237
 
1068
- #: ../lib/hammer_cli_foreman/host.rb:243
1238
+ #: ../lib/hammer_cli_foreman/host.rb:232
1069
1239
  msgid "FQDN"
1070
1240
  msgstr ""
1071
1241
 
1072
- #: ../lib/hammer_cli_foreman/host.rb:246
1242
+ #: ../lib/hammer_cli_foreman/host.rb:235
1073
1243
  msgid "Operating system"
1074
1244
  msgstr ""
1075
1245
 
1076
- #: ../lib/hammer_cli_foreman/host.rb:247
1246
+ #: ../lib/hammer_cli_foreman/host.rb:236
1077
1247
  #: ../lib/hammer_cli_foreman/hostgroup.rb:75
1078
1248
  #: ../lib/hammer_cli_foreman/image.rb:45
1079
1249
  msgid "Architecture"
1080
1250
  msgstr ""
1081
1251
 
1082
- #: ../lib/hammer_cli_foreman/host.rb:251
1252
+ #: ../lib/hammer_cli_foreman/host.rb:240
1083
1253
  msgid "Build"
1084
1254
  msgstr ""
1085
1255
 
1086
- #: ../lib/hammer_cli_foreman/host.rb:252
1256
+ #: ../lib/hammer_cli_foreman/host.rb:241
1087
1257
  #: ../lib/hammer_cli_foreman/hostgroup.rb:77
1088
1258
  msgid "Medium"
1089
1259
  msgstr ""
1090
1260
 
1091
- #: ../lib/hammer_cli_foreman/host.rb:253
1261
+ #: ../lib/hammer_cli_foreman/host.rb:242
1092
1262
  #: ../lib/hammer_cli_foreman/hostgroup.rb:76
1093
1263
  msgid "Partition Table"
1094
1264
  msgstr ""
1095
1265
 
1096
- #: ../lib/hammer_cli_foreman/host.rb:254
1266
+ #: ../lib/hammer_cli_foreman/host.rb:243
1097
1267
  msgid "Custom partition table"
1098
1268
  msgstr ""
1099
1269
 
1100
- #: ../lib/hammer_cli_foreman/host.rb:257
1270
+ #: ../lib/hammer_cli_foreman/host.rb:246
1101
1271
  msgid "Image"
1102
1272
  msgstr ""
1103
1273
 
1104
- #: ../lib/hammer_cli_foreman/host.rb:258
1274
+ #: ../lib/hammer_cli_foreman/host.rb:247
1105
1275
  msgid "Image file"
1106
1276
  msgstr ""
1107
1277
 
1108
- #: ../lib/hammer_cli_foreman/host.rb:259
1278
+ #: ../lib/hammer_cli_foreman/host.rb:248
1109
1279
  msgid "Use image"
1110
1280
  msgstr ""
1111
1281
 
1112
- #: ../lib/hammer_cli_foreman/host.rb:265
1282
+ #: ../lib/hammer_cli_foreman/host.rb:254
1113
1283
  msgid "Additional info"
1114
1284
  msgstr ""
1115
1285
 
1116
- #: ../lib/hammer_cli_foreman/host.rb:266
1286
+ #: ../lib/hammer_cli_foreman/host.rb:255
1117
1287
  msgid "Owner Id"
1118
1288
  msgstr ""
1119
1289
 
1120
- #: ../lib/hammer_cli_foreman/host.rb:267
1290
+ #: ../lib/hammer_cli_foreman/host.rb:256
1121
1291
  msgid "Owner Type"
1122
1292
  msgstr ""
1123
1293
 
1124
- #: ../lib/hammer_cli_foreman/host.rb:268
1294
+ #: ../lib/hammer_cli_foreman/host.rb:257
1125
1295
  msgid "Enabled"
1126
1296
  msgstr ""
1127
1297
 
1128
- #: ../lib/hammer_cli_foreman/host.rb:269
1298
+ #: ../lib/hammer_cli_foreman/host.rb:258
1129
1299
  #: ../lib/hammer_cli_foreman/hostgroup.rb:62
1130
1300
  msgid "Model"
1131
1301
  msgstr ""
1132
1302
 
1133
- #: ../lib/hammer_cli_foreman/host.rb:270
1303
+ #: ../lib/hammer_cli_foreman/host.rb:259
1134
1304
  msgid "Comment"
1135
1305
  msgstr ""
1136
1306
 
1137
- #: ../lib/hammer_cli_foreman/host.rb:283
1307
+ #: ../lib/hammer_cli_foreman/host.rb:272
1138
1308
  msgid "Status"
1139
1309
  msgstr ""
1140
1310
 
1141
- #: ../lib/hammer_cli_foreman/host.rb:284
1311
+ #: ../lib/hammer_cli_foreman/host.rb:273
1142
1312
  msgid "Power"
1143
1313
  msgstr ""
1144
1314
 
1145
- #: ../lib/hammer_cli_foreman/host.rb:320
1315
+ #: ../lib/hammer_cli_foreman/host.rb:309
1146
1316
  msgid "Puppet run triggered"
1147
1317
  msgstr ""
1148
1318
 
1149
- #: ../lib/hammer_cli_foreman/host.rb:373
1319
+ #: ../lib/hammer_cli_foreman/host.rb:362
1150
1320
  msgid "Host created"
1151
1321
  msgstr ""
1152
1322
 
1153
- #: ../lib/hammer_cli_foreman/host.rb:374
1323
+ #: ../lib/hammer_cli_foreman/host.rb:363
1154
1324
  msgid "Could not create the host"
1155
1325
  msgstr ""
1156
1326
 
1157
- #: ../lib/hammer_cli_foreman/host.rb:395
1327
+ #: ../lib/hammer_cli_foreman/host.rb:380
1158
1328
  msgid "Host updated"
1159
1329
  msgstr ""
1160
1330
 
1161
- #: ../lib/hammer_cli_foreman/host.rb:396
1331
+ #: ../lib/hammer_cli_foreman/host.rb:381
1162
1332
  msgid "Could not update the host"
1163
1333
  msgstr ""
1164
1334
 
1165
- #: ../lib/hammer_cli_foreman/host.rb:403
1335
+ #: ../lib/hammer_cli_foreman/host.rb:388
1166
1336
  msgid "Host deleted"
1167
1337
  msgstr ""
1168
1338
 
1169
- #: ../lib/hammer_cli_foreman/host.rb:404
1339
+ #: ../lib/hammer_cli_foreman/host.rb:389
1170
1340
  msgid "Could not delete the host"
1171
1341
  msgstr ""
1172
1342
 
1173
- #: ../lib/hammer_cli_foreman/host.rb:411
1343
+ #: ../lib/hammer_cli_foreman/host.rb:396
1174
1344
  msgid "Create or update parameter for a host."
1175
1345
  msgstr ""
1176
1346
 
1177
- #: ../lib/hammer_cli_foreman/host.rb:413
1347
+ #: ../lib/hammer_cli_foreman/host.rb:398
1178
1348
  msgid "Host parameter updated"
1179
1349
  msgstr ""
1180
1350
 
1181
- #: ../lib/hammer_cli_foreman/host.rb:414
1351
+ #: ../lib/hammer_cli_foreman/host.rb:399
1182
1352
  msgid "New host parameter created"
1183
1353
  msgstr ""
1184
1354
 
1185
- #: ../lib/hammer_cli_foreman/host.rb:415
1355
+ #: ../lib/hammer_cli_foreman/host.rb:400
1186
1356
  msgid "Could not set host parameter"
1187
1357
  msgstr ""
1188
1358
 
1189
- #: ../lib/hammer_cli_foreman/host.rb:427
1359
+ #: ../lib/hammer_cli_foreman/host.rb:412
1190
1360
  msgid "Delete parameter for a host."
1191
1361
  msgstr ""
1192
1362
 
1193
- #: ../lib/hammer_cli_foreman/host.rb:429
1363
+ #: ../lib/hammer_cli_foreman/host.rb:414
1194
1364
  msgid "Host parameter deleted"
1195
1365
  msgstr ""
1196
1366
 
1197
- #: ../lib/hammer_cli_foreman/host.rb:444
1367
+ #: ../lib/hammer_cli_foreman/host.rb:429
1198
1368
  msgid "Power a host on"
1199
1369
  msgstr ""
1200
1370
 
1201
- #: ../lib/hammer_cli_foreman/host.rb:445
1371
+ #: ../lib/hammer_cli_foreman/host.rb:430
1202
1372
  msgid "The host is starting."
1203
1373
  msgstr ""
1204
1374
 
1205
- #: ../lib/hammer_cli_foreman/host.rb:462
1375
+ #: ../lib/hammer_cli_foreman/host.rb:447
1206
1376
  msgid "Force turning off a host"
1207
1377
  msgstr ""
1208
1378
 
1209
- #: ../lib/hammer_cli_foreman/host.rb:467
1379
+ #: ../lib/hammer_cli_foreman/host.rb:452
1210
1380
  msgid "Power a host off"
1211
1381
  msgstr ""
1212
1382
 
1213
- #: ../lib/hammer_cli_foreman/host.rb:479
1383
+ #: ../lib/hammer_cli_foreman/host.rb:464
1214
1384
  msgid "Power off forced."
1215
1385
  msgstr ""
1216
1386
 
1217
- #: ../lib/hammer_cli_foreman/host.rb:481
1387
+ #: ../lib/hammer_cli_foreman/host.rb:466
1218
1388
  msgid "Powering the host off."
1219
1389
  msgstr ""
1220
1390
 
1221
- #: ../lib/hammer_cli_foreman/host.rb:498
1391
+ #: ../lib/hammer_cli_foreman/host.rb:483
1222
1392
  msgid "Reboot a host"
1223
1393
  msgstr ""
1224
1394
 
1225
- #: ../lib/hammer_cli_foreman/host.rb:499
1395
+ #: ../lib/hammer_cli_foreman/host.rb:484
1226
1396
  msgid "Host reboot started."
1227
1397
  msgstr ""
1228
1398
 
1399
+ #: ../lib/hammer_cli_foreman/host.rb:520
1400
+ msgid "Rebuild orchestration related configurations for host"
1401
+ msgstr ""
1402
+
1403
+ #: ../lib/hammer_cli_foreman/host.rb:521
1404
+ msgid "Configuration successfully rebuilt."
1405
+ msgstr ""
1406
+
1229
1407
  #: ../lib/hammer_cli_foreman/hostgroup.rb:10
1230
1408
  msgid "List of puppetclass ids"
1231
1409
  msgstr ""
@@ -1416,18 +1594,19 @@ msgid "Name to search by"
1416
1594
  msgstr ""
1417
1595
 
1418
1596
  #: ../lib/hammer_cli_foreman/id_resolver.rb:153
1597
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:161
1419
1598
  msgid "one of %s not found"
1420
1599
  msgstr ""
1421
1600
 
1422
- #: ../lib/hammer_cli_foreman/id_resolver.rb:200
1601
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:208
1423
1602
  msgid "%s not found"
1424
1603
  msgstr ""
1425
1604
 
1426
- #: ../lib/hammer_cli_foreman/id_resolver.rb:201
1605
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:209
1427
1606
  msgid "found more than one %s"
1428
1607
  msgstr ""
1429
1608
 
1430
- #: ../lib/hammer_cli_foreman/id_resolver.rb:212
1609
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:220
1431
1610
  msgid "Missing options to search %s"
1432
1611
  msgstr ""
1433
1612
 
@@ -1864,36 +2043,41 @@ msgstr ""
1864
2043
  msgid "Could not delete organization parameter"
1865
2044
  msgstr ""
1866
2045
 
1867
- #: ../lib/hammer_cli_foreman/partition_table.rb:31
2046
+ #: ../lib/hammer_cli_foreman/partition_table.rb:21
2047
+ #: ../lib/hammer_cli_foreman/template.rb:48
2048
+ msgid "Locked"
2049
+ msgstr ""
2050
+
2051
+ #: ../lib/hammer_cli_foreman/partition_table.rb:32
1868
2052
  msgid "View partition table content."
1869
2053
  msgstr ""
1870
2054
 
1871
- #: ../lib/hammer_cli_foreman/partition_table.rb:43
1872
- #: ../lib/hammer_cli_foreman/partition_table.rb:54
2055
+ #: ../lib/hammer_cli_foreman/partition_table.rb:44
2056
+ #: ../lib/hammer_cli_foreman/partition_table.rb:55
1873
2057
  msgid "Path to a file that contains the partition layout"
1874
2058
  msgstr ""
1875
2059
 
1876
- #: ../lib/hammer_cli_foreman/partition_table.rb:46
2060
+ #: ../lib/hammer_cli_foreman/partition_table.rb:47
1877
2061
  msgid "Partition table created"
1878
2062
  msgstr ""
1879
2063
 
1880
- #: ../lib/hammer_cli_foreman/partition_table.rb:47
2064
+ #: ../lib/hammer_cli_foreman/partition_table.rb:48
1881
2065
  msgid "Could not create the partition table"
1882
2066
  msgstr ""
1883
2067
 
1884
- #: ../lib/hammer_cli_foreman/partition_table.rb:57
2068
+ #: ../lib/hammer_cli_foreman/partition_table.rb:58
1885
2069
  msgid "Partition table updated"
1886
2070
  msgstr ""
1887
2071
 
1888
- #: ../lib/hammer_cli_foreman/partition_table.rb:58
2072
+ #: ../lib/hammer_cli_foreman/partition_table.rb:59
1889
2073
  msgid "Could not update the partition table"
1890
2074
  msgstr ""
1891
2075
 
1892
- #: ../lib/hammer_cli_foreman/partition_table.rb:65
2076
+ #: ../lib/hammer_cli_foreman/partition_table.rb:66
1893
2077
  msgid "Partition table deleted"
1894
2078
  msgstr ""
1895
2079
 
1896
- #: ../lib/hammer_cli_foreman/partition_table.rb:66
2080
+ #: ../lib/hammer_cli_foreman/partition_table.rb:67
1897
2081
  msgid "Could not delete the partition table"
1898
2082
  msgstr ""
1899
2083
 
@@ -2238,15 +2422,19 @@ msgstr ""
2238
2422
 
2239
2423
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132
2240
2424
  #: ../lib/hammer_cli_foreman/smart_variable.rb:124
2241
- msgid "Could not create the override_value"
2425
+ msgid "Could not create the override value"
2426
+ msgstr ""
2427
+
2428
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:142
2429
+ msgid "Cannot use --value when --use-puppet-default is true"
2242
2430
  msgstr ""
2243
2431
 
2244
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151
2432
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:155
2245
2433
  #: ../lib/hammer_cli_foreman/smart_variable.rb:136
2246
2434
  msgid "Override value deleted"
2247
2435
  msgstr ""
2248
2436
 
2249
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152
2437
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:156
2250
2438
  #: ../lib/hammer_cli_foreman/smart_variable.rb:137
2251
2439
  msgid "Could not delete the override value"
2252
2440
  msgstr ""
@@ -2405,52 +2593,60 @@ msgstr ""
2405
2593
  msgid "Could not delete the subnet"
2406
2594
  msgstr ""
2407
2595
 
2408
- #: ../lib/hammer_cli_foreman/template.rb:71
2596
+ #: ../lib/hammer_cli_foreman/template.rb:72
2409
2597
  msgid "List available config template kinds."
2410
2598
  msgstr ""
2411
2599
 
2412
- #: ../lib/hammer_cli_foreman/template.rb:90
2600
+ #: ../lib/hammer_cli_foreman/template.rb:91
2413
2601
  msgid "View config template content."
2414
2602
  msgstr ""
2415
2603
 
2416
- #: ../lib/hammer_cli_foreman/template.rb:102
2417
- #: ../lib/hammer_cli_foreman/template.rb:120
2604
+ #: ../lib/hammer_cli_foreman/template.rb:103
2605
+ #: ../lib/hammer_cli_foreman/template.rb:121
2418
2606
  msgid "Path to a file that contains the template"
2419
2607
  msgstr ""
2420
2608
 
2421
- #: ../lib/hammer_cli_foreman/template.rb:104
2422
- #: ../lib/hammer_cli_foreman/template.rb:122
2609
+ #: ../lib/hammer_cli_foreman/template.rb:105
2610
+ #: ../lib/hammer_cli_foreman/template.rb:123
2423
2611
  msgid "Template type. Eg. snippet, script, provision"
2424
2612
  msgstr ""
2425
2613
 
2426
- #: ../lib/hammer_cli_foreman/template.rb:106
2614
+ #: ../lib/hammer_cli_foreman/template.rb:107
2427
2615
  msgid "Config template created"
2428
2616
  msgstr ""
2429
2617
 
2430
- #: ../lib/hammer_cli_foreman/template.rb:107
2618
+ #: ../lib/hammer_cli_foreman/template.rb:108
2431
2619
  msgid "Could not create the config template"
2432
2620
  msgstr ""
2433
2621
 
2434
- #: ../lib/hammer_cli_foreman/template.rb:124
2622
+ #: ../lib/hammer_cli_foreman/template.rb:125
2435
2623
  msgid "Config template updated"
2436
2624
  msgstr ""
2437
2625
 
2438
- #: ../lib/hammer_cli_foreman/template.rb:125
2626
+ #: ../lib/hammer_cli_foreman/template.rb:126
2439
2627
  msgid "Could not update the config template"
2440
2628
  msgstr ""
2441
2629
 
2442
- #: ../lib/hammer_cli_foreman/template.rb:138
2630
+ #: ../lib/hammer_cli_foreman/template.rb:139
2443
2631
  msgid "Config template deleted"
2444
2632
  msgstr ""
2445
2633
 
2446
- #: ../lib/hammer_cli_foreman/template.rb:139
2634
+ #: ../lib/hammer_cli_foreman/template.rb:140
2447
2635
  msgid "Could not delete the config template"
2448
2636
  msgstr ""
2449
2637
 
2450
- #: ../lib/hammer_cli_foreman/template.rb:150
2638
+ #: ../lib/hammer_cli_foreman/template.rb:151
2451
2639
  msgid "Update the default PXE menu on all configured TFTP servers"
2452
2640
  msgstr ""
2453
2641
 
2642
+ #: ../lib/hammer_cli_foreman/template.rb:164
2643
+ msgid "Config template cloned"
2644
+ msgstr ""
2645
+
2646
+ #: ../lib/hammer_cli_foreman/template.rb:165
2647
+ msgid "Could not clone the config template"
2648
+ msgstr ""
2649
+
2454
2650
  #: ../lib/hammer_cli_foreman/user.rb:11
2455
2651
  msgid "Login"
2456
2652
  msgstr ""
@@ -2464,54 +2660,58 @@ msgid "Admin"
2464
2660
  msgstr ""
2465
2661
 
2466
2662
  #: ../lib/hammer_cli_foreman/user.rb:29
2467
- msgid "Authorized by"
2663
+ msgid "Effective admin"
2468
2664
  msgstr ""
2469
2665
 
2470
2666
  #: ../lib/hammer_cli_foreman/user.rb:30
2471
- msgid "Locale"
2667
+ msgid "Authorized by"
2472
2668
  msgstr ""
2473
2669
 
2474
2670
  #: ../lib/hammer_cli_foreman/user.rb:31
2475
- msgid "Timezone"
2671
+ msgid "Locale"
2476
2672
  msgstr ""
2477
2673
 
2478
2674
  #: ../lib/hammer_cli_foreman/user.rb:32
2479
- msgid "Last login"
2675
+ msgid "Timezone"
2480
2676
  msgstr ""
2481
2677
 
2482
2678
  #: ../lib/hammer_cli_foreman/user.rb:33
2483
- msgid "Default organization"
2679
+ msgid "Last login"
2484
2680
  msgstr ""
2485
2681
 
2486
2682
  #: ../lib/hammer_cli_foreman/user.rb:34
2683
+ msgid "Default organization"
2684
+ msgstr ""
2685
+
2686
+ #: ../lib/hammer_cli_foreman/user.rb:35
2487
2687
  msgid "Default location"
2488
2688
  msgstr ""
2489
2689
 
2490
- #: ../lib/hammer_cli_foreman/user.rb:42 ../lib/hammer_cli_foreman/user.rb:43
2690
+ #: ../lib/hammer_cli_foreman/user.rb:43 ../lib/hammer_cli_foreman/user.rb:44
2491
2691
  msgid "default"
2492
2692
  msgstr ""
2493
2693
 
2494
- #: ../lib/hammer_cli_foreman/user.rb:53
2694
+ #: ../lib/hammer_cli_foreman/user.rb:54
2495
2695
  msgid "User [%{login}] created"
2496
2696
  msgstr ""
2497
2697
 
2498
- #: ../lib/hammer_cli_foreman/user.rb:54
2698
+ #: ../lib/hammer_cli_foreman/user.rb:55
2499
2699
  msgid "Could not create the user"
2500
2700
  msgstr ""
2501
2701
 
2502
- #: ../lib/hammer_cli_foreman/user.rb:61
2702
+ #: ../lib/hammer_cli_foreman/user.rb:62
2503
2703
  msgid "User [%{login}] updated"
2504
2704
  msgstr ""
2505
2705
 
2506
- #: ../lib/hammer_cli_foreman/user.rb:62
2706
+ #: ../lib/hammer_cli_foreman/user.rb:63
2507
2707
  msgid "Could not update the user"
2508
2708
  msgstr ""
2509
2709
 
2510
- #: ../lib/hammer_cli_foreman/user.rb:69
2710
+ #: ../lib/hammer_cli_foreman/user.rb:70
2511
2711
  msgid "User [%{login}] deleted"
2512
2712
  msgstr ""
2513
2713
 
2514
- #: ../lib/hammer_cli_foreman/user.rb:70
2714
+ #: ../lib/hammer_cli_foreman/user.rb:71
2515
2715
  msgid "Could not delete the user"
2516
2716
  msgstr ""
2517
2717