hammer_cli_foreman 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/config/foreman.yml +16 -0
  3. data/doc/host_create.md +102 -54
  4. data/doc/release_notes.md +20 -0
  5. data/lib/hammer_cli_foreman.rb +8 -0
  6. data/lib/hammer_cli_foreman/commands.rb +33 -9
  7. data/lib/hammer_cli_foreman/compute_resource.rb +13 -2
  8. data/lib/hammer_cli_foreman/domain.rb +24 -1
  9. data/lib/hammer_cli_foreman/environment.rb +1 -2
  10. data/lib/hammer_cli_foreman/host.rb +131 -73
  11. data/lib/hammer_cli_foreman/hostgroup.rb +18 -8
  12. data/lib/hammer_cli_foreman/i18n.rb +2 -6
  13. data/lib/hammer_cli_foreman/id_resolver.rb +41 -6
  14. data/lib/hammer_cli_foreman/interface.rb +165 -0
  15. data/lib/hammer_cli_foreman/output/fields.rb +7 -0
  16. data/lib/hammer_cli_foreman/output/formatters.rb +3 -5
  17. data/lib/hammer_cli_foreman/puppet_class.rb +16 -2
  18. data/lib/hammer_cli_foreman/settings.rb +37 -0
  19. data/lib/hammer_cli_foreman/smart_class_parameter.rb +75 -11
  20. data/lib/hammer_cli_foreman/smart_variable.rb +146 -0
  21. data/lib/hammer_cli_foreman/user.rb +9 -3
  22. data/lib/hammer_cli_foreman/version.rb +1 -1
  23. data/locale/Makefile +9 -17
  24. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  25. data/locale/de/hammer-cli-foreman.edit.po +2403 -0
  26. data/locale/de/hammer-cli-foreman.po +302 -355
  27. data/locale/de/hammer-cli-foreman.po.time_stamp +0 -0
  28. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  29. data/locale/en/hammer-cli-foreman.edit.po +2260 -0
  30. data/locale/en/hammer-cli-foreman.po +946 -823
  31. data/locale/en/hammer-cli-foreman.po.time_stamp +0 -0
  32. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  33. data/locale/en_GB/hammer-cli-foreman.edit.po +2267 -0
  34. data/locale/en_GB/hammer-cli-foreman.po +297 -351
  35. data/locale/en_GB/hammer-cli-foreman.po.time_stamp +0 -0
  36. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  37. data/locale/es/hammer-cli-foreman.edit.po +2427 -0
  38. data/locale/es/hammer-cli-foreman.po +301 -354
  39. data/locale/es/hammer-cli-foreman.po.time_stamp +0 -0
  40. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  41. data/locale/fr/hammer-cli-foreman.edit.po +2427 -0
  42. data/locale/fr/hammer-cli-foreman.po +299 -353
  43. data/locale/fr/hammer-cli-foreman.po.time_stamp +0 -0
  44. data/locale/hammer-cli-foreman.pot +1413 -1112
  45. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  46. data/locale/it/hammer-cli-foreman.edit.po +2402 -0
  47. data/locale/it/hammer-cli-foreman.po +299 -353
  48. data/locale/it/hammer-cli-foreman.po.time_stamp +0 -0
  49. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  50. data/locale/ja/hammer-cli-foreman.edit.po +2401 -0
  51. data/locale/ja/hammer-cli-foreman.po +338 -391
  52. data/locale/ja/hammer-cli-foreman.po.time_stamp +0 -0
  53. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  54. data/locale/ko/hammer-cli-foreman.edit.po +2401 -0
  55. data/locale/ko/hammer-cli-foreman.po +299 -353
  56. data/locale/ko/hammer-cli-foreman.po.time_stamp +0 -0
  57. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  58. data/locale/pt_BR/hammer-cli-foreman.edit.po +2417 -0
  59. data/locale/pt_BR/hammer-cli-foreman.po +312 -365
  60. data/locale/pt_BR/hammer-cli-foreman.po.time_stamp +0 -0
  61. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  62. data/locale/ru/hammer-cli-foreman.edit.po +2401 -0
  63. data/locale/ru/hammer-cli-foreman.po +300 -354
  64. data/locale/ru/hammer-cli-foreman.po.time_stamp +0 -0
  65. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  66. data/locale/zh_CN/hammer-cli-foreman.edit.po +2400 -0
  67. data/locale/zh_CN/hammer-cli-foreman.po +299 -353
  68. data/locale/zh_CN/hammer-cli-foreman.po.time_stamp +0 -0
  69. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  70. data/locale/zh_TW/hammer-cli-foreman.edit.po +2400 -0
  71. data/locale/zh_TW/hammer-cli-foreman.po +299 -353
  72. data/locale/zh_TW/hammer-cli-foreman.po.time_stamp +0 -0
  73. data/test/unit/apipie_resource_mock.rb +7 -0
  74. data/test/unit/commands_test.rb +42 -0
  75. data/test/unit/data/1.7/foreman_api.json +1 -0
  76. data/test/unit/dependency_resolver_test.rb +4 -2
  77. data/test/unit/environment_test.rb +2 -2
  78. data/test/unit/host_test.rb +50 -27
  79. data/test/unit/hostgroup_test.rb +19 -3
  80. data/test/unit/media_test.rb +2 -2
  81. data/test/unit/puppet_class_test.rb +17 -2
  82. data/test/unit/smart_class_parameter_test.rb +26 -2
  83. data/test/unit/smart_variable_test.rb +134 -0
  84. data/test/unit/test_helper.rb +1 -1
  85. metadata +36 -4
@@ -5,10 +5,10 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman 0.1.4\n"
8
+ "Project-Id-Version: hammer-cli-foreman 0.2.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2014-09-19 13:34+0200\n"
11
- "PO-Revision-Date: 2014-10-11 10:31+0000\n"
10
+ "POT-Creation-Date: 2014-12-11 13:21+0100\n"
11
+ "PO-Revision-Date: 2015-03-22 03:37+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/foreman/language/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
@@ -22,13 +22,10 @@ msgstr ""
22
22
  #: lib/hammer_cli_foreman/organization.rb:13
23
23
  #: lib/hammer_cli_foreman/subnet.rb:10 lib/hammer_cli_foreman/model.rb:10
24
24
  #: lib/hammer_cli_foreman/role.rb:11 lib/hammer_cli_foreman/media.rb:9
25
- #: lib/hammer_cli_foreman/override_value.rb:28
26
25
  #: lib/hammer_cli_foreman/compute_resource.rb:11
27
- #: lib/hammer_cli_foreman/smart_variables.rb:7
28
- #: lib/hammer_cli_foreman/smart_variables.rb:65
29
- #: lib/hammer_cli_foreman/hostgroup.rb:39
30
- #: lib/hammer_cli_foreman/template.rb:25 lib/hammer_cli_foreman/host.rb:124
31
- #: lib/hammer_cli_foreman/host.rb:195 lib/hammer_cli_foreman/host.rb:208
26
+ #: lib/hammer_cli_foreman/hostgroup.rb:46
27
+ #: lib/hammer_cli_foreman/template.rb:25 lib/hammer_cli_foreman/host.rb:128
28
+ #: lib/hammer_cli_foreman/host.rb:199 lib/hammer_cli_foreman/host.rb:212
32
29
  #: lib/hammer_cli_foreman/operating_system.rb:10
33
30
  #: lib/hammer_cli_foreman/smart_proxy.rb:11
34
31
  #: lib/hammer_cli_foreman/environment.rb:14
@@ -50,7 +47,7 @@ msgstr "ID"
50
47
  msgid "Host"
51
48
  msgstr "主機"
52
49
 
53
- #: lib/hammer_cli_foreman/report.rb:12 lib/hammer_cli_foreman/host.rb:177
50
+ #: lib/hammer_cli_foreman/report.rb:12 lib/hammer_cli_foreman/host.rb:181
54
51
  msgid "Last report"
55
52
  msgstr "最後一份報告"
56
53
 
@@ -160,12 +157,11 @@ msgstr ""
160
157
  #: lib/hammer_cli_foreman/common_parameter.rb:12
