hammer_cli_foreman 0.6.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of hammer_cli_foreman might be problematic. Click here for more details.

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
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman 0.6.0\n"
8
+ "Project-Id-Version: hammer-cli-foreman 0.7.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-12-11 04:48+0000\n"
11
- "PO-Revision-Date: 2015-12-15 09:31+0000\n"
12
- "Last-Translator: Lukáš Zapletal\n"
10
+ "POT-Creation-Date: 2016-02-25 15:04+0100\n"
11
+ "PO-Revision-Date: 2016-03-08 17:54+0000\n"
12
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
13
  "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/language/zh_CN/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -149,10 +149,10 @@ msgstr "管理用户组。"
149
149
  #: ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11
150
150
  #: ../lib/hammer_cli_foreman/settings.rb:11
151
151
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:8
152
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75
152
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74
153
153
  #: ../lib/hammer_cli_foreman/smart_proxy.rb:11
154
154
  #: ../lib/hammer_cli_foreman/smart_variable.rb:8
155
- #: ../lib/hammer_cli_foreman/smart_variable.rb:63
155
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:64
156
156
  #: ../lib/hammer_cli_foreman/subnet.rb:10
157
157
  #: ../lib/hammer_cli_foreman/template.rb:25
158
158
  #: ../lib/hammer_cli_foreman/user.rb:10
@@ -562,8 +562,8 @@ msgstr "取消资源关联"
562
562
  #: ../lib/hammer_cli_foreman/common_parameter.rb:13
563
563
  #: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:334
564
564
  #: ../lib/hammer_cli_foreman/settings.rb:13
565
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:77
566
- #: ../lib/hammer_cli_foreman/smart_variable.rb:65
565
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
566
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:66
567
567
  msgid "Value"
568
568
  msgstr "值"
569
569
 
@@ -634,7 +634,7 @@ msgstr "Url"
634
634
  #: ../lib/hammer_cli_foreman/compute_resource.rb:55
635
635
  #: ../lib/hammer_cli_foreman/domain.rb:42
636
636
  #: ../lib/hammer_cli_foreman/settings.rb:14
637
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:61
637
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:59
638
638
  #: ../lib/hammer_cli_foreman/smart_variable.rb:51
639
639
  msgid "Description"
640
640
  msgstr "描述"
@@ -918,7 +918,7 @@ msgstr "界面参数"
918
918
 
919
919
  #: ../lib/hammer_cli_foreman/host.rb:64
920
920
  msgid "Enter the root password for the host:"
921
- msgstr ""
921
+ msgstr "为主机输入 root 密码:"
922
922
 
923
923
  #: ../lib/hammer_cli_foreman/host.rb:153
924
924
  msgid "At least one interface must be set as primary"
@@ -948,15 +948,15 @@ msgstr "MAC"
948
948
 
949
949
  #: ../lib/hammer_cli_foreman/host.rb:185
950
950
  msgid "Bare Metal"
951
- msgstr ""
951
+ msgstr "裸机"
952
952
 
953
953
  #: ../lib/hammer_cli_foreman/host.rb:210
954
954
  msgid "Organization"
955
- msgstr ""
955
+ msgstr "组织"
956
956
 
957
957
  #: ../lib/hammer_cli_foreman/host.rb:211
958
958
  msgid "Location"
959
- msgstr ""
959
+ msgstr "位置"
960
960
 
961
961
  #: ../lib/hammer_cli_foreman/host.rb:213
962
962
  msgid "Compute Resource"
@@ -964,7 +964,7 @@ msgstr "计算机资源"
964
964
 
965
965
  #: ../lib/hammer_cli_foreman/host.rb:214
966
966
  msgid "Compute Profile"
967
- msgstr ""
967
+ msgstr "计算配置文件"
968
968
 
969
969
  #: ../lib/hammer_cli_foreman/host.rb:215
970
970
  #: ../lib/hammer_cli_foreman/hostgroup.rb:61
@@ -1036,21 +1036,21 @@ msgstr "SP 子网"
1036
1036
 
1037
1037
  #: ../lib/hammer_cli_foreman/host.rb:237
1038
1038
  msgid "Network interfaces"
1039
- msgstr ""
1039
+ msgstr "网络接口"
1040
1040
 
