hammer_cli_foreman 0.5.1 → 0.6.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 (301) hide show
  1. checksums.yaml +4 -4
  2. data/doc/release_notes.md +9 -0
  3. data/lib/hammer_cli_foreman/id_resolver.rb +1 -1
  4. data/lib/hammer_cli_foreman/location.rb +1 -0
  5. data/lib/hammer_cli_foreman/organization.rb +1 -0
  6. data/lib/hammer_cli_foreman/role.rb +4 -0
  7. data/lib/hammer_cli_foreman/smart_class_parameter.rb +3 -4
  8. data/lib/hammer_cli_foreman/smart_variable.rb +1 -0
  9. data/lib/hammer_cli_foreman/testing/api_expectations.rb +68 -0
  10. data/lib/hammer_cli_foreman/version.rb +1 -1
  11. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  12. data/locale/de/hammer-cli-foreman.edit.po +93 -98
  13. data/locale/de/hammer-cli-foreman.po +32 -20
  14. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  15. data/locale/en/hammer-cli-foreman.edit.po +77 -69
  16. data/locale/en/hammer-cli-foreman.po +11 -5
  17. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  18. data/locale/en_GB/hammer-cli-foreman.edit.po +81 -73
  19. data/locale/en_GB/hammer-cli-foreman.po +83 -69
  20. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  21. data/locale/es/hammer-cli-foreman.edit.po +142 -145
  22. data/locale/es/hammer-cli-foreman.po +29 -17
  23. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  24. data/locale/fr/hammer-cli-foreman.edit.po +94 -99
  25. data/locale/fr/hammer-cli-foreman.po +54 -42
  26. data/locale/hammer-cli-foreman.pot +106 -96
  27. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  28. data/locale/it/hammer-cli-foreman.edit.po +93 -98
  29. data/locale/it/hammer-cli-foreman.po +28 -16
  30. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  31. data/locale/ja/hammer-cli-foreman.edit.po +93 -98
  32. data/locale/ja/hammer-cli-foreman.po +28 -16
  33. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  34. data/locale/ko/hammer-cli-foreman.edit.po +94 -99
  35. data/locale/ko/hammer-cli-foreman.po +28 -16
  36. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  37. data/locale/pt_BR/hammer-cli-foreman.edit.po +93 -98
  38. data/locale/pt_BR/hammer-cli-foreman.po +28 -16
  39. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  40. data/locale/ru/hammer-cli-foreman.edit.po +93 -98
  41. data/locale/ru/hammer-cli-foreman.po +28 -16
  42. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  43. data/locale/zh_CN/hammer-cli-foreman.edit.po +93 -98
  44. data/locale/zh_CN/hammer-cli-foreman.po +28 -16
  45. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  46. data/locale/zh_TW/hammer-cli-foreman.edit.po +93 -98
  47. data/locale/zh_TW/hammer-cli-foreman.po +28 -16
  48. data/test/{unit/data → data}/1.10/foreman_api.json +0 -0
  49. data/test/{unit/data → data}/README.md +0 -0
  50. data/test/functional/location_test.rb +8 -8
  51. data/test/functional/organization_test.rb +8 -8
  52. data/test/functional/smart_class_parameter_test.rb +21 -0
  53. data/test/functional/test_helper.rb +4 -4
  54. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
  55. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
  56. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
  57. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
  58. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
  59. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
  60. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
  61. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
  62. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
  63. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
  64. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
  65. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
  66. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
  67. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
  68. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
  69. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
  70. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
  71. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
  72. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
  73. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
  74. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
  75. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
  76. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
  77. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
  78. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
  79. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
  80. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
  81. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
  82. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
  83. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
  84. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
  85. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
  86. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
  88. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
  89. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
  90. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
  91. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
  92. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
  93. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
  94. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
  95. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
  96. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
  97. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
  98. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
  99. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
  100. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
  101. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
  102. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
  103. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
  104. data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
  105. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
  106. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
  107. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
  108. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
  109. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
  110. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
  111. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
  112. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
  113. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
  114. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
  115. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
  116. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
  117. data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
  118. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
  119. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
  120. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
  121. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
  122. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
  123. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
  124. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
  125. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
  126. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
  127. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
  128. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
  129. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
  130. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
  131. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
  132. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
  133. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
  134. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
  135. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
  136. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
  137. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
  138. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
  139. data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
  140. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
  141. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
  142. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
  143. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
  144. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
  145. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
  146. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
  147. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
  148. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
  149. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
  150. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
  151. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
  152. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
  153. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
  154. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
  155. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
  156. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
  157. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
  158. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
  159. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
  160. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
  161. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
  162. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
  163. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
  164. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
  165. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
  166. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
  167. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
  168. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
  169. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
  170. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
  171. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
  172. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
  173. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
  174. data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
  175. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
  176. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
  177. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
  178. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
  179. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
  180. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
  181. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
  182. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
  183. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
  184. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
  185. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
  186. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
  187. data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
  188. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
  189. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
  190. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
  191. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
  192. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
  193. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
  194. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
  195. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
  196. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
  197. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
  198. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
  199. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
  200. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
  201. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
  202. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
  203. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
  204. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
  205. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
  206. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
  207. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
  208. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
  209. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
  210. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
  211. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
  212. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
  213. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
  214. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
  215. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
  216. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
  217. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
  218. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
  219. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
  220. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
  221. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
  222. data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
  223. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
  224. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
  225. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
  226. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
  227. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
  228. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
  229. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
  230. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
  231. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
  232. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
  233. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
  234. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
  235. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
  236. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
  237. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
  238. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
  239. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
  240. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
  241. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
  242. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
  243. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
  244. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
  245. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
  246. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
  247. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
  248. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
  249. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
  250. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
  251. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
  252. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
  253. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
  254. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
  255. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
  256. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
  257. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
  258. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
  259. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
  260. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
  261. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
  262. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
  263. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
  264. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
  265. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
  266. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
  267. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
  268. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
  269. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
  270. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
  271. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
  272. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
  273. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
  274. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
  275. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
  276. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
  277. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
  278. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
  279. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
  280. data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
  281. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
  282. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
  283. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
  284. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
  285. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
  286. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
  287. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
  288. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
  289. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
  290. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
  291. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
  292. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
  293. data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
  294. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  295. data/test/test_helper.rb +1 -1
  296. data/test/unit/location_test.rb +1 -0
  297. data/test/unit/organization_test.rb +1 -0
  298. data/test/unit/role_test.rb +8 -5
  299. metadata +541 -61
  300. data/test/functional/api_expectations.rb +0 -65
  301. data/test/functional/command_assertions.rb +0 -76
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b96bea907daf3e00a3711838e75bb083cd554a5
4
- data.tar.gz: 10ab84af085da40d1270d0e9ca379eed84984abf
3
+ metadata.gz: b208d88c85195acf421df8b2ffa55881087a5f55
4
+ data.tar.gz: c2befa38484f39d7c8afa020f479611ed259da87
5
5
  SHA512:
6
- metadata.gz: 8bca3ca2f34be917edbb665599ad87134cfd6876501ceb1aad7e0ce72452a2ca868f1be1104ae4abb49fac030745cb7e8c537b929ccab770d193b2cd419e77a1
7
- data.tar.gz: 3426b609f6fccc383c7cdd9e69dc4ba940c7dfc26213998d6cfdcf269a12f9c19f338b002ddba1be88334fce50117821f00094b73a3dc571915112adf85bf647
6
+ metadata.gz: f0879a29095aa33655b02972feb49047bce053c9bbd84157333ece6315f3976fd5b6c4d1832e50f90c9d448cfaaff0b01082377ecddd538c2e6b30ba6821477a
7
+ data.tar.gz: 17d93c97083a3bf583ccfdae070d68a83646eb6480c861f022b0cbfb752681cdb609998f40ee69471950fa9e38fbf2cf2571b63ea51aa020f74d80584fec9cad
data/doc/release_notes.md CHANGED
@@ -1,6 +1,15 @@
1
1
  Release notes
2
2
  =============
3
3
 
4
+ ### 0.6.0 (2016-02-25)
5
+ * Names of sc-params are immutable ([#13830](http://projects.theforeman.org/issues/13830))
6
+ * Support for command testing moved to core ([#4118](http://projects.theforeman.org/issues/4118))
7
+ * Adding parent to taxonomies info command ([#13758](http://projects.theforeman.org/issues/13758))
8
+ * Showing hidden_value? for smart variables and class parameters ([#13750](http://projects.theforeman.org/issues/13750))
9
+ * Executing "hammer role filters" command throws SQL errors ([#13064](http://projects.theforeman.org/issues/13064))
10
+ * Remove psych require from Gemfile ([#12797](http://projects.theforeman.org/issues/12797))
11
+ * Hammer listing the sc-params shows puppetclass ([#12998](http://projects.theforeman.org/issues/12998))
12
+
4
13
  ### 0.5.1 (2015-12-14)
5
14
  * Fixing dependency issues
6
15
 
@@ -59,7 +59,7 @@ module HammerCLIForeman
59
59
  :template => [],
60
60
  :user => [ s("login", _("User's login to search by")) ],
61
61
  :common_parameter => [ s_name(_("Common parameter name")) ],
62
- :smart_class_parameter => [ s_name(_("Smart class parameter name")) ],
62
+ :smart_class_parameter => [ s_name(_("Smart class parameter name"), :editable => false) ],
63
63
  :smart_variable => [ s_name(_("Smart variable name")) ]
64
64
  }
65
65
  DEFAULT_SEARCHABLES = [ s_name(_("Name to search by")) ]
@@ -24,6 +24,7 @@ module HammerCLIForeman
24
24
  option '--id', 'ID', _("Location numeric id to search by")
25
25
 
26
26
  output ListCommand.output_definition do
27
+ field nil, _("Parent"), Fields::SingleReference, :key => :parent
27
28
  HammerCLIForeman::References.users(self)
28
29
  HammerCLIForeman::References.smart_proxies(self)
29
30
  HammerCLIForeman::References.subnets(self)
@@ -24,6 +24,7 @@ module HammerCLIForeman
24
24
  option "--id", "ID", " ", :referenced_resource => 'organization'
25
25
 
26
26
  output ListCommand.output_definition do
27
+ field nil, _("Parent"), Fields::SingleReference, :key => :parent
27
28
  HammerCLIForeman::References.users(self)
28
29
  HammerCLIForeman::References.smart_proxies(self)
29
30
  HammerCLIForeman::References.subnets(self)
@@ -53,6 +53,10 @@ module HammerCLIForeman
53
53
  o.expand.primary(:roles)
54
54
  o.without(:search)
55
55
  end
56
+
57
+ def validate_options
58
+ validator.any(:option_name, :option_id).required
59
+ end
56
60
  end
57
61
 
58
62
 
@@ -32,10 +32,8 @@ module HammerCLIForeman
32
32
  class SmartClassParametersList < SmartClassParametersBriefList
33
33
 
34
34
  output do
35
- from :puppetclass do
36
- field :name, _("Puppet class")
37
- field :id, _("Class Id"), Fields::Id
38
- end
35
+ field :puppetclass_name, _("Puppet class")
36
+ field :puppetclass_id, _("Class Id"), Fields::Id
39
37
  end
40
38
  end
41
39
 
@@ -60,6 +58,7 @@ module HammerCLIForeman
60
58
  output ListCommand.output_definition do
61
59
  field :description, _("Description")
62
60
  field :parameter_type, _("Type")
61
+ field :hidden_value?, _("Hidden Value?")
63
62
  field :required, _("Required")
64
63
 
65
64
  label _("Validator") do
@@ -49,6 +49,7 @@ module HammerCLIForeman
49
49
 
50
50
  output ListCommand.output_definition do
51
51
  field :description, _("Description")
52
+ field :hidden_value?, _("Hidden Value?")
52
53
 
53
54
  label _("Validator") do
54
55
  field :validator_type, _("Type")
@@ -0,0 +1,68 @@
1
+ module HammerCLIForeman
2
+ module Testing
3
+ module APIExpectations
4
+ class BlockMatcher < Mocha::ParameterMatchers::Base
5
+ def initialize(resource=nil, action=nil, &block)
6
+ @expected_resource = resource
7
+ @expected_action = action
8
+ @block = block if block_given?
9
+ end
10
+
11
+ def matches?(actual_parameters)
12
+ resource, action, params, headers, options = actual_parameters.shift(5)
13
+
14
+ result = true
15
+ result &&= (resource.to_s == @expected_resource.to_s) unless @expected_resource.nil?
16
+ result &&= (action.to_s == @expected_action.to_s) unless @expected_action.nil?
17
+ result &&= @block.call(params) if @block
18
+ result
19
+ end
20
+
21
+ def mocha_inspect
22
+ res = @expected_resource.nil? ? 'any_resource' : ":#{@expected_resource}"
23
+ act = @expected_action.nil? ? 'any_action' : ":#{@expected_action}"
24
+ blk = @block ? '&block' : '*any_argument'
25
+ "#{res}, #{act}, #{blk}"
26
+ end
27
+ end
28
+
29
+ module ExpectationExtensions
30
+ def method_signature
31
+ "#{@note}\n #{super}"
32
+ end
33
+
34
+ def set_note(note)
35
+ @note = note
36
+ end
37
+ end
38
+
39
+ def api_expects(resource=nil, action=nil, note=nil, &block)
40
+ ex = ApipieBindings::API.any_instance.expects(:call)
41
+ ex.extend(ExpectationExtensions)
42
+ ex.with(BlockMatcher.new(resource, action, &block))
43
+ ex.set_note(note)
44
+ ex
45
+ end
46
+
47
+ def api_expects_no_call
48
+ ApipieBindings::API.any_instance.expects(:call).never
49
+ end
50
+
51
+ def index_response(items)
52
+ cnt = items.length
53
+ {
54
+ "total" => cnt,
55
+ "subtotal" => cnt,
56
+ "page" => 1,
57
+ "per_page" => cnt,
58
+ "search" => "",
59
+ "sort" => {
60
+ "by" => nil,
61
+ "order" => nil
62
+ },
63
+ "results" => items
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForeman
2
2
  def self.version
3
- @version ||= Gem::Version.new '0.5.1'
3
+ @version ||= Gem::Version.new '0.6.0'
4
4
  end
5
5
  end
@@ -12,9 +12,9 @@ msgid ""
12
12
  msgstr ""
13
13
  "Project-Id-Version: hammer-cli-foreman 0.4.0\n"
14
14
  "Report-Msgid-Bugs-To: \n"
15
- "POT-Creation-Date: 2015-12-11 04:48+0000\n"
16
- "PO-Revision-Date: 2015-10-15 20:27+0000\n"
17
- "Last-Translator: mbacovsky <martin.bacovsky@gmail.com>\n"
15
+ "POT-Creation-Date: 2016-02-25 15:04+0100\n"
16
+ "PO-Revision-Date: 2015-12-11 09:30+0000\n"
17
+ "Last-Translator: Lukáš Zapletal\n"
18
18
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
19
19
  "MIME-Version: 1.0\n"
20
20
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -130,7 +130,7 @@ msgstr "Benutzer bearbeiten."
130
130
  msgid "Manage user groups."
131
131
  msgstr "Benutzergruppen verwalten."
132
132
 
133
- #: ../lib/hammer_cli_foreman/architecture.rb:10 ../lib/hammer_cli_foreman/auth_source_ldap.rb:13 ../lib/hammer_cli_foreman/compute_resource.rb:20 ../lib/hammer_cli_foreman/domain.rb:31 ../lib/hammer_cli_foreman/environment.rb:14 ../lib/hammer_cli_foreman/external_usergroup.rb:10 ../lib/hammer_cli_foreman/filter.rb:9 ../lib/hammer_cli_foreman/filter.rb:72 ../lib/hammer_cli_foreman/host.rb:170 ../lib/hammer_cli_foreman/host.rb:207 ../lib/hammer_cli_foreman/host.rb:238 ../lib/hammer_cli_foreman/hostgroup.rb:57 ../lib/hammer_cli_foreman/image.rb:29 ../lib/hammer_cli_foreman/interface.rb:23 ../lib/hammer_cli_foreman/interface.rb:43 ../lib/hammer_cli_foreman/location.rb:13 ../lib/hammer_cli_foreman/media.rb:9 ../lib/hammer_cli_foreman/model.rb:10 ../lib/hammer_cli_foreman/operating_system.rb:10 ../lib/hammer_cli_foreman/organization.rb:13 ../lib/hammer_cli_foreman/partition_table.rb:10 ../lib/hammer_cli_foreman/puppet_class.rb:13 ../lib/hammer_cli_foreman/report.rb:10 ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11 ../lib/hammer_cli_foreman/settings.rb:11 ../lib/hammer_cli_foreman/smart_class_parameter.rb:8 ../lib/hammer_cli_foreman/smart_class_parameter.rb:75 ../lib/hammer_cli_foreman/smart_proxy.rb:11 ../lib/hammer_cli_foreman/smart_variable.rb:8 ../lib/hammer_cli_foreman/smart_variable.rb:63 ../lib/hammer_cli_foreman/subnet.rb:10 ../lib/hammer_cli_foreman/template.rb:25 ../lib/hammer_cli_foreman/user.rb:10 ../lib/hammer_cli_foreman/usergroup.rb:11
133
+ #: ../lib/hammer_cli_foreman/architecture.rb:10 ../lib/hammer_cli_foreman/auth_source_ldap.rb:13 ../lib/hammer_cli_foreman/compute_resource.rb:20 ../lib/hammer_cli_foreman/domain.rb:31 ../lib/hammer_cli_foreman/environment.rb:14 ../lib/hammer_cli_foreman/external_usergroup.rb:10 ../lib/hammer_cli_foreman/filter.rb:9 ../lib/hammer_cli_foreman/filter.rb:72 ../lib/hammer_cli_foreman/host.rb:170 ../lib/hammer_cli_foreman/host.rb:207 ../lib/hammer_cli_foreman/host.rb:238 ../lib/hammer_cli_foreman/hostgroup.rb:57 ../lib/hammer_cli_foreman/image.rb:29 ../lib/hammer_cli_foreman/interface.rb:23 ../lib/hammer_cli_foreman/interface.rb:43 ../lib/hammer_cli_foreman/location.rb:13 ../lib/hammer_cli_foreman/media.rb:9 ../lib/hammer_cli_foreman/model.rb:10 ../lib/hammer_cli_foreman/operating_system.rb:10 ../lib/hammer_cli_foreman/organization.rb:13 ../lib/hammer_cli_foreman/partition_table.rb:10 ../lib/hammer_cli_foreman/puppet_class.rb:13 ../lib/hammer_cli_foreman/report.rb:10 ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11 ../lib/hammer_cli_foreman/settings.rb:11 ../lib/hammer_cli_foreman/smart_class_parameter.rb:8 ../lib/hammer_cli_foreman/smart_class_parameter.rb:74 ../lib/hammer_cli_foreman/smart_proxy.rb:11 ../lib/hammer_cli_foreman/smart_variable.rb:8 ../lib/hammer_cli_foreman/smart_variable.rb:64 ../lib/hammer_cli_foreman/subnet.rb:10 ../lib/hammer_cli_foreman/template.rb:25 ../lib/hammer_cli_foreman/user.rb:10 ../lib/hammer_cli_foreman/usergroup.rb:11
134
134
  msgid "Id"
135
135
  msgstr "ID"
136
136
 
@@ -504,7 +504,7 @@ msgstr "Ressource zuweisen"
504
504
  msgid "Disassociate a resource"
505
505
  msgstr "Ressource lösen"
506
506
 
507
- #: ../lib/hammer_cli_foreman/common_parameter.rb:13 ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:334 ../lib/hammer_cli_foreman/settings.rb:13 ../lib/hammer_cli_foreman/smart_class_parameter.rb:77 ../lib/hammer_cli_foreman/smart_variable.rb:65
507
+ #: ../lib/hammer_cli_foreman/common_parameter.rb:13 ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:334 ../lib/hammer_cli_foreman/settings.rb:13 ../lib/hammer_cli_foreman/smart_class_parameter.rb:76 ../lib/hammer_cli_foreman/smart_variable.rb:66
508
508
  msgid "Value"
509
509
  msgstr "Wert"
510
510
 
@@ -564,7 +564,7 @@ msgstr "Mandant"
564
564
  msgid "Url"
565
565
  msgstr "URL"
566
566
 
567
- #: ../lib/hammer_cli_foreman/compute_resource.rb:55 ../lib/hammer_cli_foreman/domain.rb:42 ../lib/hammer_cli_foreman/settings.rb:14 ../lib/hammer_cli_foreman/smart_class_parameter.rb:61 ../lib/hammer_cli_foreman/smart_variable.rb:51
567
+ #: ../lib/hammer_cli_foreman/compute_resource.rb:55 ../lib/hammer_cli_foreman/domain.rb:42 ../lib/hammer_cli_foreman/settings.rb:14 ../lib/hammer_cli_foreman/smart_class_parameter.rb:59 ../lib/hammer_cli_foreman/smart_variable.rb:51
568
568
  msgid "Description"
569
569
  msgstr "Beschreibung"
570
570
 
@@ -952,7 +952,7 @@ msgstr "Netzwerkschnittstellen"
952
952
  msgid "Identifier"
953
953
  msgstr "Bezeichner"
954
954
 
955
- #: ../lib/hammer_cli_foreman/host.rb:240 ../lib/hammer_cli_foreman/interface.rb:25 ../lib/hammer_cli_foreman/interface.rb:45 ../lib/hammer_cli_foreman/smart_class_parameter.rb:62 ../lib/hammer_cli_foreman/smart_class_parameter.rb:66 ../lib/hammer_cli_foreman/smart_variable.rb:12 ../lib/hammer_cli_foreman/smart_variable.rb:54 ../lib/hammer_cli_foreman/template.rb:27
955
+ #: ../lib/hammer_cli_foreman/host.rb:240 ../lib/hammer_cli_foreman/interface.rb:25 ../lib/hammer_cli_foreman/interface.rb:45 ../lib/hammer_cli_foreman/smart_class_parameter.rb:60 ../lib/hammer_cli_foreman/smart_class_parameter.rb:65 ../lib/hammer_cli_foreman/smart_variable.rb:12 ../lib/hammer_cli_foreman/smart_variable.rb:55 ../lib/hammer_cli_foreman/template.rb:27
956
956
  msgid "Type"
957
957
  msgstr "Typ"
958
958
 
@@ -1232,14 +1232,14 @@ msgstr "Umgebungsname"
1232
1232
  msgid "Host name"
1233
1233
  msgstr "Hostname"
1234
1234
 
1235
- #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1236
- msgid "Hostgroup title"
1237
- msgstr "Hostgruppentitel"
1238
-
1239
1235
  #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1240
1236
  msgid "Hostgroup name"
1241
1237
  msgstr "Hostgruppenname"
1242
1238
 
1239
+ #: ../lib/hammer_cli_foreman/id_resolver.rb:43
1240
+ msgid "Hostgroup title"
1241
+ msgstr "Hostgruppentitel"
1242
+
1243
1243
  #: ../lib/hammer_cli_foreman/id_resolver.rb:46
1244
1244
  msgid "Location name"
1245
1245
  msgstr "Standortname"
@@ -1317,9 +1317,8 @@ msgid "%s not found"
1317
1317
  msgstr "%s nicht gefunden"
1318
1318
 
1319
1319
  #: ../lib/hammer_cli_foreman/id_resolver.rb:201
1320
- #, fuzzy
1321
1320
  msgid "found more than one %s"
1322
- msgstr "%s mehr als einmal gefunden"
1321
+ msgstr ""
1323
1322
 
1324
1323
  #: ../lib/hammer_cli_foreman/id_resolver.rb:212
1325
1324
  msgid "Missing options to search %s"
@@ -1457,71 +1456,70 @@ msgstr "Schnittstelle gelöscht"
1457
1456
  msgid "Could not delete the interface"
1458
1457
  msgstr "Schnittstelle konnte nicht gelöscht werden"
1459
1458
 
1460
- #: ../lib/hammer_cli_foreman/location.rb:24 ../lib/hammer_cli_foreman/location.rb:62 ../lib/hammer_cli_foreman/location.rb:74
1459
+ #: ../lib/hammer_cli_foreman/location.rb:24 ../lib/hammer_cli_foreman/location.rb:63 ../lib/hammer_cli_foreman/location.rb:75
1461
1460
  msgid "Location numeric id to search by"
1462
1461
  msgstr "Zu suchende numerische Standort-ID"
1463
1462
 
1464
- #: ../lib/hammer_cli_foreman/location.rb:37 ../lib/hammer_cli_foreman/references.rb:18
1463
+ #: ../lib/hammer_cli_foreman/location.rb:27 ../lib/hammer_cli_foreman/organization.rb:27
1464
+ #, fuzzy
1465
+ msgid "Parent"
1466
+ msgstr "Übergeordnete ID"
1467
+
1468
+ #: ../lib/hammer_cli_foreman/location.rb:38 ../lib/hammer_cli_foreman/references.rb:18
1465
1469
  msgid "Organizations"
1466
1470
  msgstr "Organisationen"
1467
1471
 
1468
- #: ../lib/hammer_cli_foreman/location.rb:52
1472
+ #: ../lib/hammer_cli_foreman/location.rb:53
1469
1473
  msgid "Location created"
1470
1474
  msgstr "Standort erstellt"
1471
1475
 
1472
- #: ../lib/hammer_cli_foreman/location.rb:53
1476
+ #: ../lib/hammer_cli_foreman/location.rb:54
1473
1477
  msgid "Could not create the location"
1474
1478
  msgstr "Standort konnte nicht erstellt werden"
1475
1479
 
1476
- #: ../lib/hammer_cli_foreman/location.rb:64
1480
+ #: ../lib/hammer_cli_foreman/location.rb:65
1477
1481
  msgid "Location updated"
1478
1482
  msgstr "Standort aktualisiert"
1479
1483
 
1480
- #: ../lib/hammer_cli_foreman/location.rb:65
1484
+ #: ../lib/hammer_cli_foreman/location.rb:66
1481
1485
  msgid "Could not update the location"
1482
1486
  msgstr "Standort konnte nicht aktualisiert werden"
1483
1487
 
1484
- #: ../lib/hammer_cli_foreman/location.rb:76
1488
+ #: ../lib/hammer_cli_foreman/location.rb:77
1485
1489
  msgid "Location deleted"
1486
1490
  msgstr "Standort gelöscht"
1487
1491
 
1488
- #: ../lib/hammer_cli_foreman/location.rb:77
1492
+ #: ../lib/hammer_cli_foreman/location.rb:78
1489
1493
  msgid "Could not delete the location"
1490
1494
  msgstr "Standort konnte nicht gelöscht werden"
1491
1495
 
1492
- #: ../lib/hammer_cli_foreman/location.rb:86
1493
- #, fuzzy
1496
+ #: ../lib/hammer_cli_foreman/location.rb:87
1494
1497
  msgid "Create or update parameter for a location."
1495
- msgstr "Parameter für eine Domain erstellen oder aktualisieren."
1498
+ msgstr ""
1496
1499
 
1497
- #: ../lib/hammer_cli_foreman/location.rb:88 ../lib/hammer_cli_foreman/organization.rb:89
1498
- #, fuzzy
1500
+ #: ../lib/hammer_cli_foreman/location.rb:89 ../lib/hammer_cli_foreman/organization.rb:90
1499
1501
  msgid "Parameter [%{name}] updated to value [%{value}]"
1500
- msgstr "Parameter [%{name}] aktualisiert auf [%{value}]."
1502
+ msgstr ""
1501
1503
 
1502
- #: ../lib/hammer_cli_foreman/location.rb:89 ../lib/hammer_cli_foreman/organization.rb:90
1504
+ #: ../lib/hammer_cli_foreman/location.rb:90 ../lib/hammer_cli_foreman/organization.rb:91
1503
1505
  msgid "Parameter [%{name}] created with value [%{value}]"
1504
1506
  msgstr ""
1505
1507
 
1506
- #: ../lib/hammer_cli_foreman/location.rb:90
1507
- #, fuzzy
1508
+ #: ../lib/hammer_cli_foreman/location.rb:91
1508
1509
  msgid "Could not set location parameter"
1509
- msgstr "Domainparameter konnte nicht festgelegt werden"
1510
+ msgstr ""
1510
1511
 
1511
- #: ../lib/hammer_cli_foreman/location.rb:97
1512
- #, fuzzy
1512
+ #: ../lib/hammer_cli_foreman/location.rb:98
1513
1513
  msgid "Delete parameter for a location."
1514
- msgstr "Parameter für eine Domain löschen."
1514
+ msgstr ""
1515
1515
 
1516
- #: ../lib/hammer_cli_foreman/location.rb:99 ../lib/hammer_cli_foreman/organization.rb:100
1517
- #, fuzzy
1516
+ #: ../lib/hammer_cli_foreman/location.rb:100 ../lib/hammer_cli_foreman/organization.rb:101
1518
1517
  msgid "Parameter [%{name}] deleted"
1519
- msgstr "Globaler Parameter [%{name}] gelöscht."
1518
+ msgstr ""
1520
1519
 
1521
- #: ../lib/hammer_cli_foreman/location.rb:100
1522
- #, fuzzy
1520
+ #: ../lib/hammer_cli_foreman/location.rb:101
1523
1521
  msgid "Could not delete location parameter"
1524
- msgstr "Domainparameter konnte nicht festgelegt werden"
1522
+ msgstr ""
1525
1523
 
1526
1524
  #: ../lib/hammer_cli_foreman/media.rb:11
1527
1525
  msgid "Path"
@@ -1699,50 +1697,47 @@ msgstr "Standardvorlage konnte nicht gelöscht werden"
1699
1697
  msgid "Default template of type %s not found"
1700
1698
  msgstr "Standardvorlage des Typs %s nicht gefunden"
1701
1699
 
1702
- #: ../lib/hammer_cli_foreman/organization.rb:37 ../lib/hammer_cli_foreman/references.rb:15
1700
+ #: ../lib/hammer_cli_foreman/organization.rb:38 ../lib/hammer_cli_foreman/references.rb:15
1703
1701
  msgid "Locations"
1704
1702
  msgstr "Standorte"
1705
1703
 
1706
- #: ../lib/hammer_cli_foreman/organization.rb:53
1704
+ #: ../lib/hammer_cli_foreman/organization.rb:54
1707
1705
  msgid "Organization created"
1708
1706
  msgstr "Organisation erstellt"
1709
1707
 
1710
- #: ../lib/hammer_cli_foreman/organization.rb:54
1708
+ #: ../lib/hammer_cli_foreman/organization.rb:55
1711
1709
  msgid "Could not create the organization"
1712
1710
  msgstr "Organisation konnte nicht erstellt werden"
1713
1711
 
1714
- #: ../lib/hammer_cli_foreman/organization.rb:65
1712
+ #: ../lib/hammer_cli_foreman/organization.rb:66
1715
1713
  msgid "Organization updated"
1716
1714
  msgstr "Organisation aktualisiert"
1717
1715
 
1718
- #: ../lib/hammer_cli_foreman/organization.rb:66
1716
+ #: ../lib/hammer_cli_foreman/organization.rb:67
1719
1717
  msgid "Could not update the organization"
1720
1718
  msgstr "Organisation konnte nicht aktualisiert werden"
1721
1719
 
1722
- #: ../lib/hammer_cli_foreman/organization.rb:77
1720
+ #: ../lib/hammer_cli_foreman/organization.rb:78
1723
1721
  msgid "Organization deleted"
1724
1722
  msgstr "Organisation gelöscht"
1725
1723
 
1726
- #: ../lib/hammer_cli_foreman/organization.rb:78
1724
+ #: ../lib/hammer_cli_foreman/organization.rb:79
1727
1725
  msgid "Could not delete the organization"
1728
1726
  msgstr "Organisation konnte nicht gelöscht werden"
1729
1727
 
1730
- #: ../lib/hammer_cli_foreman/organization.rb:87
1731
- #, fuzzy
1728
+ #: ../lib/hammer_cli_foreman/organization.rb:88
1732
1729
  msgid "Create or update parameter for an organization."
1733
- msgstr "Parameter für eine Domain erstellen oder aktualisieren."
1730
+ msgstr ""
1734
1731
 
1735
- #: ../lib/hammer_cli_foreman/organization.rb:91
1736
- #, fuzzy
1732
+ #: ../lib/hammer_cli_foreman/organization.rb:92
1737
1733
  msgid "Could not set organization parameter"
1738
- msgstr "Domainparameter konnte nicht festgelegt werden"
1734
+ msgstr ""
1739
1735
 
1740
- #: ../lib/hammer_cli_foreman/organization.rb:98
1741
- #, fuzzy
1736
+ #: ../lib/hammer_cli_foreman/organization.rb:99
1742
1737
  msgid "Delete parameter for an organization."
1743
- msgstr "Parameter für eine Domain löschen."
1738
+ msgstr ""
1744
1739
 
1745
- #: ../lib/hammer_cli_foreman/organization.rb:101
1740
+ #: ../lib/hammer_cli_foreman/organization.rb:102
1746
1741
  msgid "Could not delete organization parameter"
1747
1742
  msgstr ""
1748
1743
 
@@ -1964,38 +1959,38 @@ msgid "Builtin"
1964
1959
  msgstr "Build"
1965
1960
 
1966
1961
  #: ../lib/hammer_cli_foreman/role.rb:24
1967
- msgid "No"
1962
+ msgid "Yes"
1968
1963
  msgstr ""
1969
1964
 
1970
1965
  #: ../lib/hammer_cli_foreman/role.rb:24
1971
- msgid "Yes"
1966
+ msgid "No"
1972
1967
  msgstr ""
1973
1968
 
1974
1969
  #: ../lib/hammer_cli_foreman/role.rb:36
1975
1970
  msgid "User role id"
1976
1971
  msgstr "Benutzerrollen-ID"
1977
1972
 
1978
- #: ../lib/hammer_cli_foreman/role.rb:60
1973
+ #: ../lib/hammer_cli_foreman/role.rb:64
1979
1974
  msgid "User role [%<name>s] created"
1980
1975
  msgstr "Benutzerrolle [%<name>s] erstellt"
1981
1976
 
1982
- #: ../lib/hammer_cli_foreman/role.rb:61
1977
+ #: ../lib/hammer_cli_foreman/role.rb:65
1983
1978
  msgid "Could not create the user role"
1984
1979
  msgstr "Benutzerrolle konnte nicht erstellt werden"
1985
1980
 
1986
- #: ../lib/hammer_cli_foreman/role.rb:68
1981
+ #: ../lib/hammer_cli_foreman/role.rb:72
1987
1982
  msgid "User role [%<name>s] updated"
1988
1983
  msgstr "Benutzerrolle [%<name>s] aktualisiert"
1989
1984
 
1990
- #: ../lib/hammer_cli_foreman/role.rb:69
1985
+ #: ../lib/hammer_cli_foreman/role.rb:73
1991
1986
  msgid "Could not update the user role"
1992
1987
  msgstr "Benutzerrolle konnte nicht aktualisiert werden"
1993
1988
 
1994
- #: ../lib/hammer_cli_foreman/role.rb:76
1989
+ #: ../lib/hammer_cli_foreman/role.rb:80
1995
1990
  msgid "User role [%<name>s] deleted"
1996
1991
  msgstr "Benutzerrolle [%<name>s] gelöscht"
1997
1992
 
1998
- #: ../lib/hammer_cli_foreman/role.rb:77
1993
+ #: ../lib/hammer_cli_foreman/role.rb:81
1999
1994
  msgid "Could not delete the user roles"
2000
1995
  msgstr "Benutzerrollen konnten nicht gelöscht werden"
2001
1996
 
@@ -2015,91 +2010,95 @@ msgstr "Standardwert"
2015
2010
  msgid "Override"
2016
2011
  msgstr "Überschreiben"
2017
2012
 
2018
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:36 ../lib/hammer_cli_foreman/smart_variable.rb:27
2013
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:35 ../lib/hammer_cli_foreman/smart_variable.rb:27
2019
2014
  msgid "Puppet class"
2020
2015
  msgstr "Puppet-Klasse"
2021
2016
 
2022
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:37 ../lib/hammer_cli_foreman/smart_variable.rb:28
2017
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:36 ../lib/hammer_cli_foreman/smart_variable.rb:28
2023
2018
  msgid "Class Id"
2024
2019
  msgstr "Klassen-ID"
2025
2020
 
2026
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:63
2021
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:61 ../lib/hammer_cli_foreman/smart_variable.rb:52
2022
+ msgid "Hidden Value?"
2023
+ msgstr ""
2024
+
2025
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:62
2027
2026
  msgid "Required"
2028
2027
  msgstr "Erforderlich"
2029
2028
 
2030
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65 ../lib/hammer_cli_foreman/smart_variable.rb:53
2029
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:64 ../lib/hammer_cli_foreman/smart_variable.rb:54
2031
2030
  msgid "Validator"
2032
2031
  msgstr "Prüfung"
2033
2032
 
2034
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:67 ../lib/hammer_cli_foreman/smart_variable.rb:55
2033
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66 ../lib/hammer_cli_foreman/smart_variable.rb:56
2035
2034
  msgid "Rule"
2036
2035
  msgstr "Regel"
2037
2036
 
2038
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69 ../lib/hammer_cli_foreman/smart_variable.rb:57
2037
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:68 ../lib/hammer_cli_foreman/smart_variable.rb:58
2039
2038
  msgid "Override values"
2040
2039
  msgstr "Überschreibungswerte"
2041
2040
 
2042
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70 ../lib/hammer_cli_foreman/smart_variable.rb:58
2041
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69 ../lib/hammer_cli_foreman/smart_variable.rb:59
2043
2042
  msgid "Merge overrides"
2044
2043
  msgstr ""
2045
2044
 
2046
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71 ../lib/hammer_cli_foreman/smart_variable.rb:59
2045
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70 ../lib/hammer_cli_foreman/smart_variable.rb:60
2047
2046
  msgid "Merge default value"
2048
2047
  msgstr ""
2049
2048
 
2050
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72 ../lib/hammer_cli_foreman/smart_variable.rb:60
2049
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71 ../lib/hammer_cli_foreman/smart_variable.rb:61
2051
2050
  msgid "Avoid duplicates"
2052
2051
  msgstr "Duplikate vermeiden"
2053
2052
 
2054
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73 ../lib/hammer_cli_foreman/smart_variable.rb:61
2053
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72 ../lib/hammer_cli_foreman/smart_variable.rb:62
2055
2054
  msgid "Order"
2056
2055
  msgstr "Reihenfolge"
2057
2056
 
2058
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74 ../lib/hammer_cli_foreman/smart_variable.rb:62
2057
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73 ../lib/hammer_cli_foreman/smart_variable.rb:63
2059
2058
  msgid "Values"
2060
2059
  msgstr "Werte"
2061
2060
 
2062
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76 ../lib/hammer_cli_foreman/smart_variable.rb:64
2061
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75 ../lib/hammer_cli_foreman/smart_variable.rb:65
2063
2062
  msgid "Match"
2064
2063
  msgstr "Übereinstimmung"
2065
2064
 
2066
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2065
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:102
2067
2066
  msgid "Parameter updated"
2068
2067
  msgstr "Parameter aktualisiert"
2069
2068
 
2070
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:104
2069
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2071
2070
  msgid "Could not update the parameter"
2072
2071
  msgstr "Parameter konnte nicht aktualisiert werden"
2073
2072
 
2074
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:111
2073
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:110
2075
2074
  msgid "Override this parameter."
2076
2075
  msgstr "Diesen Parameter überschreiben."
2077
2076
 
2078
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:113
2077
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:112
2079
2078
  msgid "This parameter is required."
2080
2079
  msgstr "Dieser Parameter ist erforderlich."
2081
2080
 
2082
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:115
2081
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:114
2083
2082
  msgid "Type of the parameter."
2084
2083
  msgstr "Typ des Parameters."
2085
2084
 
2086
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:118 ../lib/hammer_cli_foreman/smart_variable.rb:90 ../lib/hammer_cli_foreman/smart_variable.rb:104
2085
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117 ../lib/hammer_cli_foreman/smart_variable.rb:91 ../lib/hammer_cli_foreman/smart_variable.rb:105
2087
2086
  msgid "Type of the validator."
2088
2087
  msgstr "Typ der Prüfung."
2089
2088
 
2090
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132 ../lib/hammer_cli_foreman/smart_variable.rb:122
2089
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:131 ../lib/hammer_cli_foreman/smart_variable.rb:123
2091
2090
  msgid "Override value created"
2092
2091
  msgstr ""
2093
2092
 
2094
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:133 ../lib/hammer_cli_foreman/smart_variable.rb:123
2093
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132 ../lib/hammer_cli_foreman/smart_variable.rb:124
2095
2094
  msgid "Could not create the override_value"
2096
2095
  msgstr ""
2097
2096
 
2098
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152 ../lib/hammer_cli_foreman/smart_variable.rb:135
2097
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151 ../lib/hammer_cli_foreman/smart_variable.rb:136
2099
2098
  msgid "Override value deleted"
2100
2099
  msgstr ""
2101
2100
 
2102
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:153 ../lib/hammer_cli_foreman/smart_variable.rb:136
2101
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152 ../lib/hammer_cli_foreman/smart_variable.rb:137
2103
2102
  msgid "Could not delete the override value"
2104
2103
  msgstr ""
2105
2104
 
@@ -2155,31 +2154,31 @@ msgstr "Smart-Proxy-Funktionen wurden aktualisiert"
2155
2154
  msgid "Refresh of smart proxy features failed"
2156
2155
  msgstr "Fehler beim Aktualisieren von Smart-Proxy-Funktionen"
2157
2156
 
2158
- #: ../lib/hammer_cli_foreman/smart_variable.rb:82
2157
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2159
2158
  msgid "Smart variable [%{variable}] created"
2160
2159
  msgstr ""
2161
2160
 
2162
- #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2161
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:84
2163
2162
  msgid "Could not create the smart variable"
2164
2163
  msgstr ""
2165
2164
 
2166
- #: ../lib/hammer_cli_foreman/smart_variable.rb:87 ../lib/hammer_cli_foreman/smart_variable.rb:101
2165
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:88 ../lib/hammer_cli_foreman/smart_variable.rb:102
2167
2166
  msgid "Type of the variable."
2168
2167
  msgstr "Typ der Variable."
2169
2168
 
2170
- #: ../lib/hammer_cli_foreman/smart_variable.rb:96
2169
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2171
2170
  msgid "Smart variable [%{variable}] updated"
2172
2171
  msgstr ""
2173
2172
 
2174
- #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2173
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:98
2175
2174
  msgid "Could not update the smart variable"
2176
2175
  msgstr ""
2177
2176
 
2178
- #: ../lib/hammer_cli_foreman/smart_variable.rb:111
2177
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2179
2178
  msgid "Smart variable [%{variable}] deleted"
2180
2179
  msgstr ""
2181
2180
 
2182
- #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2181
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:113
2183
2182
  msgid "Could not delete the smart variable"
2184
2183
  msgstr ""
2185
2184
 
@@ -2386,7 +2385,3 @@ msgstr "Benutzergruppe [%<name>s] gelöscht"
2386
2385
  #: ../lib/hammer_cli_foreman/usergroup.rb:46
2387
2386
  msgid "Could not delete the user group"
2388
2387
  msgstr "Benutzergruppe konnte nicht gelöscht werden"
2389
-
2390
- #: ../lib/hammer_cli_foreman/id_resolver.rb:201
2391
- #~ msgid "%s found more than once"
2392
- #~ msgstr "%s mehr als einmal gefunden"