161
158
  #: lib/hammer_cli_foreman/subnet.rb:11 lib/hammer_cli_foreman/model.rb:11
162
159
  #: lib/hammer_cli_foreman/role.rb:12 lib/hammer_cli_foreman/media.rb:10
163
- #: lib/hammer_cli_foreman/override_value.rb:29
164
160
  #: lib/hammer_cli_foreman/compute_resource.rb:12
165
- #: lib/hammer_cli_foreman/hostgroup.rb:40
161
+ #: lib/hammer_cli_foreman/hostgroup.rb:47
166
162
  #: lib/hammer_cli_foreman/template.rb:26 lib/hammer_cli_foreman/template.rb:74
167
- #: lib/hammer_cli_foreman/host.rb:125 lib/hammer_cli_foreman/host.rb:196
168
- #: lib/hammer_cli_foreman/host.rb:209
163
+ #: lib/hammer_cli_foreman/host.rb:129 lib/hammer_cli_foreman/host.rb:200
164
+ #: lib/hammer_cli_foreman/host.rb:213
169
165
  #: lib/hammer_cli_foreman/operating_system.rb:22
170
166
  #: lib/hammer_cli_foreman/smart_proxy.rb:12
171
167
  #: lib/hammer_cli_foreman/environment.rb:15
@@ -243,10 +239,7 @@ msgid "Could not delete the organization"
243
239
  msgstr "無法刪除組織"
244
240
 
245
241
  #: lib/hammer_cli_foreman/common_parameter.rb:13
246
- #: lib/hammer_cli_foreman/fact.rb:14
247
- #: lib/hammer_cli_foreman/smart_variables.rb:64
248
- #: lib/hammer_cli_foreman/smart_variables.rb:67
249
- #: lib/hammer_cli_foreman/host.rb:282
242
+ #: lib/hammer_cli_foreman/fact.rb:14 lib/hammer_cli_foreman/host.rb:286
250
243
  #: lib/hammer_cli_foreman/smart_class_parameter.rb:65
251
244
  #: lib/hammer_cli_foreman/smart_class_parameter.rb:68
252
245
  msgid "Value"
@@ -399,41 +392,41 @@ msgstr "無法更新硬體型號"
399
392
  msgid "User role id"
400
393
  msgstr "使用者角色 ID"
401
394
 
402
- #: lib/hammer_cli_foreman/role.rb:36 lib/hammer_cli_foreman/filter.rb:18
395
+ #: lib/hammer_cli_foreman/role.rb:33 lib/hammer_cli_foreman/filter.rb:18
403
396
  #: lib/hammer_cli_foreman/filter.rb:34 lib/hammer_cli_foreman/filter.rb:78
404
397
  msgid "(Miscellaneous)"
405
398
  msgstr "(雜項)"
406
399
 
407
- #: lib/hammer_cli_foreman/role.rb:37 lib/hammer_cli_foreman/filter.rb:19
400
+ #: lib/hammer_cli_foreman/role.rb:34 lib/hammer_cli_foreman/filter.rb:19
408
401
  #: lib/hammer_cli_foreman/filter.rb:35
409
402
  msgid "none"
410
403
  msgstr "無"
411
404
 
412
- #: lib/hammer_cli_foreman/role.rb:50
405
+ #: lib/hammer_cli_foreman/role.rb:47
413
406
  msgid "User role [%<name>s] created"
414
407
  msgstr "使用者角色 [%<name>s] 已建立"
415
408
 
416
- #: lib/hammer_cli_foreman/role.rb:51
409
+ #: lib/hammer_cli_foreman/role.rb:48
417
410
  msgid "Could not create the user role"
418
411
  msgstr "無法建立使用者角色"
419
412
 
420
- #: lib/hammer_cli_foreman/role.rb:58
413
+ #: lib/hammer_cli_foreman/role.rb:55
421
414
  msgid "User role [%<name>s] updated"
422
415
  msgstr "使用者角色 [%<name>s] 已更新"
423
416
 
424
- #: lib/hammer_cli_foreman/role.rb:59
417
+ #: lib/hammer_cli_foreman/role.rb:56
425
418
  msgid "Could not update the user role"
426
419
  msgstr "無法更新使用者角色"
427
420
 
428
- #: lib/hammer_cli_foreman/role.rb:66
421
+ #: lib/hammer_cli_foreman/role.rb:63
429
422
  msgid "User role [%<name>s] deleted"
430
423
  msgstr "使用者角色 [%<name>s] 已刪除"
431
424
 
432
- #: lib/hammer_cli_foreman/role.rb:67
425
+ #: lib/hammer_cli_foreman/role.rb:64
433
426
  msgid "Could not delete the user roles"
434
427
  msgstr "無法刪除使用者角色"
435
428
 
436
- #: lib/hammer_cli_foreman/fact.rb:13 lib/hammer_cli_foreman/host.rb:281
429
+ #: lib/hammer_cli_foreman/fact.rb:13 lib/hammer_cli_foreman/host.rb:285
437
430
  msgid "Fact"
438
431
  msgstr "詳情"
439
432
 
@@ -470,64 +463,6 @@ msgstr "已刪除安裝媒介"
470
463
  msgid "Could not delete the installation media"
471
464
  msgstr "無法刪除安裝媒介"
472
465
 
473
- #: lib/hammer_cli_foreman/override_value.rb:7
474
- msgid "View and manage override values"
475
- msgstr ""
476
-
477
- #: lib/hammer_cli_foreman/override_value.rb:30
478
- #: lib/hammer_cli_foreman/hostgroup.rb:42 lib/hammer_cli_foreman/host.rb:126
479
- #: lib/hammer_cli_foreman/image.rb:31
480
- msgid "Operating System"
481
- msgstr "作業系統"
482
-
483
- #: lib/hammer_cli_foreman/override_value.rb:31
484
- #: lib/hammer_cli_foreman/image.rb:32
485
- msgid "Username"
486
- msgstr "使用者名稱"
487
-
488
- #: lib/hammer_cli_foreman/override_value.rb:32
489
- #: lib/hammer_cli_foreman/compute_resource.rb:23
490
- #: lib/hammer_cli_foreman/compute_resource.rb:29
491
- #: lib/hammer_cli_foreman/host.rb:157 lib/hammer_cli_foreman/image.rb:33
492
- #: lib/hammer_cli_foreman/image.rb:71
493
- msgid "UUID"
494
- msgstr "UUID"
495
-
496
- #: lib/hammer_cli_foreman/override_value.rb:44
497
- #: lib/hammer_cli_foreman/hostgroup.rb:58 lib/hammer_cli_foreman/host.rb:188
498
- #: lib/hammer_cli_foreman/image.rb:45
499
- msgid "Architecture"
500
- msgstr "架構"
501
-
502
- #: lib/hammer_cli_foreman/override_value.rb:45
503
- #: lib/hammer_cli_foreman/image.rb:46
504
- msgid "IAM role"
505
- msgstr "IAM 角色"
506
-
507
- #: lib/hammer_cli_foreman/override_value.rb:55
508
- msgid "OverrideValue created"
509
- msgstr ""
510
-
511
- #: lib/hammer_cli_foreman/override_value.rb:56
512
- msgid "Could not create the override_value"
513
- msgstr ""
514
-
515
- #: lib/hammer_cli_foreman/override_value.rb:64
516
- msgid "OverrideValue updated"
517
- msgstr ""
518
-
519
- #: lib/hammer_cli_foreman/override_value.rb:65
520
- msgid "Could not update the override_value"
521
- msgstr ""
522
-
523
- #: lib/hammer_cli_foreman/override_value.rb:73
524
- msgid "OverrideValue deleted"
525
- msgstr ""
526
-
527
- #: lib/hammer_cli_foreman/override_value.rb:74
528
- msgid "Could not delete the override_value"
529
- msgstr ""
530
-
531
466
  #: lib/hammer_cli_foreman/exception_handler.rb:41
532
467
  msgid "Forbidden - server refused to process the request"
533
468
  msgstr "禁止 - 伺服器拒絕處理請求"
@@ -550,6 +485,13 @@ msgstr ""
550
485
  msgid "Provider"
551
486
  msgstr "供應方"
552
487
 