1041
1041
  #: ../lib/hammer_cli_foreman/host.rb:239
1042
1042
  #: ../lib/hammer_cli_foreman/interface.rb:24
1043
1043
  #: ../lib/hammer_cli_foreman/interface.rb:44
1044
1044
  msgid "Identifier"
1045
- msgstr ""
1045
+ msgstr "标示符"
1046
1046
 
1047
1047
  #: ../lib/hammer_cli_foreman/host.rb:240
1048
1048
  #: ../lib/hammer_cli_foreman/interface.rb:25
1049
1049
  #: ../lib/hammer_cli_foreman/interface.rb:45
1050
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:62
1051
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66
1050
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:60
1051
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65
1052
1052
  #: ../lib/hammer_cli_foreman/smart_variable.rb:12
1053
- #: ../lib/hammer_cli_foreman/smart_variable.rb:54
1053
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:55
1054
1054
  #: ../lib/hammer_cli_foreman/template.rb:27
1055
1055
  msgid "Type"
1056
1056
  msgstr "类型"
@@ -1059,13 +1059,13 @@ msgstr "类型"
1059
1059
  #: ../lib/hammer_cli_foreman/interface.rb:26
1060
1060
  #: ../lib/hammer_cli_foreman/interface.rb:46
1061
1061
  msgid "MAC address"
1062
- msgstr ""
1062
+ msgstr "MAC 地址"
1063
1063
 
1064
1064
  #: ../lib/hammer_cli_foreman/host.rb:242
1065
1065
  #: ../lib/hammer_cli_foreman/interface.rb:27
1066
1066
  #: ../lib/hammer_cli_foreman/interface.rb:47
1067
1067
  msgid "IP address"
1068
- msgstr ""
1068
+ msgstr "IP 地址"
1069
1069
 
1070
1070
  #: ../lib/hammer_cli_foreman/host.rb:243
1071
1071
  msgid "FQDN"
@@ -1073,7 +1073,7 @@ msgstr "FQDN"
1073
1073
 
1074
1074
  #: ../lib/hammer_cli_foreman/host.rb:246
1075
1075
  msgid "Operating system"
1076
- msgstr ""
1076
+ msgstr "操作系统"
1077
1077
 
1078
1078
  #: ../lib/hammer_cli_foreman/host.rb:247
1079
1079
  #: ../lib/hammer_cli_foreman/hostgroup.rb:75
@@ -1113,7 +1113,7 @@ msgstr "使用映像"
1113
1113
 
1114
1114
  #: ../lib/hammer_cli_foreman/host.rb:265
1115
1115
  msgid "Additional info"
1116
- msgstr ""
1116
+ msgstr "附加信息"
1117
1117
 
1118
1118
  #: ../lib/hammer_cli_foreman/host.rb:266
1119
1119
  msgid "Owner Id"
@@ -1341,14 +1341,14 @@ msgstr "环境名"
1341
1341
  msgid "Host name"
1342
1342
  msgstr "主机名"
1343
1343
 
1344
- #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1345
- msgid "Hostgroup title"
1346
- msgstr ""
1347
-
1348
1344
  #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1349
1345
  msgid "Hostgroup name"
1350
1346
  msgstr "主机组名"
1351
1347
 
1348
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1349
+ msgid "Hostgroup title"
1350
+ msgstr ""
1351
+
1352
1352
  #: ../lib/hammer_cli_foreman/id_resolver.rb:46
1353
1353
  msgid "Location name"
1354
1354
  msgstr "位置名称"
@@ -1489,23 +1489,23 @@ msgstr ""
1489
1489
  #: ../lib/hammer_cli_foreman/interface.rb:28
1490
1490
  #: ../lib/hammer_cli_foreman/interface.rb:48
1491
1491
  msgid "DNS name"
1492
- msgstr ""
1492
+ msgstr "DNS名称"
1493
1493
 
1494
1494
  #: ../lib/hammer_cli_foreman/interface.rb:52
1495
1495
  msgid "Primary"
1496
- msgstr ""
1496
+ msgstr ""
1497
1497
 
1498
1498
  #: ../lib/hammer_cli_foreman/interface.rb:53
1499
1499
  msgid "Provision"