488
+ #: lib/hammer_cli_foreman/compute_resource.rb:23
489
+ #: lib/hammer_cli_foreman/compute_resource.rb:29
490
+ #: lib/hammer_cli_foreman/host.rb:161 lib/hammer_cli_foreman/image.rb:33
491
+ #: lib/hammer_cli_foreman/image.rb:71
492
+ msgid "UUID"
493
+ msgstr "UUID"
494
+
553
495
  #: lib/hammer_cli_foreman/compute_resource.rb:26
554
496
  #: lib/hammer_cli_foreman/compute_resource.rb:36
555
497
  msgid "Region"
@@ -568,7 +510,6 @@ msgid "Url"
568
510
  msgstr "URL"
569
511
 
570
512
  #: lib/hammer_cli_foreman/compute_resource.rb:44
571
- #: lib/hammer_cli_foreman/smart_variables.rb:52
572
513
  #: lib/hammer_cli_foreman/domain.rb:21
573
514
  #: lib/hammer_cli_foreman/smart_class_parameter.rb:53
574
515
  msgid "Description"
@@ -786,109 +727,6 @@ msgstr "已移除使用者角色"
786
727
  msgid "Could not remove the user role"
787
728
  msgstr "無法移除使用者角色"
788
729
 
789
- #: lib/hammer_cli_foreman/smart_variables.rb:9
790
- #: lib/hammer_cli_foreman/puppet_class.rb:34
791
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:10
792
- msgid "Parameter"
793
- msgstr "參數"
794
-
795
- #: lib/hammer_cli_foreman/smart_variables.rb:10
796
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:11
797
- msgid "Default Value"
798
- msgstr "預設值"
799
-
800
- #: lib/hammer_cli_foreman/smart_variables.rb:11
801
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:12
802
- msgid "Override"
803
- msgstr "覆寫"
804
-
805
- #: lib/hammer_cli_foreman/smart_variables.rb:32
806
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:33
807
- msgid "Puppet class"
808
- msgstr "Puppet 類別"
809
-
810
- #: lib/hammer_cli_foreman/smart_variables.rb:33
811
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:34
812
- msgid "Class Id"
813
- msgstr "類別 ID"
814
-
815
- #: lib/hammer_cli_foreman/smart_variables.rb:53
816
- #: lib/hammer_cli_foreman/smart_variables.rb:57
817
- #: lib/hammer_cli_foreman/template.rb:27
818
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:54
819
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:58
820
- msgid "Type"
821
- msgstr "類型"
822
-
823
- #: lib/hammer_cli_foreman/smart_variables.rb:54
824
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:55
825
- msgid "Required"
826
- msgstr "需要"
827
-
828
- #: lib/hammer_cli_foreman/smart_variables.rb:56
829
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:57
830
- msgid "Validator"
831
- msgstr "驗證程式"
832
-
833
- #: lib/hammer_cli_foreman/smart_variables.rb:58
834
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:59
835
- msgid "Rule"
836
- msgstr "規則"
837
-
838
- #: lib/hammer_cli_foreman/smart_variables.rb:60
839
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:61
840
- msgid "Override values"
841
- msgstr "覆寫規則"
842
-
843
- #: lib/hammer_cli_foreman/smart_variables.rb:61
844
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:62
845
- msgid "Order"
846
- msgstr "順序"
847
-
848
- #: lib/hammer_cli_foreman/smart_variables.rb:62
849
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:63
850
- msgid "Count"
851
- msgstr "計數"
852
-
853
- #: lib/hammer_cli_foreman/smart_variables.rb:66
854
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:67
855
- msgid "Match"
856
- msgstr "比對"
857
-
858
- #: lib/hammer_cli_foreman/smart_variables.rb:85
859
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:86
860
- msgid "Parameter updated"
861
- msgstr "已更新參數"
862
-
863
- #: lib/hammer_cli_foreman/smart_variables.rb:86
864
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:87
865
- msgid "Could not update the parameter"
866
- msgstr "無法更新參數"
867
-
868
- #: lib/hammer_cli_foreman/smart_variables.rb:90
869
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:91
870
- msgid "Override this parameter."
871
- msgstr "覆寫此參數。"
872
-
873
- #: lib/hammer_cli_foreman/smart_variables.rb:92
874
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:93
875
- msgid "This parameter is required."
876
- msgstr "此參數乃必要的。"
877
-
878
- #: lib/hammer_cli_foreman/smart_variables.rb:94
879
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:95
880
- msgid "Type of the parameter."
881
- msgstr "參數的類型。"
882
-
883
- #: lib/hammer_cli_foreman/smart_variables.rb:97
884
- #: lib/hammer_cli_foreman/smart_class_parameter.rb:98
885
- msgid "Type of the validator."
886
- msgstr "驗證程式的類型。"
887
-
888
- #: lib/hammer_cli_foreman/smart_variables.rb:109
889
- msgid "Manipulate smart variables."
890
- msgstr ""
891
-
892
730
  #: lib/hammer_cli_foreman/hostgroup.rb:9
893
731
  msgid "List of puppetclass ids"
894
732
  msgstr ""
@@ -901,98 +739,119 @@ msgstr ""
901
739
  msgid "Name of puppet proxy"
902
740
  msgstr ""
903
741
 
904
- #: lib/hammer_cli_foreman/hostgroup.rb:41
905
- msgid "Label"
906
- msgstr "標簽"
742
+ #: lib/hammer_cli_foreman/hostgroup.rb:13
743
+ msgid "Name of parent hostgroup"
744
+ msgstr ""
745
+
746
+ #: lib/hammer_cli_foreman/hostgroup.rb:48
747
+ #: lib/hammer_cli_foreman/operating_system.rb:11
748
+ msgid "Title"
749
+ msgstr ""
750
+
751
+ #: lib/hammer_cli_foreman/hostgroup.rb:49 lib/hammer_cli_foreman/host.rb:130
752
+ #: lib/hammer_cli_foreman/image.rb:31
753
+ msgid "Operating System"
754
+ msgstr "作業系統"
907
755
 
908
- #: lib/hammer_cli_foreman/hostgroup.rb:43 lib/hammer_cli_foreman/host.rb:160
756
+ #: lib/hammer_cli_foreman/hostgroup.rb:50 lib/hammer_cli_foreman/host.rb:164
909
757
  msgid "Environment"
910
758
  msgstr "環境"
911
759
 
912
- #: lib/hammer_cli_foreman/hostgroup.rb:44 lib/hammer_cli_foreman/host.rb:181
760
+ #: lib/hammer_cli_foreman/hostgroup.rb:51 lib/hammer_cli_foreman/host.rb:185
913
761
  msgid "Model"
914
762
  msgstr "型號"
915
763
 
916
- #: lib/hammer_cli_foreman/hostgroup.rb:45
917
- msgid "Ancestry"
918
- msgstr "上階"
919
-
920
- #: lib/hammer_cli_foreman/hostgroup.rb:55 lib/hammer_cli_foreman/host.rb:183
764
+ #: lib/hammer_cli_foreman/hostgroup.rb:61 lib/hammer_cli_foreman/host.rb:187
921
765
  msgid "Subnet"
922
766
  msgstr "子網路"
923
767
 
924
- #: lib/hammer_cli_foreman/hostgroup.rb:57 lib/hammer_cli_foreman/host.rb:184
768
+ #: lib/hammer_cli_foreman/hostgroup.rb:63 lib/hammer_cli_foreman/host.rb:188
925
769
  msgid "Domain"
926
770
  msgstr "網域"
927
771
 
928
- #: lib/hammer_cli_foreman/hostgroup.rb:59 lib/hammer_cli_foreman/host.rb:187
772
+ #: lib/hammer_cli_foreman/hostgroup.rb:64 lib/hammer_cli_foreman/host.rb:192
773
+ #: lib/hammer_cli_foreman/image.rb:45
774
+ msgid "Architecture"
775
+ msgstr "架構"
776
+
777
+ #: lib/hammer_cli_foreman/hostgroup.rb:65 lib/hammer_cli_foreman/host.rb:191
929
778
  msgid "Partition Table"
930
779
  msgstr "分割表"
931
780
 