1500
- msgstr ""
1500
+ msgstr "供应"
1501
1501
 
1502
1502
  #: ../lib/hammer_cli_foreman/interface.rb:54
1503
1503
  msgid "Virtual"
1504
- msgstr ""
1504
+ msgstr "虚拟"
1505
1505
 
1506
1506
  #: ../lib/hammer_cli_foreman/interface.rb:55
1507
1507
  msgid "Tag"
1508
- msgstr ""
1508
+ msgstr "标签"
1509
1509
 
1510
1510
  #: ../lib/hammer_cli_foreman/interface.rb:56
1511
1511
  msgid "Attached to"
@@ -1513,15 +1513,15 @@ msgstr ""
1513
1513
 
1514
1514
  #: ../lib/hammer_cli_foreman/interface.rb:58
1515
1515
  msgid "BMC"
1516
- msgstr ""
1516
+ msgstr "BMC"
1517
1517
 
1518
1518
  #: ../lib/hammer_cli_foreman/interface.rb:63
1519
1519
  msgid "Bond"
1520
- msgstr ""
1520
+ msgstr "捆绑"
1521
1521
 
1522
1522
  #: ../lib/hammer_cli_foreman/interface.rb:64
1523
1523
  msgid "Mode"
1524
- msgstr ""
1524
+ msgstr "型号"
1525
1525
 
1526
1526
  #: ../lib/hammer_cli_foreman/interface.rb:65
1527
1527
  msgid "Attached devices"
@@ -1573,68 +1573,73 @@ msgid "Could not delete the interface"
1573
1573
  msgstr ""
1574
1574
 
1575
1575
  #: ../lib/hammer_cli_foreman/location.rb:24
1576
- #: ../lib/hammer_cli_foreman/location.rb:62
1577
- #: ../lib/hammer_cli_foreman/location.rb:74
1576
+ #: ../lib/hammer_cli_foreman/location.rb:63
1577
+ #: ../lib/hammer_cli_foreman/location.rb:75
1578
1578
  msgid "Location numeric id to search by"
1579
1579
  msgstr "根据其进行搜索的位置数字 id"
1580
1580
 
1581
- #: ../lib/hammer_cli_foreman/location.rb:37
1581
+ #: ../lib/hammer_cli_foreman/location.rb:27
1582
+ #: ../lib/hammer_cli_foreman/organization.rb:27
1583
+ msgid "Parent"
1584
+ msgstr ""
1585
+
1586
+ #: ../lib/hammer_cli_foreman/location.rb:38
1582
1587
  #: ../lib/hammer_cli_foreman/references.rb:18
1583
1588
  msgid "Organizations"
1584
1589
  msgstr "组织"
1585
1590
 
1586
- #: ../lib/hammer_cli_foreman/location.rb:52
1591
+ #: ../lib/hammer_cli_foreman/location.rb:53
1587
1592
  msgid "Location created"
1588
1593
  msgstr "已生成位置"
1589
1594
 
1590
- #: ../lib/hammer_cli_foreman/location.rb:53
1595
+ #: ../lib/hammer_cli_foreman/location.rb:54
1591
1596
  msgid "Could not create the location"
1592
1597
  msgstr "无法生成位置"
1593
1598
 
1594
- #: ../lib/hammer_cli_foreman/location.rb:64
1599
+ #: ../lib/hammer_cli_foreman/location.rb:65
1595
1600
  msgid "Location updated"
1596
1601
  msgstr "已更新位置"
1597
1602
 
1598
- #: ../lib/hammer_cli_foreman/location.rb:65
1603
+ #: ../lib/hammer_cli_foreman/location.rb:66
1599
1604
  msgid "Could not update the location"
1600
1605
  msgstr "无法更新位置"
1601
1606
 
1602
- #: ../lib/hammer_cli_foreman/location.rb:76
1607
+ #: ../lib/hammer_cli_foreman/location.rb:77
1603
1608
  msgid "Location deleted"
1604
1609
  msgstr "已删除位置"
1605
1610
 
1606
- #: ../lib/hammer_cli_foreman/location.rb:77
1611
+ #: ../lib/hammer_cli_foreman/location.rb:78
1607
1612
  msgid "Could not delete the location"
1608
1613
  msgstr "无法删除位置"