932
- #: lib/hammer_cli_foreman/hostgroup.rb:60 lib/hammer_cli_foreman/host.rb:180
781
+ #: lib/hammer_cli_foreman/hostgroup.rb:66 lib/hammer_cli_foreman/host.rb:184
933
782
  msgid "Medium"
934
783
  msgstr "媒介"
935
784
 
936
- #: lib/hammer_cli_foreman/hostgroup.rb:61 lib/hammer_cli_foreman/host.rb:179
785
+ #: lib/hammer_cli_foreman/hostgroup.rb:67 lib/hammer_cli_foreman/host.rb:183
937
786
  msgid "Puppet CA Proxy Id"
938
787
  msgstr "Puppet CA 協定 ID"
939
788
 
940
- #: lib/hammer_cli_foreman/hostgroup.rb:62
789
+ #: lib/hammer_cli_foreman/hostgroup.rb:68
941
790
  msgid "Puppet Master Proxy Id"
942
791
  msgstr "Puppet Master 協定 ID"
943
792
 
944
- #: lib/hammer_cli_foreman/hostgroup.rb:63
793
+ #: lib/hammer_cli_foreman/hostgroup.rb:69
945
794
  msgid "ComputeProfile"
946
795
  msgstr "ComputeProfile"
947
796
 
948
- #: lib/hammer_cli_foreman/hostgroup.rb:76
797
+ #: lib/hammer_cli_foreman/hostgroup.rb:73
798
+ msgid "Parent Id"
799
+ msgstr ""
800
+
801
+ #: lib/hammer_cli_foreman/hostgroup.rb:83
949
802
  msgid "Hostgroup created"
950
803
  msgstr "已建立主機群組"
951
804
 
952
- #: lib/hammer_cli_foreman/hostgroup.rb:77
805
+ #: lib/hammer_cli_foreman/hostgroup.rb:84
953
806
  msgid "Could not create the hostgroup"
954
807
  msgstr "無法建立主機群組"
955
808
 
956
- #: lib/hammer_cli_foreman/hostgroup.rb:86
809
+ #: lib/hammer_cli_foreman/hostgroup.rb:93
957
810
  msgid "Hostgroup updated"
958
811
  msgstr "已更新主機群組"
959
812
 
960
- #: lib/hammer_cli_foreman/hostgroup.rb:87
813
+ #: lib/hammer_cli_foreman/hostgroup.rb:94
961
814
  msgid "Could not update the hostgroup"
962
815
  msgstr "無法更新主機群組"
963
816
 
964
- #: lib/hammer_cli_foreman/hostgroup.rb:94
817
+ #: lib/hammer_cli_foreman/hostgroup.rb:101
965
818
  msgid "Hostgroup deleted"
966
819
  msgstr "已刪除主機群組"
967
820
 
968
- #: lib/hammer_cli_foreman/hostgroup.rb:95
821
+ #: lib/hammer_cli_foreman/hostgroup.rb:102
969
822
  msgid "Could not delete the hostgroup"
970
823
  msgstr "無法刪除主機群組"
971
824
 
972
- #: lib/hammer_cli_foreman/hostgroup.rb:122
825
+ #: lib/hammer_cli_foreman/hostgroup.rb:129
973
826
  msgid "Create or update parameter for a hostgroup."
974
827
  msgstr "建立或更新主機群組的參數"
975
828
 
976
- #: lib/hammer_cli_foreman/hostgroup.rb:124
829
+ #: lib/hammer_cli_foreman/hostgroup.rb:131
977
830
  msgid "Hostgroup parameter updated"
978
831
  msgstr "已更新主機群組的參數"
979
832
 
980
- #: lib/hammer_cli_foreman/hostgroup.rb:125
833
+ #: lib/hammer_cli_foreman/hostgroup.rb:132
981
834
  msgid "New hostgroup parameter created"
982
835
  msgstr "已建立新的主機群組參數"
983
836
 
984
- #: lib/hammer_cli_foreman/hostgroup.rb:126
837
+ #: lib/hammer_cli_foreman/hostgroup.rb:133
985
838
  msgid "Could not set hostgroup parameter"
986
839
  msgstr "無法設定主機群組參數"
987
840
 
988
- #: lib/hammer_cli_foreman/hostgroup.rb:133
841
+ #: lib/hammer_cli_foreman/hostgroup.rb:140
989
842
  msgid "Delete parameter for a hostgroup."
990
843
  msgstr "刪除主機群組的參數。"
991
844
 
992
- #: lib/hammer_cli_foreman/hostgroup.rb:135
845
+ #: lib/hammer_cli_foreman/hostgroup.rb:142
993
846
  msgid "Hostgroup parameter deleted"
994
847
  msgstr "已刪除主機群組參數"
995
848
 
849
+ #: lib/hammer_cli_foreman/template.rb:27
850
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:54
851
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:58
852
+ msgid "Type"
853
+ msgstr "類型"
854
+
996
855
  #: lib/hammer_cli_foreman/template.rb:71
997
856
  msgid "List available config template kinds."
998
857
  msgstr "列出可用的配置範本種類。"
@@ -1035,245 +894,267 @@ msgstr "已刪除配置範本"
1035
894
  msgid "Could not delete the config template"
1036
895
  msgstr "無法刪除配置範本"
1037
896
 
1038
- #: lib/hammer_cli_foreman/host.rb:36
897
+ #: lib/hammer_cli_foreman/host.rb:12
898
+ msgid "Login of the owner"
899
+ msgstr ""
900
+
901
+ #: lib/hammer_cli_foreman/host.rb:14
902
+ msgid "ID of the owner"
903
+ msgstr ""
904
+
905
+ #: lib/hammer_cli_foreman/host.rb:39
1039
906
  msgid "Host parameters."
1040
907
  msgstr "主機參數。"
1041
908
 
1042
- #: lib/hammer_cli_foreman/host.rb:38
909
+ #: lib/hammer_cli_foreman/host.rb:41
1043
910
  msgid "Compute resource attributes."
1044
911
  msgstr "運算資源屬性。"
1045
912
 
1046
- #: lib/hammer_cli_foreman/host.rb:40
913
+ #: lib/hammer_cli_foreman/host.rb:43
1047
914
  msgid "Volume parameters"
1048
915
  msgstr "卷冊參數"
1049
916
 
1050
- #: lib/hammer_cli_foreman/host.rb:42
917
+ #: lib/hammer_cli_foreman/host.rb:45
1051
918
  msgid "Interface parameters."
1052
919
  msgstr "介面參數。"
1053
920
 
1054
- #: lib/hammer_cli_foreman/host.rb:127
921
+ #: lib/hammer_cli_foreman/host.rb:131
1055
922
  msgid "Host Group"
1056
923
  msgstr "主機群組"
1057
924
 
1058
- #: lib/hammer_cli_foreman/host.rb:128 lib/hammer_cli_foreman/host.rb:197
1059
- #: lib/hammer_cli_foreman/host.rb:210
925
+ #: lib/hammer_cli_foreman/host.rb:132 lib/hammer_cli_foreman/host.rb:201
926
+ #: lib/hammer_cli_foreman/host.rb:214
1060
927
  msgid "IP"
1061
928
  msgstr "IP"
1062
929
 
1063
- #: lib/hammer_cli_foreman/host.rb:129 lib/hammer_cli_foreman/host.rb:198
1064
- #: lib/hammer_cli_foreman/host.rb:211
930
+ #: lib/hammer_cli_foreman/host.rb:133 lib/hammer_cli_foreman/host.rb:202
931
+ #: lib/hammer_cli_foreman/host.rb:215
1065
932
  msgid "MAC"
1066
933
  msgstr "MAC"
1067
934
 
1068
- #: lib/hammer_cli_foreman/host.rb:158
935
+ #: lib/hammer_cli_foreman/host.rb:162
1069
936
  msgid "Cert name"
1070
937
  msgstr "憑證名稱"
1071
938
 
1072
- #: lib/hammer_cli_foreman/host.rb:162
939
+ #: lib/hammer_cli_foreman/host.rb:166
1073
940
  msgid "Managed"
1074
941
  msgstr "已管理"
1075
942
 