1609
1614
 
1610
- #: ../lib/hammer_cli_foreman/location.rb:86
1615
+ #: ../lib/hammer_cli_foreman/location.rb:87
1611
1616
  msgid "Create or update parameter for a location."
1612
1617
  msgstr ""
1613
1618
 
1614
- #: ../lib/hammer_cli_foreman/location.rb:88
1615
- #: ../lib/hammer_cli_foreman/organization.rb:89
1619
+ #: ../lib/hammer_cli_foreman/location.rb:89
1620
+ #: ../lib/hammer_cli_foreman/organization.rb:90
1616
1621
  msgid "Parameter [%{name}] updated to value [%{value}]"
1617
1622
  msgstr ""
1618
1623
 
1619
- #: ../lib/hammer_cli_foreman/location.rb:89
1620
- #: ../lib/hammer_cli_foreman/organization.rb:90
1624
+ #: ../lib/hammer_cli_foreman/location.rb:90
1625
+ #: ../lib/hammer_cli_foreman/organization.rb:91
1621
1626
  msgid "Parameter [%{name}] created with value [%{value}]"
1622
1627
  msgstr ""
1623
1628
 
1624
- #: ../lib/hammer_cli_foreman/location.rb:90
1629
+ #: ../lib/hammer_cli_foreman/location.rb:91
1625
1630
  msgid "Could not set location parameter"
1626
1631
  msgstr ""
1627
1632
 
1628
- #: ../lib/hammer_cli_foreman/location.rb:97
1633
+ #: ../lib/hammer_cli_foreman/location.rb:98
1629
1634
  msgid "Delete parameter for a location."
1630
1635
  msgstr ""
1631
1636
 
1632
- #: ../lib/hammer_cli_foreman/location.rb:99
1633
- #: ../lib/hammer_cli_foreman/organization.rb:100
1637
+ #: ../lib/hammer_cli_foreman/location.rb:100
1638
+ #: ../lib/hammer_cli_foreman/organization.rb:101
1634
1639
  msgid "Parameter [%{name}] deleted"
1635
1640
  msgstr ""
1636
1641
 
1637
- #: ../lib/hammer_cli_foreman/location.rb:100
1642
+ #: ../lib/hammer_cli_foreman/location.rb:101
1638
1643
  msgid "Could not delete location parameter"
1639
1644
  msgstr ""
1640
1645
 
@@ -1817,48 +1822,48 @@ msgstr "无法删除默认模板"
1817
1822
  msgid "Default template of type %s not found"
1818
1823
  msgstr "未找到默认模板类型 %s"
1819
1824
 
1820
- #: ../lib/hammer_cli_foreman/organization.rb:37
1825
+ #: ../lib/hammer_cli_foreman/organization.rb:38
1821
1826
  #: ../lib/hammer_cli_foreman/references.rb:15
1822
1827
  msgid "Locations"
1823
1828
  msgstr "位置"
1824
1829
 
1825
- #: ../lib/hammer_cli_foreman/organization.rb:53
1830
+ #: ../lib/hammer_cli_foreman/organization.rb:54
1826
1831
  msgid "Organization created"
1827
1832
  msgstr "已生成机构"
1828
1833
 
1829
- #: ../lib/hammer_cli_foreman/organization.rb:54
1834
+ #: ../lib/hammer_cli_foreman/organization.rb:55
1830
1835
  msgid "Could not create the organization"
1831
1836
  msgstr "无法生成机构"
1832
1837
 
1833
- #: ../lib/hammer_cli_foreman/organization.rb:65
1838
+ #: ../lib/hammer_cli_foreman/organization.rb:66
1834
1839
  msgid "Organization updated"
1835
1840
  msgstr "已更新机构"
1836
1841
 
1837
- #: ../lib/hammer_cli_foreman/organization.rb:66
1842
+ #: ../lib/hammer_cli_foreman/organization.rb:67
1838
1843
  msgid "Could not update the organization"
1839
1844
  msgstr "无法更新机构"
1840
1845
 
1841
- #: ../lib/hammer_cli_foreman/organization.rb:77
1846
+ #: ../lib/hammer_cli_foreman/organization.rb:78
1842
1847
  msgid "Organization deleted"
1843
1848
  msgstr "已删除机构"