1076
- #: lib/hammer_cli_foreman/host.rb:163
943
+ #: lib/hammer_cli_foreman/host.rb:167
1077
944
  msgid "Enabled"
1078
945
  msgstr "已啟用"
1079
946
 
1080
- #: lib/hammer_cli_foreman/host.rb:164
947
+ #: lib/hammer_cli_foreman/host.rb:168
1081
948
  msgid "Build"
1082
949
  msgstr "組建"
1083
950
 
1084
- #: lib/hammer_cli_foreman/host.rb:166
951
+ #: lib/hammer_cli_foreman/host.rb:170
1085
952
  msgid "Use image"
1086
953
  msgstr "使用映像檔"
1087
954
 
1088
- #: lib/hammer_cli_foreman/host.rb:167
955
+ #: lib/hammer_cli_foreman/host.rb:171
1089
956
  msgid "Disk"
1090
957
  msgstr "磁碟"
1091
958
 
1092
- #: lib/hammer_cli_foreman/host.rb:168
959
+ #: lib/hammer_cli_foreman/host.rb:172
1093
960
  msgid "Image file"
1094
961
  msgstr "映像檔"
1095
962
 
1096
- #: lib/hammer_cli_foreman/host.rb:170
963
+ #: lib/hammer_cli_foreman/host.rb:174
1097
964
  msgid "SP Name"
1098
965
  msgstr "SP 名稱"
1099
966
 
1100
- #: lib/hammer_cli_foreman/host.rb:171
967
+ #: lib/hammer_cli_foreman/host.rb:175
1101
968
  msgid "SP IP"
1102
969
  msgstr "SP IP"
1103
970
 
1104
- #: lib/hammer_cli_foreman/host.rb:172
971
+ #: lib/hammer_cli_foreman/host.rb:176
1105
972
  msgid "SP MAC"
1106
973
  msgstr "SP MAC"
1107
974
 
1108
- #: lib/hammer_cli_foreman/host.rb:174
975
+ #: lib/hammer_cli_foreman/host.rb:178
1109
976
  msgid "SP Subnet"
1110
977
  msgstr "SP 子網路"
1111
978
 
1112
- #: lib/hammer_cli_foreman/host.rb:176
979
+ #: lib/hammer_cli_foreman/host.rb:180
1113
980
  msgid "Installed at"
1114
981
  msgstr "安裝於"
1115
982
 
1116
- #: lib/hammer_cli_foreman/host.rb:182
983
+ #: lib/hammer_cli_foreman/host.rb:186
1117
984
  msgid "Owner Id"
1118
985
  msgstr "擁有者 ID"
1119
986
 
1120
- #: lib/hammer_cli_foreman/host.rb:185
987
+ #: lib/hammer_cli_foreman/host.rb:189
1121
988
  msgid "Puppet Proxy Id"
1122
989
  msgstr "Puppet 協定 ID"
1123
990
 
1124
- #: lib/hammer_cli_foreman/host.rb:186
991
+ #: lib/hammer_cli_foreman/host.rb:190
1125
992
  msgid "Owner Type"
1126
993
  msgstr "擁有者類型"
1127
994
 
1128
- #: lib/hammer_cli_foreman/host.rb:189
995
+ #: lib/hammer_cli_foreman/host.rb:193
1129
996
  msgid "Image"
1130
997
  msgstr "映像檔"
1131
998
 
1132
- #: lib/hammer_cli_foreman/host.rb:190
999
+ #: lib/hammer_cli_foreman/host.rb:194
1133
1000
  msgid "Compute Resource"
1134
1001
  msgstr "運算資源"
1135
1002
 
1136
- #: lib/hammer_cli_foreman/host.rb:192
1003
+ #: lib/hammer_cli_foreman/host.rb:196
1137
1004
  msgid "Comment"
1138
1005
  msgstr "備註"
1139
1006
 
1140
- #: lib/hammer_cli_foreman/host.rb:194
1007
+ #: lib/hammer_cli_foreman/host.rb:198
1141
1008
  msgid "BMC Network Interfaces"
1142
1009
  msgstr "BMC 網路介面卡"
1143
1010
 
1144
- #: lib/hammer_cli_foreman/host.rb:199 lib/hammer_cli_foreman/host.rb:212
1011
+ #: lib/hammer_cli_foreman/host.rb:203 lib/hammer_cli_foreman/host.rb:216
1145
1012
  msgid "Domain Id"
1146
1013
  msgstr "網域 ID"
1147
1014
 
1148
- #: lib/hammer_cli_foreman/host.rb:200 lib/hammer_cli_foreman/host.rb:213
1015
+ #: lib/hammer_cli_foreman/host.rb:204 lib/hammer_cli_foreman/host.rb:217
1149
1016
  msgid "Domain Name"
1150
1017
  msgstr "網域名稱"
1151
1018
 
1152
- #: lib/hammer_cli_foreman/host.rb:201 lib/hammer_cli_foreman/host.rb:214
1019
+ #: lib/hammer_cli_foreman/host.rb:205 lib/hammer_cli_foreman/host.rb:218
1153
1020
  msgid "Subnet Id"
1154
1021
  msgstr "子網路 ID"
1155
1022
 
1156
- #: lib/hammer_cli_foreman/host.rb:202 lib/hammer_cli_foreman/host.rb:215
1023
+ #: lib/hammer_cli_foreman/host.rb:206 lib/hammer_cli_foreman/host.rb:219
1157
1024
  msgid "Subnet Name"
1158
1025
  msgstr "子網路名稱"
1159
1026
 
1160
- #: lib/hammer_cli_foreman/host.rb:203
1027
+ #: lib/hammer_cli_foreman/host.rb:207
1161
1028
  msgid "BMC Username"
1162
1029
  msgstr "BMC 使用者名稱"
1163
1030
 
1164
- #: lib/hammer_cli_foreman/host.rb:204
1031
+ #: lib/hammer_cli_foreman/host.rb:208
1165
1032
  msgid "BMC Password"
1166
1033
  msgstr "BMC 密碼"
1167
1034
 
1168
- #: lib/hammer_cli_foreman/host.rb:207
1035
+ #: lib/hammer_cli_foreman/host.rb:211
1169
1036
  msgid "Managed Network Interfaces"
1170
1037
  msgstr "已管理的網路介面卡"
1171
1038
 
1172
- #: lib/hammer_cli_foreman/host.rb:231
1039
+ #: lib/hammer_cli_foreman/host.rb:235
1173
1040
  msgid "Status"
1174
1041
  msgstr "狀態"
1175
1042
 
1176
- #: lib/hammer_cli_foreman/host.rb:232
1043
+ #: lib/hammer_cli_foreman/host.rb:236
1177
1044
  msgid "Power"
1178
1045
  msgstr "電源"
1179
1046
 
1180
- #: lib/hammer_cli_foreman/host.rb:268
1047
+ #: lib/hammer_cli_foreman/host.rb:272
1181
1048
  msgid "Puppet run triggered"
1182
1049
  msgstr "已啟動 Puppet run"
1183
1050
 
1184
- #: lib/hammer_cli_foreman/host.rb:319
1051
+ #: lib/hammer_cli_foreman/host.rb:323
1185
1052
  msgid "Host created"
1186
1053
  msgstr "已建立主機"
1187
1054
 
1188
- #: lib/hammer_cli_foreman/host.rb:320
1055
+ #: lib/hammer_cli_foreman/host.rb:324
1189
1056
  msgid "Could not create the host"
1190
1057
  msgstr "無法建立主機"
1191
1058
 
1192
- #: lib/hammer_cli_foreman/host.rb:341
1059
+ #: lib/hammer_cli_foreman/host.rb:345
1193
1060
  msgid "Host updated"
1194
1061
  msgstr "已更新主機"
1195
1062
 
1196
- #: lib/hammer_cli_foreman/host.rb:342
1063
+ #: lib/hammer_cli_foreman/host.rb:346
1197
1064
  msgid "Could not update the host"
1198
1065
  msgstr "無法更新主機"
1199
1066
 
1200
- #: lib/hammer_cli_foreman/host.rb:349
1067
+ #: lib/hammer_cli_foreman/host.rb:353
1201
1068
  msgid "Host deleted"