1844
1849
 
1845
- #: ../lib/hammer_cli_foreman/organization.rb:78
1850
+ #: ../lib/hammer_cli_foreman/organization.rb:79
1846
1851
  msgid "Could not delete the organization"
1847
1852
  msgstr "无法删除机构"
1848
1853
 
1849
- #: ../lib/hammer_cli_foreman/organization.rb:87
1854
+ #: ../lib/hammer_cli_foreman/organization.rb:88
1850
1855
  msgid "Create or update parameter for an organization."
1851
1856
  msgstr ""
1852
1857
 
1853
- #: ../lib/hammer_cli_foreman/organization.rb:91
1858
+ #: ../lib/hammer_cli_foreman/organization.rb:92
1854
1859
  msgid "Could not set organization parameter"
1855
1860
  msgstr ""
1856
1861
 
1857
- #: ../lib/hammer_cli_foreman/organization.rb:98
1862
+ #: ../lib/hammer_cli_foreman/organization.rb:99
1858
1863
  msgid "Delete parameter for an organization."
1859
1864
  msgstr ""
1860
1865
 
1861
- #: ../lib/hammer_cli_foreman/organization.rb:101
1866
+ #: ../lib/hammer_cli_foreman/organization.rb:102
1862
1867
  msgid "Could not delete organization parameter"
1863
1868
  msgstr ""
1864
1869
 
@@ -2087,38 +2092,38 @@ msgid "Builtin"
2087
2092
  msgstr ""
2088
2093
 
2089
2094
  #: ../lib/hammer_cli_foreman/role.rb:24
2090
- msgid "No"
2091
- msgstr ""
2095
+ msgid "Yes"
2096
+ msgstr ""
2092
2097
 
2093
2098
  #: ../lib/hammer_cli_foreman/role.rb:24
2094
- msgid "Yes"
2095
- msgstr ""
2099
+ msgid "No"
2100
+ msgstr ""
2096
2101
 
2097
2102
  #: ../lib/hammer_cli_foreman/role.rb:36
2098
2103
  msgid "User role id"
2099
2104
  msgstr "用户角色 id"
2100
2105
 
2101
- #: ../lib/hammer_cli_foreman/role.rb:60
2106
+ #: ../lib/hammer_cli_foreman/role.rb:64
2102
2107
  msgid "User role [%<name>s] created"
2103
2108
  msgstr "已生成用户角色 [%<name>s]"
2104
2109
 
2105
- #: ../lib/hammer_cli_foreman/role.rb:61
2110
+ #: ../lib/hammer_cli_foreman/role.rb:65
2106
2111
  msgid "Could not create the user role"
2107
2112
  msgstr "无法生成用户角色"
2108
2113
 
2109
- #: ../lib/hammer_cli_foreman/role.rb:68
2114
+ #: ../lib/hammer_cli_foreman/role.rb:72
2110
2115
  msgid "User role [%<name>s] updated"
2111
2116
  msgstr "已更新用户角色 [%<name>s]"
2112
2117
 
2113
- #: ../lib/hammer_cli_foreman/role.rb:69
2118
+ #: ../lib/hammer_cli_foreman/role.rb:73
2114
2119
  msgid "Could not update the user role"
2115
2120
  msgstr "无法更新用户角色"
2116
2121
 
2117
- #: ../lib/hammer_cli_foreman/role.rb:76
2122
+ #: ../lib/hammer_cli_foreman/role.rb:80
2118
2123
  msgid "User role [%<name>s] deleted"
2119
2124
  msgstr "已删除用户角色 [%<name>s]"
2120
2125
 
2121
- #: ../lib/hammer_cli_foreman/role.rb:77
2126
+ #: ../lib/hammer_cli_foreman/role.rb:81
2122
2127
  msgid "Could not delete the user roles"
2123
2128
  msgstr "无法删除用户角色"
2124
2129
 
@@ -2139,108 +2144,113 @@ msgstr "默认值"
2139
2144
  msgid "Override"
2140
2145
  msgstr "覆盖"
2141
2146
 
2142
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:36
2147
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:35
2143
2148
  #: ../lib/hammer_cli_foreman/smart_variable.rb:27
2144
2149
  msgid "Puppet class"