1202
1069
  msgstr "已刪除主機"
1203
1070
 
1204
- #: lib/hammer_cli_foreman/host.rb:350
1071
+ #: lib/hammer_cli_foreman/host.rb:354
1205
1072
  msgid "Could not delete the host"
1206
1073
  msgstr "無法刪除主機"
1207
1074
 
1208
- #: lib/hammer_cli_foreman/host.rb:357
1075
+ #: lib/hammer_cli_foreman/host.rb:361
1209
1076
  msgid "Create or update parameter for a host."
1210
1077
  msgstr "建立或更新主機參數。"
1211
1078
 
1212
- #: lib/hammer_cli_foreman/host.rb:359
1079
+ #: lib/hammer_cli_foreman/host.rb:363
1213
1080
  msgid "Host parameter updated"
1214
1081
  msgstr "已更新主機參數"
1215
1082
 
1216
- #: lib/hammer_cli_foreman/host.rb:360
1083
+ #: lib/hammer_cli_foreman/host.rb:364
1217
1084
  msgid "New host parameter created"
1218
1085
  msgstr "已建立新的主機參數"
1219
1086
 
1220
- #: lib/hammer_cli_foreman/host.rb:361
1087
+ #: lib/hammer_cli_foreman/host.rb:365
1221
1088
  msgid "Could not set host parameter"
1222
1089
  msgstr "無法設置主機參數"
1223
1090
 
1224
- #: lib/hammer_cli_foreman/host.rb:373
1091
+ #: lib/hammer_cli_foreman/host.rb:377
1225
1092
  msgid "Delete parameter for a host."
1226
1093
  msgstr "刪除主機的參數。"
1227
1094
 
1228
- #: lib/hammer_cli_foreman/host.rb:375
1095
+ #: lib/hammer_cli_foreman/host.rb:379
1229
1096
  msgid "Host parameter deleted"
1230
1097
  msgstr "已刪除主機參數"
1231
1098
 
1232
- #: lib/hammer_cli_foreman/host.rb:390
1099
+ #: lib/hammer_cli_foreman/host.rb:394
1233
1100
  msgid "Power a host on"
1234
1101
  msgstr "啟動主機電源"
1235
1102
 
1236
- #: lib/hammer_cli_foreman/host.rb:391
1103
+ #: lib/hammer_cli_foreman/host.rb:395
1237
1104
  msgid "The host is starting."
1238
1105
  msgstr "主機正在啟動。"
1239
1106
 
1240
- #: lib/hammer_cli_foreman/host.rb:408
1107
+ #: lib/hammer_cli_foreman/host.rb:412
1241
1108
  msgid "Force turning off a host"
1242
1109
  msgstr "強制關閉主機"
1243
1110
 
1244
- #: lib/hammer_cli_foreman/host.rb:413
1111
+ #: lib/hammer_cli_foreman/host.rb:417
1245
1112
  msgid "Power a host off"
1246
1113
  msgstr "關閉主機電源"
1247
1114
 
1248
- #: lib/hammer_cli_foreman/host.rb:425
1115
+ #: lib/hammer_cli_foreman/host.rb:429
1249
1116
  msgid "Power off forced."
1250
1117
  msgstr "強制關閉電源。"
1251
1118
 
1252
- #: lib/hammer_cli_foreman/host.rb:427
1119
+ #: lib/hammer_cli_foreman/host.rb:431
1253
1120
  msgid "Powering the host off."
1254
1121
  msgstr "關閉主機電源。"
1255
1122
 
1256
- #: lib/hammer_cli_foreman/host.rb:444
1123
+ #: lib/hammer_cli_foreman/host.rb:448
1257
1124
  msgid "Reboot a host"
1258
1125
  msgstr "重新啟動主機"
1259
1126
 
1260
- #: lib/hammer_cli_foreman/host.rb:445
1127
+ #: lib/hammer_cli_foreman/host.rb:449
1261
1128
  msgid "Host reboot started."
1262
1129
  msgstr "已開始重新啟動主機。"
1263
1130
 
1264
- #: lib/hammer_cli_foreman/commands.rb:77
1131
+ #: lib/hammer_cli_foreman/commands.rb:83
1265
1132
  msgid "Received data of unknown format"
1266
1133
  msgstr "取得了不明格式的資料"
1267
1134
 
1268
- #: lib/hammer_cli_foreman/commands.rb:244
1135
+ #: lib/hammer_cli_foreman/commands.rb:185
1136
+ msgid ""
1137
+ "Could not find %{resource}. Some search options were missing, please see "
1138
+ "--help."
1139
+ msgstr ""
1140
+
1141
+ #: lib/hammer_cli_foreman/commands.rb:187
1142
+ msgid "Could not find %{resource}, please set option %{switches}."
1143
+ msgstr ""
1144
+
1145
+ #: lib/hammer_cli_foreman/commands.rb:189
1146
+ msgid "Could not find %{resource}, please set one of options %{switches}."
1147
+ msgstr ""
1148
+
1149
+ #: lib/hammer_cli_foreman/commands.rb:288
1269
1150
  msgid "List next page? (%s): "
1270
1151
  msgstr "列出下一頁?(%s):"
1271
1152
 
1272
- #: lib/hammer_cli_foreman/commands.rb:448
1153
+ #: lib/hammer_cli_foreman/commands.rb:492
1273
1154
  msgid "Associate a resource"
1274
1155
  msgstr "將資源相聯"
1275
1156
 
1276
- #: lib/hammer_cli_foreman/commands.rb:470
1157
+ #: lib/hammer_cli_foreman/commands.rb:514
1277
1158
  msgid "Disassociate a resource"
1278
1159
  msgstr "解除資源的相聯"
1279
1160
 
@@ -1354,10 +1235,6 @@ msgstr ""
1354
1235
  msgid "The server does not support such operation."
1355
1236
  msgstr "伺服器不支援此類型的操作。"
1356
1237
 
1357
- #: lib/hammer_cli_foreman/operating_system.rb:11
1358
- msgid "Full name"
1359
- msgstr "完整名稱"
1360
-
1361
1238
  #: lib/hammer_cli_foreman/operating_system.rb:12
1362
1239
  msgid "Release name"
1363
1240
  msgstr "發行版名稱"
@@ -1386,105 +1263,85 @@ msgstr "預設範本"
1386
1263
  msgid "Architectures"
1387
1264
  msgstr "架構"
1388
1265
 
1389
- #: lib/hammer_cli_foreman/operating_system.rb:46
1390
- #: lib/hammer_cli_foreman/operating_system.rb:73
1391
- msgid "set associated architectures"
1392
- msgstr "設置相聯的架構"
1393
-
1394
- #: lib/hammer_cli_foreman/operating_system.rb:48
1395
- #: lib/hammer_cli_foreman/operating_system.rb:75
1396
- msgid "set associated templates"
1397
- msgstr "設置相聯的範本"
1398
-
1399
- #: lib/hammer_cli_foreman/operating_system.rb:50
1400
- #: lib/hammer_cli_foreman/operating_system.rb:77
1401
- msgid "set associated installation media"
1402
- msgstr "設置相聯的安裝媒介"
1403
-
1404
- #: lib/hammer_cli_foreman/operating_system.rb:52
1405
- #: lib/hammer_cli_foreman/operating_system.rb:79
1406
- msgid "set associated partition tables"
1407
- msgstr "設置相聯的分割表"
1408
-
1409
- #: lib/hammer_cli_foreman/operating_system.rb:55
1266
+ #: lib/hammer_cli_foreman/operating_system.rb:44
1410
1267
  msgid "Operating system created"
1411
1268
  msgstr "已建立作業系統"
1412
1269
 
1413
- #: lib/hammer_cli_foreman/operating_system.rb:56
1270
+ #: lib/hammer_cli_foreman/operating_system.rb:45
1414
1271
  msgid "Could not create the operating system"
1415
1272
  msgstr "無法建立作業系統"
1416
1273
 
1417
- #: lib/hammer_cli_foreman/operating_system.rb:82
1274
+ #: lib/hammer_cli_foreman/operating_system.rb:52
1418
1275
  msgid "Operating system updated"
1419
1276
  msgstr "已更新作業系統"
1420
1277
 
1421
- #: lib/hammer_cli_foreman/operating_system.rb:83
1278
+ #: lib/hammer_cli_foreman/operating_system.rb:53
1422
1279
  msgid "Could not update the operating system"
1423
1280
  msgstr "無法更新作業系統"
1424
1281
 
1425
- #: lib/hammer_cli_foreman/operating_system.rb:99
1282
+ #: lib/hammer_cli_foreman/operating_system.rb:60
1426
1283
  msgid "Operating system deleted"
1427
1284
  msgstr "已刪除作業系統"
1428
1285
 
1429
- #: lib/hammer_cli_foreman/operating_system.rb:100
1286
+ #: lib/hammer_cli_foreman/operating_system.rb:61
1430
1287
  msgid "Could not delete the operating system"
1431
1288
  msgstr "無法刪除作業系統"
1432
1289
 
1433
- #: lib/hammer_cli_foreman/operating_system.rb:107
1290
+ #: lib/hammer_cli_foreman/operating_system.rb:68
1434
1291
  msgid "Create or update parameter for an operating system."
1435
1292
  msgstr "建立或更新作業系統的參數。"
1436
1293
 
1437
- #: lib/hammer_cli_foreman/operating_system.rb:109
1294
+ #: lib/hammer_cli_foreman/operating_system.rb:70
1438
1295
  msgid "Operating system parameter updated"
1439
1296
  msgstr "已更新作業系統參數"
1440
1297
 
1441
- #: lib/hammer_cli_foreman/operating_system.rb:110
1298
+ #: lib/hammer_cli_foreman/operating_system.rb:71
1442
1299
  msgid "New operating system parameter created"
1443
1300
  msgstr "已建立新作業系統參數"
1444
1301
 
1445
- #: lib/hammer_cli_foreman/operating_system.rb:111
1302
+ #: lib/hammer_cli_foreman/operating_system.rb:72
1446
1303
  msgid "Could not set operating system parameter"
1447
1304
  msgstr "無法設置作業系統參數"
1448
1305
 
1449
- #: lib/hammer_cli_foreman/operating_system.rb:123
1306
+ #: lib/hammer_cli_foreman/operating_system.rb:84
1450
1307
  msgid "Delete parameter for an operating system."
1451
1308
  msgstr "刪除作業系統的參數。"
1452
1309
 
1453
- #: lib/hammer_cli_foreman/operating_system.rb:125
1310
+ #: lib/hammer_cli_foreman/operating_system.rb:86
1454
1311
  msgid "operating system parameter deleted"
1455
1312
  msgstr "已刪除作業系統參數"
1456
1313
 
1457
- #: lib/hammer_cli_foreman/operating_system.rb:140
1458
- #: lib/hammer_cli_foreman/operating_system.rb:206
1314
+ #: lib/hammer_cli_foreman/operating_system.rb:101
1315
+ #: lib/hammer_cli_foreman/operating_system.rb:167
1459
1316
  msgid "operatingsystem id"
1460
1317
  msgstr "operatingsystem id"
1461
1318
 
1462
- #: lib/hammer_cli_foreman/operating_system.rb:141
1319
+ #: lib/hammer_cli_foreman/operating_system.rb:102
1463
1320
  msgid "config template id to be set"
1464
1321
  msgstr "欲設置的配置範本 ID"
1465
1322
 
1466
- #: lib/hammer_cli_foreman/operating_system.rb:144
1323
+ #: lib/hammer_cli_foreman/operating_system.rb:105
1467
1324
  msgid ""
1468
1325
  "[%{config_template_name}] was set as default %{template_kind_name} template"
1469
1326
  msgstr "[%{config_template_name}] 已設為預設的 %{template_kind_name} 範本"
1470
1327
 
1471
- #: lib/hammer_cli_foreman/operating_system.rb:145
1328
+ #: lib/hammer_cli_foreman/operating_system.rb:106
1472
1329
  msgid "Could not set the os default template"
1473
1330
  msgstr "無法設置 OS 預設範本"
1474
1331
 
1475
- #: lib/hammer_cli_foreman/operating_system.rb:207
1332
+ #: lib/hammer_cli_foreman/operating_system.rb:168
1476
1333
  msgid "Type of the config template"
1477
1334
  msgstr "配置範本的類型"
1478
1335
 
1479
- #: lib/hammer_cli_foreman/operating_system.rb:209
1336
+ #: lib/hammer_cli_foreman/operating_system.rb:170
1480
1337
  msgid "Default template deleted"
1481
1338
  msgstr "已刪除預設範本"
1482
1339
 
1483
- #: lib/hammer_cli_foreman/operating_system.rb:210
1340
+ #: lib/hammer_cli_foreman/operating_system.rb:171
1484
1341
  msgid "Could not delete the default template"
1485
1342
  msgstr "無法刪除預設範本"
1486
1343
 
1487
- #: lib/hammer_cli_foreman/operating_system.rb:217
1344
+ #: lib/hammer_cli_foreman/operating_system.rb:178
1488
1345
  msgid "Default template of type %s not found"
1489
1346
  msgstr ""
1490
1347
 
@@ -1569,6 +1426,11 @@ msgstr "無法刪除環境"
1569
1426
  msgid "Smart variables"
1570
1427
  msgstr "智慧變數"
1571
1428
 
1429
+ #: lib/hammer_cli_foreman/puppet_class.rb:34
1430
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:10
1431
+ msgid "Parameter"
1432
+ msgstr "參數"
1433
+
1572
1434
  #: lib/hammer_cli_foreman/puppet_class.rb:35
1573
1435
  msgid "Default value"
1574
1436
  msgstr "預設值"
@@ -1633,6 +1495,74 @@ msgstr "刪除網域的參數。"
1633
1495
  msgid "Domain parameter deleted"
1634
1496
  msgstr "已刪除網域參數"
1635
1497
 
1498
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:11
1499
+ msgid "Default Value"
1500
+ msgstr "預設值"
1501
+
1502
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:12
1503
+ msgid "Override"
1504
+ msgstr "覆寫"
1505
+
1506
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:33
1507
+ msgid "Puppet class"
1508
+ msgstr "Puppet 類別"
1509
+
1510
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:34
1511
+ msgid "Class Id"
1512
+ msgstr "類別 ID"
1513
+
1514
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:55
1515
+ msgid "Required"
1516
+ msgstr "需要"
1517
+
1518
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:57
1519
+ msgid "Validator"
1520
+ msgstr "驗證程式"
1521
+
1522
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:59
1523
+ msgid "Rule"
1524
+ msgstr "規則"
1525
+
1526
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:61
1527
+ msgid "Override values"
1528
+ msgstr "覆寫規則"
1529
+
1530
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:62
1531
+ msgid "Order"
1532
+ msgstr "順序"
1533
+
1534
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:63
1535
+ msgid "Count"
1536
+ msgstr "計數"
1537
+
1538
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:67
1539
+ msgid "Match"
1540
+ msgstr "比對"
1541
+
1542
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:86
1543
+ msgid "Parameter updated"
1544
+ msgstr "已更新參數"
1545
+
1546
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:87
1547
+ msgid "Could not update the parameter"
1548
+ msgstr "無法更新參數"
1549
+
1550
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:91
1551
+ msgid "Override this parameter."
1552
+ msgstr "覆寫此參數。"
1553
+
1554
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:93
1555
+ msgid "This parameter is required."
1556
+ msgstr "此參數乃必要的。"
1557
+
1558
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:95
1559
+ msgid "Type of the parameter."
1560
+ msgstr "參數的類型。"
1561
+
1562
+ #: lib/hammer_cli_foreman/smart_class_parameter.rb:98
1563
+ msgid "Type of the validator."
1564
+ msgstr "驗證程式的類型。"
1565
+
1636
1566
  #: lib/hammer_cli_foreman/auth.rb:7
1637
1567
  msgid "Set credentials"
1638
1568
  msgstr "設定認證"
@@ -1687,6 +1617,14 @@ msgstr "無法刪除使用者群組"
1687
1617
  msgid "View and manage compute resource's images"