2145
2150
  msgstr "Puppet 类"
2146
2151
 
2147
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:37
2152
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:36
2148
2153
  #: ../lib/hammer_cli_foreman/smart_variable.rb:28
2149
2154
  msgid "Class Id"
2150
2155
  msgstr "分类 Id"
2151
2156
 
2152
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:63
2157
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:61
2158
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:52
2159
+ msgid "Hidden Value?"
2160
+ msgstr ""
2161
+
2162
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:62
2153
2163
  msgid "Required"
2154
2164
  msgstr "必需的"
2155
2165
 
2156
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65
2157
- #: ../lib/hammer_cli_foreman/smart_variable.rb:53
2166
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:64
2167
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:54
2158
2168
  msgid "Validator"
2159
2169
  msgstr "验证程序"
2160
2170
 
2161
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:67
2162
- #: ../lib/hammer_cli_foreman/smart_variable.rb:55
2171
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66
2172
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:56
2163
2173
  msgid "Rule"
2164
2174
  msgstr "规则"
2165
2175
 
2166
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69
2167
- #: ../lib/hammer_cli_foreman/smart_variable.rb:57
2176
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:68
2177
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:58
2168
2178
  msgid "Override values"
2169
2179
  msgstr "覆盖值"
2170
2180
 
2171
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70
2172
- #: ../lib/hammer_cli_foreman/smart_variable.rb:58
2181
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69
2182
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:59
2173
2183
  msgid "Merge overrides"
2174
2184
  msgstr ""
2175
2185
 
2176
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71
2177
- #: ../lib/hammer_cli_foreman/smart_variable.rb:59
2186
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70
2187
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:60
2178
2188
  msgid "Merge default value"
2179
2189
  msgstr ""
2180
2190
 
2181
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72
2182
- #: ../lib/hammer_cli_foreman/smart_variable.rb:60
2191
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71
2192
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:61
2183
2193
  msgid "Avoid duplicates"
2184
2194
  msgstr ""
2185
2195
 
2186
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73
2187
- #: ../lib/hammer_cli_foreman/smart_variable.rb:61
2196
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72
2197
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:62
2188
2198
  msgid "Order"
2189
2199
  msgstr "订购"
2190
2200
 
2191
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74
2192
- #: ../lib/hammer_cli_foreman/smart_variable.rb:62
2201
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73
2202
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:63
2193
2203
  msgid "Values"
2194
- msgstr ""
2204
+ msgstr ""
2195
2205
 
2196
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
2197
- #: ../lib/hammer_cli_foreman/smart_variable.rb:64
2206
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75
2207
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:65
2198
2208
  msgid "Match"
2199
2209
  msgstr "匹配"
2200
2210
 
2201
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2211
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:102
2202
2212
  msgid "Parameter updated"
2203
2213
  msgstr "已更新参数"
2204
2214
 
2205
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:104
2215
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2206
2216
  msgid "Could not update the parameter"
2207
2217
  msgstr "无法更新参数"
2208
2218
 
2209
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:111
2219
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:110
2210
2220
  msgid "Override this parameter."
2211
2221
  msgstr "覆盖整个参数。"
2212
2222
 
2213
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:113
2223
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:112
2214
2224
  msgid "This parameter is required."
2215
2225
  msgstr "需要这个参数。"
2216
2226
 
2217
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:115
2227
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:114
2218
2228
  msgid "Type of the parameter."
2219
2229
  msgstr "参数类型。"
2220
2230
 
2221
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:118
2222
- #: ../lib/hammer_cli_foreman/smart_variable.rb:90
2223
- #: ../lib/hammer_cli_foreman/smart_variable.rb:104
2231
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117
2232
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:91
2233
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:105
2224
2234
  msgid "Type of the validator."
2225
2235
  msgstr "验证程序类型。"
2226
2236
 
2227
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132
2228
- #: ../lib/hammer_cli_foreman/smart_variable.rb:122
2237
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:131
2238
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:123
2229
2239
  msgid "Override value created"
2230
2240
  msgstr ""
2231
2241
 
2232
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:133
2233
- #: ../lib/hammer_cli_foreman/smart_variable.rb:123
2242
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132
2243
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:124
2234
2244
  msgid "Could not create the override_value"
2235
2245
  msgstr ""
2236
2246
 
2237
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152
2238
- #: ../lib/hammer_cli_foreman/smart_variable.rb:135
2247
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151
2248
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:136
2239
2249
  msgid "Override value deleted"
2240
2250
  msgstr ""
2241
2251
 
2242
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:153
2243
- #: ../lib/hammer_cli_foreman/smart_variable.rb:136
2252
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152
2253
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:137
2244
2254
  msgid "Could not delete the override value"
2245
2255
  msgstr ""
2246
2256
 
@@ -2297,32 +2307,32 @@ msgstr "已刷新智能代理服务器"
2297
2307
  msgid "Refresh of smart proxy features failed"
2298
2308
  msgstr "刷新智能代理服务器失败"
2299
2309
 
2300
- #: ../lib/hammer_cli_foreman/smart_variable.rb:82
2310
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2301
2311
  msgid "Smart variable [%{variable}] created"
2302
2312
  msgstr ""
2303
2313
 
2304
- #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2314
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:84
2305
2315
  msgid "Could not create the smart variable"
2306
2316
  msgstr ""
2307
2317
 
2308
- #: ../lib/hammer_cli_foreman/smart_variable.rb:87
2309
- #: ../lib/hammer_cli_foreman/smart_variable.rb:101
2318
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:88
2319
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:102
2310
2320
  msgid "Type of the variable."
2311
2321
  msgstr ""
2312
2322
 
2313
- #: ../lib/hammer_cli_foreman/smart_variable.rb:96
2323
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2314
2324
  msgid "Smart variable [%{variable}] updated"
2315
2325
  msgstr ""
2316
2326
 
2317
- #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2327
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:98
2318
2328
  msgid "Could not update the smart variable"
2319
2329
  msgstr ""
2320
2330
 
2321
- #: ../lib/hammer_cli_foreman/smart_variable.rb:111
2331
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2322
2332
  msgid "Smart variable [%{variable}] deleted"
2323
2333
  msgstr ""
2324
2334
 
2325
- #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2335
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:113
2326
2336
  msgid "Could not delete the smart variable"
2327
2337
  msgstr ""
2328
2338
 
@@ -2356,7 +2366,7 @@ msgstr "DHCP"
2356
2366
 
2357
2367
  #: ../lib/hammer_cli_foreman/subnet.rb:29
2358
2368
  msgid "IPAM"
2359
- msgstr ""
2369
+ msgstr "IPAM"
2360
2370
 
2361
2371
  #: ../lib/hammer_cli_foreman/subnet.rb:30
2362
2372
  msgid "VLAN ID"
@@ -2442,7 +2452,7 @@ msgstr "无法删除配置模板"
2442
2452
 
2443
2453
  #: ../lib/hammer_cli_foreman/template.rb:150
2444
2454
  msgid "Update the default PXE menu on all configured TFTP servers"
2445
- msgstr ""
2455
+ msgstr "更新所有配置 TFTP 服务器的默认 PXE 菜单"
2446
2456
 
2447
2457
  #: ../lib/hammer_cli_foreman/user.rb:11
2448
2458
  msgid "Login"
@@ -2462,11 +2472,11 @@ msgstr "授权"
2462
2472
 
2463
2473
  #: ../lib/hammer_cli_foreman/user.rb:30
2464
2474
  msgid "Locale"
2465
- msgstr ""
2475
+ msgstr "区域设置"
2466
2476
 
2467
2477
  #: ../lib/hammer_cli_foreman/user.rb:31
2468
2478
  msgid "Timezone"
2469
- msgstr ""
2479
+ msgstr "时区"
2470
2480
 
2471
2481
  #: ../lib/hammer_cli_foreman/user.rb:32
2472
2482
  msgid "Last login"
@@ -2482,7 +2492,7 @@ msgstr "默认位置"
2482
2492
 
2483
2493
  #: ../lib/hammer_cli_foreman/user.rb:42 ../lib/hammer_cli_foreman/user.rb:43
2484
2494
  msgid "default"
2485
- msgstr ""
2495
+ msgstr "默认"
2486
2496
 
2487
2497
  #: ../lib/hammer_cli_foreman/user.rb:53
2488
2498
  msgid "User [%{login}] created"