1688
1618
  msgstr "檢視和管理運算資源的映像檔"
1689
1619
 
1620
+ #: lib/hammer_cli_foreman/image.rb:32
1621
+ msgid "Username"
1622
+ msgstr "使用者名稱"
1623
+
1624
+ #: lib/hammer_cli_foreman/image.rb:46
1625
+ msgid "IAM role"
1626
+ msgstr "IAM 角色"
1627
+
1690
1628
  #: lib/hammer_cli_foreman/image.rb:56
1691
1629
  msgid "Show images available for addition"
1692
1630
  msgstr "顯示能使用的額外映像檔"
@@ -1748,103 +1686,111 @@ msgstr "已刪除分割表"
1748
1686
  msgid "Could not delete the partition table"
1749
1687
  msgstr "無法刪除分割表"
1750
1688
 
1751
- #: lib/hammer_cli_foreman/credentials.rb:10
1752
- msgid "[Foreman] username: "
1753
- msgstr "[Foreman] 使用者名稱:"
1689
+ #: lib/hammer_cli_foreman/credentials.rb:26
1690
+ msgid "[Foreman] Username: "
1691
+ msgstr ""
1754
1692
 
1755
- #: lib/hammer_cli_foreman/credentials.rb:15
1756
- msgid "[Foreman] password for %s: "
1757
- msgstr "[Foreman] %s 的密碼:"
1693
+ #: lib/hammer_cli_foreman/credentials.rb:33
1694
+ msgid "[Foreman] Password for %s: "
1695
+ msgstr ""
1758
1696
 
1759
- #: lib/hammer_cli_foreman/id_resolver.rb:32
1697
+ #: lib/hammer_cli_foreman/id_resolver.rb:36
1760
1698
  msgid "Architecture name"
1761
1699
  msgstr "架構名稱"
1762
1700
 
1763
- #: lib/hammer_cli_foreman/id_resolver.rb:33
1701
+ #: lib/hammer_cli_foreman/id_resolver.rb:37
1764
1702
  msgid "Compute resource name"
1765
1703
  msgstr "運算資源名稱"
1766
1704
 
1767
- #: lib/hammer_cli_foreman/id_resolver.rb:34
1705
+ #: lib/hammer_cli_foreman/id_resolver.rb:38
1768
1706
  msgid "Domain name"
1769
1707
  msgstr "網域名稱"
1770
1708
 
1771
- #: lib/hammer_cli_foreman/id_resolver.rb:35
1709
+ #: lib/hammer_cli_foreman/id_resolver.rb:39
1772
1710
  msgid "Environment name"
1773
1711
  msgstr "環境名稱"
1774
1712
 
1775
- #: lib/hammer_cli_foreman/id_resolver.rb:38
1713
+ #: lib/hammer_cli_foreman/id_resolver.rb:42
1776
1714
  msgid "Host name"
1777
1715
  msgstr "主機名稱"
1778
1716
 
1779
- #: lib/hammer_cli_foreman/id_resolver.rb:39
1717
+ #: lib/hammer_cli_foreman/id_resolver.rb:43
1780
1718
  msgid "Hostgroup name"
1781
1719
  msgstr "主機群組名稱"
1782
1720
 
1783
- #: lib/hammer_cli_foreman/id_resolver.rb:41
1721
+ #: lib/hammer_cli_foreman/id_resolver.rb:45
1784
1722
  msgid "Location name"
1785
1723
  msgstr "位置名稱"
1786
1724
 
1787
- #: lib/hammer_cli_foreman/id_resolver.rb:42
1725
+ #: lib/hammer_cli_foreman/id_resolver.rb:46
1788
1726
  msgid "Medium name"
1789
1727
  msgstr "媒介名稱"
1790
1728
 
1791
- #: lib/hammer_cli_foreman/id_resolver.rb:43
1729
+ #: lib/hammer_cli_foreman/id_resolver.rb:47
1792
1730
  msgid "Model name"
1793
1731
  msgstr "型號名稱"
1794
1732
 
1795
- #: lib/hammer_cli_foreman/id_resolver.rb:44
1733
+ #: lib/hammer_cli_foreman/id_resolver.rb:48
1796
1734
  msgid "Organization name"
1797
1735
  msgstr "組織名稱"
1798
1736
 
1799
- #: lib/hammer_cli_foreman/id_resolver.rb:46
1737
+ #: lib/hammer_cli_foreman/id_resolver.rb:49
1738
+ msgid "Operating system title"
1739
+ msgstr ""
1740
+
1741
+ #: lib/hammer_cli_foreman/id_resolver.rb:50
1800
1742
  msgid "Partition table name"
1801
1743
  msgstr "分割表名稱"
1802
1744
 
1803
- #: lib/hammer_cli_foreman/id_resolver.rb:47
1745
+ #: lib/hammer_cli_foreman/id_resolver.rb:51
1804
1746
  msgid "Proxy name"
1805
1747
  msgstr "協定名稱"
1806
1748
 
1807
- #: lib/hammer_cli_foreman/id_resolver.rb:48
1749
+ #: lib/hammer_cli_foreman/id_resolver.rb:52
1808
1750
  msgid "Puppet class name"
1809
1751
  msgstr "Puppet class 名稱"
1810
1752
 
1811
- #: lib/hammer_cli_foreman/id_resolver.rb:49
1753
+ #: lib/hammer_cli_foreman/id_resolver.rb:53
1812
1754
  msgid "Report name"
1813
1755
  msgstr "報告名稱"
1814
1756
 
1815
- #: lib/hammer_cli_foreman/id_resolver.rb:50
1757
+ #: lib/hammer_cli_foreman/id_resolver.rb:54
1816
1758
  msgid "User role name"
1817
1759
  msgstr "使用者角色名稱"
1818
1760
 
1819
- #: lib/hammer_cli_foreman/id_resolver.rb:51
1761
+ #: lib/hammer_cli_foreman/id_resolver.rb:55
1820
1762
  msgid "Subnet name"
1821
1763
  msgstr "子網路名稱"
1822
1764
 
1823
- #: lib/hammer_cli_foreman/id_resolver.rb:53
1765
+ #: lib/hammer_cli_foreman/id_resolver.rb:57
1824
1766
  msgid "User's login to search by"
1825
1767
  msgstr "欲用來進行搜尋的使用者名稱"
1826
1768
 
1827
- #: lib/hammer_cli_foreman/id_resolver.rb:54
1769
+ #: lib/hammer_cli_foreman/id_resolver.rb:58
1828
1770
  msgid "Common parameter name"
1829
1771
  msgstr "常見的參數名稱"
1830
1772
 
1831
- #: lib/hammer_cli_foreman/id_resolver.rb:55
1773
+ #: lib/hammer_cli_foreman/id_resolver.rb:59
1832
1774
  msgid "Smart class parameter name"
1833
1775
  msgstr "智慧類別參數名稱"
1834
1776
 
1835
- #: lib/hammer_cli_foreman/id_resolver.rb:57
1777
+ #: lib/hammer_cli_foreman/id_resolver.rb:61
1836
1778
  msgid "Name to search by"
1837
1779
  msgstr "欲使用來進行搜尋的名稱"
1838
1780
 
1839
- #: lib/hammer_cli_foreman/id_resolver.rb:140
1781
+ #: lib/hammer_cli_foreman/id_resolver.rb:149
1782
+ msgid "one of %s not found"
1783
+ msgstr ""
1784
+
1785
+ #: lib/hammer_cli_foreman/id_resolver.rb:191
1840
1786
  msgid "%s not found"
1841
1787
  msgstr "找不到 %s"
1842
1788
 
1843
- #: lib/hammer_cli_foreman/id_resolver.rb:141
1789
+ #: lib/hammer_cli_foreman/id_resolver.rb:192
1844
1790
  msgid "%s found more than once"
1845
1791
  msgstr "找到 %s 超過一次"
1846
1792
 
1847
- #: lib/hammer_cli_foreman/id_resolver.rb:152
1793
+ #: lib/hammer_cli_foreman/id_resolver.rb:203
1848
1794
  msgid "Missing options to search %s"
1849
1795
  msgstr "缺少了搜尋 %s 的選項"
1850
1796