hammer_cli_foreman 0.8.0 → 0.9.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 +1 -0
  3. data/doc/host_create.md +3 -3
  4. data/doc/release_notes.md +14 -0
  5. data/lib/hammer_cli_foreman.rb +0 -1
  6. data/lib/hammer_cli_foreman/api.rb +3 -0
  7. data/lib/hammer_cli_foreman/api/connection.rb +75 -0
  8. data/lib/hammer_cli_foreman/api/interactive_basic_auth.rb +49 -0
  9. data/lib/hammer_cli_foreman/api/session_authenticator_wrapper.rb +120 -0
  10. data/lib/hammer_cli_foreman/auth.rb +16 -12
  11. data/lib/hammer_cli_foreman/commands.rb +4 -36
  12. data/lib/hammer_cli_foreman/compute_resource.rb +6 -6
  13. data/lib/hammer_cli_foreman/compute_resources/all.rb +7 -0
  14. data/lib/hammer_cli_foreman/compute_resources/ec2.rb +9 -0
  15. data/lib/hammer_cli_foreman/compute_resources/ec2/host_help_extenstion.rb +23 -0
  16. data/lib/hammer_cli_foreman/compute_resources/gce.rb +9 -0
  17. data/lib/hammer_cli_foreman/compute_resources/gce/host_help_extenstion.rb +22 -0
  18. data/lib/hammer_cli_foreman/compute_resources/libvirt.rb +9 -0
  19. data/lib/hammer_cli_foreman/compute_resources/libvirt/host_help_extenstion.rb +35 -0
  20. data/lib/hammer_cli_foreman/compute_resources/openstack.rb +9 -0
  21. data/lib/hammer_cli_foreman/compute_resources/openstack/host_help_extenstion.rb +23 -0
  22. data/lib/hammer_cli_foreman/compute_resources/ovirt.rb +9 -0
  23. data/lib/hammer_cli_foreman/compute_resources/ovirt/host_help_extenstion.rb +36 -0
  24. data/lib/hammer_cli_foreman/compute_resources/rackspace.rb +9 -0
  25. data/lib/hammer_cli_foreman/compute_resources/rackspace/host_help_extenstion.rb +20 -0
  26. data/lib/hammer_cli_foreman/compute_resources/vmware.rb +9 -0
  27. data/lib/hammer_cli_foreman/compute_resources/vmware/host_help_extenstion.rb +62 -0
  28. data/lib/hammer_cli_foreman/filter.rb +1 -0
  29. data/lib/hammer_cli_foreman/host.rb +15 -140
  30. data/lib/hammer_cli_foreman/hosts/common_update_help.rb +53 -0
  31. data/lib/hammer_cli_foreman/hosts/common_update_options.rb +141 -0
  32. data/lib/hammer_cli_foreman/references.rb +13 -2
  33. data/lib/hammer_cli_foreman/role.rb +3 -7
  34. data/lib/hammer_cli_foreman/smart_class_parameter.rb +2 -2
  35. data/lib/hammer_cli_foreman/smart_variable.rb +1 -2
  36. data/lib/hammer_cli_foreman/user.rb +2 -0
  37. data/lib/hammer_cli_foreman/version.rb +1 -1
  38. data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  39. data/locale/ca/hammer-cli-foreman.edit.po +520 -318
  40. data/locale/ca/hammer-cli-foreman.po +253 -175
  41. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  42. data/locale/de/hammer-cli-foreman.edit.po +568 -358
  43. data/locale/de/hammer-cli-foreman.po +255 -177
  44. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  45. data/locale/en/hammer-cli-foreman.edit.po +446 -228
  46. data/locale/en/hammer-cli-foreman.po +208 -41
  47. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  48. data/locale/en_GB/hammer-cli-foreman.edit.po +498 -307
  49. data/locale/en_GB/hammer-cli-foreman.po +254 -176
  50. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  51. data/locale/es/hammer-cli-foreman.edit.po +594 -388
  52. data/locale/es/hammer-cli-foreman.po +254 -176
  53. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  54. data/locale/fr/hammer-cli-foreman.edit.po +542 -342
  55. data/locale/fr/hammer-cli-foreman.po +254 -176
  56. data/locale/hammer-cli-foreman.pot +503 -241
  57. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  58. data/locale/it/hammer-cli-foreman.edit.po +510 -295
  59. data/locale/it/hammer-cli-foreman.po +254 -176
  60. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  61. data/locale/ja/hammer-cli-foreman.edit.po +590 -365
  62. data/locale/ja/hammer-cli-foreman.po +254 -176
  63. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  64. data/locale/ko/hammer-cli-foreman.edit.po +591 -366
  65. data/locale/ko/hammer-cli-foreman.po +254 -176
  66. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  67. data/locale/pt_BR/hammer-cli-foreman.edit.po +588 -388
  68. data/locale/pt_BR/hammer-cli-foreman.po +254 -176
  69. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  70. data/locale/ru/hammer-cli-foreman.edit.po +549 -336
  71. data/locale/ru/hammer-cli-foreman.po +254 -176
  72. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  73. data/locale/zh_CN/hammer-cli-foreman.edit.po +598 -373
  74. data/locale/zh_CN/hammer-cli-foreman.po +254 -176
  75. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  76. data/locale/zh_TW/hammer-cli-foreman.edit.po +592 -367
  77. data/locale/zh_TW/hammer-cli-foreman.po +254 -176
  78. data/test/test_helper.rb +7 -5
  79. data/test/unit/api/interactive_basic_auth_test.rb +87 -0
  80. data/test/unit/api/session_authenticator_wrapper_test.rb +263 -0
  81. data/test/unit/exception_handler_test.rb +1 -1
  82. data/test/unit/host_test.rb +2 -2
  83. metadata +314 -292
  84. data/lib/hammer_cli_foreman/credentials.rb +0 -67
  85. data/test/unit/credentials_test.rb +0 -59
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman 0.8.0\n"
8
+ "Project-Id-Version: hammer-cli-foreman 0.9.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2016-06-14 23:53+0200\n"
11
- "PO-Revision-Date: 2016-08-12 16:30+0000\n"
12
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
10
+ "POT-Creation-Date: 2016-09-01 12:48+0200\n"
11
+ "PO-Revision-Date: 2016-09-02 09:32+0000\n"
12
+ "Last-Translator: Lukáš Zapletal\n"
13
13
  "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -106,22 +106,26 @@ msgid "Manipulate smart proxies."
106
106
  msgstr "操作智慧協定。"
107
107
 
108
108
  #: ../lib/hammer_cli_foreman.rb:120
109
+ msgid "Manipulate realms."
110
+ msgstr ""
111
+
112
+ #: ../lib/hammer_cli_foreman.rb:124
109
113
  msgid "Change server settings."
110
114
  msgstr "修改伺服器設定。"
111
115
 
112
- #: ../lib/hammer_cli_foreman.rb:124
116
+ #: ../lib/hammer_cli_foreman.rb:128
113
117
  msgid "Manipulate subnets."
114
118
  msgstr "操作子網路。"
115
119
 
116
- #: ../lib/hammer_cli_foreman.rb:128
120
+ #: ../lib/hammer_cli_foreman.rb:132
117
121
  msgid "Manipulate config templates."
118
122
  msgstr "操作配置範本。"
119
123
 
120
- #: ../lib/hammer_cli_foreman.rb:132
124
+ #: ../lib/hammer_cli_foreman.rb:136
121
125
  msgid "Manipulate users."
122
126
  msgstr "操作使用者。"
123
127
 
124
- #: ../lib/hammer_cli_foreman.rb:136
128
+ #: ../lib/hammer_cli_foreman.rb:140
125
129
  msgid "Manage user groups."
126
130
  msgstr "管理使用者群組。"
127
131
 
@@ -133,8 +137,8 @@ msgstr "管理使用者群組。"
133
137
  #: ../lib/hammer_cli_foreman/external_usergroup.rb:10
134
138
  #: ../lib/hammer_cli_foreman/filter.rb:9
135
139
  #: ../lib/hammer_cli_foreman/filter.rb:72
136
- #: ../lib/hammer_cli_foreman/host.rb:159 ../lib/hammer_cli_foreman/host.rb:196
137
- #: ../lib/hammer_cli_foreman/host.rb:227
140
+ #: ../lib/hammer_cli_foreman/host.rb:159 ../lib/hammer_cli_foreman/host.rb:191
141
+ #: ../lib/hammer_cli_foreman/host.rb:222
138
142
  #: ../lib/hammer_cli_foreman/hostgroup.rb:57
139
143
  #: ../lib/hammer_cli_foreman/image.rb:29
140
144
  #: ../lib/hammer_cli_foreman/interface.rb:23
@@ -145,14 +149,14 @@ msgstr "管理使用者群組。"
145
149
  #: ../lib/hammer_cli_foreman/organization.rb:13
146
150
  #: ../lib/hammer_cli_foreman/partition_table.rb:10
147
151
  #: ../lib/hammer_cli_foreman/puppet_class.rb:13
148
- #: ../lib/hammer_cli_foreman/report.rb:10
152
+ #: ../lib/hammer_cli_foreman/realm.rb:8 ../lib/hammer_cli_foreman/report.rb:10
149
153
  #: ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11
150
154
  #: ../lib/hammer_cli_foreman/settings.rb:11
151
155
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:8
152
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74
156
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75
153
157
  #: ../lib/hammer_cli_foreman/smart_proxy.rb:11
154
158
  #: ../lib/hammer_cli_foreman/smart_variable.rb:8
155
- #: ../lib/hammer_cli_foreman/smart_variable.rb:64
159
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:66
156
160
  #: ../lib/hammer_cli_foreman/subnet.rb:10
157
161
  #: ../lib/hammer_cli_foreman/template.rb:25
158
162
  #: ../lib/hammer_cli_foreman/user.rb:10
@@ -170,7 +174,7 @@ msgstr "ID"
170
174
  #: ../lib/hammer_cli_foreman/external_usergroup.rb:42
171
175
  #: ../lib/hammer_cli_foreman/filter.rb:73
172
176
  #: ../lib/hammer_cli_foreman/filter.rb:90
173
- #: ../lib/hammer_cli_foreman/host.rb:160 ../lib/hammer_cli_foreman/host.rb:198
177
+ #: ../lib/hammer_cli_foreman/host.rb:160 ../lib/hammer_cli_foreman/host.rb:193
174
178
  #: ../lib/hammer_cli_foreman/hostgroup.rb:58
175
179
  #: ../lib/hammer_cli_foreman/image.rb:30 ../lib/hammer_cli_foreman/image.rb:70
176
180
  #: ../lib/hammer_cli_foreman/location.rb:14
@@ -179,10 +183,9 @@ msgstr "ID"
179
183
  #: ../lib/hammer_cli_foreman/organization.rb:14
180
184
  #: ../lib/hammer_cli_foreman/partition_table.rb:11
181
185
  #: ../lib/hammer_cli_foreman/puppet_class.rb:14
182
- #: ../lib/hammer_cli_foreman/role.rb:12
186
+ #: ../lib/hammer_cli_foreman/realm.rb:9 ../lib/hammer_cli_foreman/role.rb:12
183
187
  #: ../lib/hammer_cli_foreman/settings.rb:12
184
188
  #: ../lib/hammer_cli_foreman/smart_proxy.rb:12
185
- #: ../lib/hammer_cli_foreman/smart_variable.rb:10
186
189
  #: ../lib/hammer_cli_foreman/subnet.rb:11
187
190
  #: ../lib/hammer_cli_foreman/template.rb:26
188
191
  #: ../lib/hammer_cli_foreman/template.rb:75
@@ -575,6 +578,30 @@ msgstr "已移除使用者角色"
575
578
  msgid "Could not remove the user role"
576
579
  msgstr "無法移除使用者角色"
577
580
 
581
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:357
582
+ msgid "Associate a location"
583
+ msgstr ""
584
+
585
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:359
586
+ msgid "The location has been associated"
587
+ msgstr ""
588
+
589
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:360
590
+ msgid "Could not associate the location"
591
+ msgstr ""
592
+
593
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:365
594
+ msgid "Disassociate a location"
595
+ msgstr ""
596
+
597
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:367
598
+ msgid "The location has been disassociated"
599
+ msgstr ""
600
+
601
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:368
602
+ msgid "Could not disassociate the location"
603
+ msgstr ""
604
+
578
605
  #: ../lib/hammer_cli_foreman/auth.rb:7
579
606
  msgid "Set credentials"
580
607
  msgstr "設定認證"
@@ -720,10 +747,10 @@ msgid "The %{resource_name} has been disassociated"
720
747
  msgstr ""
721
748
 
722
749
  #: ../lib/hammer_cli_foreman/common_parameter.rb:13
723
- #: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:323
750
+ #: ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:318
724
751
  #: ../lib/hammer_cli_foreman/settings.rb:13
725
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
726
- #: ../lib/hammer_cli_foreman/smart_variable.rb:66
752
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:77
753
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:68
727
754
  msgid "Value"
728
755
  msgstr "值"
729
756
 
@@ -769,7 +796,7 @@ msgstr "供應方"
769
796
 
770
797
  #: ../lib/hammer_cli_foreman/compute_resource.rb:34
771
798
  #: ../lib/hammer_cli_foreman/compute_resource.rb:40
772
- #: ../lib/hammer_cli_foreman/host.rb:197 ../lib/hammer_cli_foreman/image.rb:33
799
+ #: ../lib/hammer_cli_foreman/host.rb:192 ../lib/hammer_cli_foreman/image.rb:33
773
800
  #: ../lib/hammer_cli_foreman/image.rb:71
774
801
  msgid "UUID"
775
802
  msgstr "UUID"
@@ -793,9 +820,11 @@ msgstr "URL"
793
820
 
794
821
  #: ../lib/hammer_cli_foreman/compute_resource.rb:55
795
822
  #: ../lib/hammer_cli_foreman/domain.rb:42
823
+ #: ../lib/hammer_cli_foreman/location.rb:15
824
+ #: ../lib/hammer_cli_foreman/organization.rb:15
796
825
  #: ../lib/hammer_cli_foreman/settings.rb:14
797
826
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:59
798
- #: ../lib/hammer_cli_foreman/smart_variable.rb:51
827
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:53
799
828
  msgid "Description"
800
829
  msgstr "描述"
801
830
 
@@ -1007,7 +1036,7 @@ msgstr "無法刪除外部使用者群組"
1007
1036
  msgid "Host"
1008
1037
  msgstr "主機"
1009
1038
 
1010
- #: ../lib/hammer_cli_foreman/fact.rb:13 ../lib/hammer_cli_foreman/host.rb:322
1039
+ #: ../lib/hammer_cli_foreman/fact.rb:13 ../lib/hammer_cli_foreman/host.rb:317
1011
1040
  msgid "Fact"
1012
1041
  msgstr "詳情"
1013
1042
 
@@ -1099,21 +1128,21 @@ msgstr "介面參數。"
1099
1128
  msgid "Enter the root password for the host:"
1100
1129
  msgstr "輸入主機的 root 密碼:"
1101
1130
 
1102
- #: ../lib/hammer_cli_foreman/host.rb:161 ../lib/hammer_cli_foreman/host.rb:237
1131
+ #: ../lib/hammer_cli_foreman/host.rb:161 ../lib/hammer_cli_foreman/host.rb:232
1103
1132
  #: ../lib/hammer_cli_foreman/hostgroup.rb:60
1104
1133
  #: ../lib/hammer_cli_foreman/image.rb:31
1105
1134
  msgid "Operating System"
1106
1135
  msgstr "作業系統"
1107
1136
 
1108
- #: ../lib/hammer_cli_foreman/host.rb:162 ../lib/hammer_cli_foreman/host.rb:201
1137
+ #: ../lib/hammer_cli_foreman/host.rb:162 ../lib/hammer_cli_foreman/host.rb:196
1109
1138
  msgid "Host Group"
1110
1139
  msgstr "主機群組"
1111
1140
 
1112
- #: ../lib/hammer_cli_foreman/host.rb:163 ../lib/hammer_cli_foreman/host.rb:214
1141
+ #: ../lib/hammer_cli_foreman/host.rb:163 ../lib/hammer_cli_foreman/host.rb:209
1113
1142
  msgid "IP"
1114
1143
  msgstr "IP"
1115
1144
 
1116
- #: ../lib/hammer_cli_foreman/host.rb:164 ../lib/hammer_cli_foreman/host.rb:215
1145
+ #: ../lib/hammer_cli_foreman/host.rb:164 ../lib/hammer_cli_foreman/host.rb:210
1117
1146
  msgid "MAC"
1118
1147
  msgstr "MAC"
1119
1148
 
@@ -1121,289 +1150,289 @@ msgstr "MAC"
1121
1150
  msgid "Bare Metal"
1122
1151
  msgstr "裸機"
1123
1152
 
1124
- #: ../lib/hammer_cli_foreman/host.rb:199
1153
+ #: ../lib/hammer_cli_foreman/host.rb:194
1125
1154
  msgid "Organization"
1126
1155
  msgstr "團體"
1127
1156
 
1128
- #: ../lib/hammer_cli_foreman/host.rb:200
1157
+ #: ../lib/hammer_cli_foreman/host.rb:195
1129
1158
  msgid "Location"
1130
1159
  msgstr "位置"
1131
1160
 
1132
- #: ../lib/hammer_cli_foreman/host.rb:202
1161
+ #: ../lib/hammer_cli_foreman/host.rb:197
1133
1162
  msgid "Compute Resource"
1134
1163
  msgstr "運算資源"
1135
1164
 
1136
- #: ../lib/hammer_cli_foreman/host.rb:203
1165
+ #: ../lib/hammer_cli_foreman/host.rb:198
1137
1166
  msgid "Compute Profile"
1138
1167
  msgstr "運算設定檔"
1139
1168
 
1140
- #: ../lib/hammer_cli_foreman/host.rb:204
1169
+ #: ../lib/hammer_cli_foreman/host.rb:199
1141
1170
  #: ../lib/hammer_cli_foreman/hostgroup.rb:61
1142
1171
  msgid "Environment"
1143
1172
  msgstr "環境"
1144
1173
 
1145
- #: ../lib/hammer_cli_foreman/host.rb:205
1174
+ #: ../lib/hammer_cli_foreman/host.rb:200
1146
1175
  msgid "Puppet CA Id"
1147
1176
  msgstr "Puppet CA ID"
1148
1177
 
1149
- #: ../lib/hammer_cli_foreman/host.rb:206
1178
+ #: ../lib/hammer_cli_foreman/host.rb:201
1150
1179
  msgid "Puppet Master Id"
1151
1180
  msgstr "Puppet 主 ID"
1152
1181
 
1153
- #: ../lib/hammer_cli_foreman/host.rb:207
1182
+ #: ../lib/hammer_cli_foreman/host.rb:202
1154
1183
  msgid "Cert name"
1155
1184
  msgstr "憑證名稱"
1156
1185
 
1157
- #: ../lib/hammer_cli_foreman/host.rb:208
1186
+ #: ../lib/hammer_cli_foreman/host.rb:203
1158
1187
  #: ../lib/hammer_cli_foreman/interface.rb:51
1159
1188
  msgid "Managed"
1160
1189
  msgstr "已管理"
1161
1190
 
1162
- #: ../lib/hammer_cli_foreman/host.rb:210
1191
+ #: ../lib/hammer_cli_foreman/host.rb:205
1163
1192
  msgid "Installed at"
1164
1193
  msgstr "安裝於"
1165
1194
 
1166
- #: ../lib/hammer_cli_foreman/host.rb:211
1195
+ #: ../lib/hammer_cli_foreman/host.rb:206
1167
1196
  #: ../lib/hammer_cli_foreman/report.rb:12
1168
1197
  msgid "Last report"
1169
1198
  msgstr "最後一份報告"
1170
1199
 
1171
- #: ../lib/hammer_cli_foreman/host.rb:213
1200
+ #: ../lib/hammer_cli_foreman/host.rb:208
1172
1201
  #: ../lib/hammer_cli_foreman/subnet.rb:12
1173
1202
  msgid "Network"
1174
1203
  msgstr "網路"
1175
1204
 
1176
- #: ../lib/hammer_cli_foreman/host.rb:216
1205
+ #: ../lib/hammer_cli_foreman/host.rb:211
1177
1206
  #: ../lib/hammer_cli_foreman/hostgroup.rb:72
1178
1207
  #: ../lib/hammer_cli_foreman/interface.rb:49
1179
1208
  msgid "Subnet"
1180
1209
  msgstr "子網路"
1181
1210
 
1182
- #: ../lib/hammer_cli_foreman/host.rb:217
1211
+ #: ../lib/hammer_cli_foreman/host.rb:212
1183
1212
  #: ../lib/hammer_cli_foreman/hostgroup.rb:74
1184
1213
  #: ../lib/hammer_cli_foreman/interface.rb:50
1185
1214
  msgid "Domain"
1186
1215
  msgstr "網域"
1187
1216
 
1188
- #: ../lib/hammer_cli_foreman/host.rb:218
1217
+ #: ../lib/hammer_cli_foreman/host.rb:213
1189
1218
  msgid "Service provider"
1190
1219
  msgstr "服務供應商"
1191
1220
 
1192
- #: ../lib/hammer_cli_foreman/host.rb:219
1221
+ #: ../lib/hammer_cli_foreman/host.rb:214
1193
1222
  msgid "SP Name"
1194
1223
  msgstr "SP 名稱"
1195
1224
 
1196
- #: ../lib/hammer_cli_foreman/host.rb:220
1225
+ #: ../lib/hammer_cli_foreman/host.rb:215
1197
1226
  msgid "SP IP"
1198
1227
  msgstr "SP IP"
1199
1228
 
1200
- #: ../lib/hammer_cli_foreman/host.rb:221
1229
+ #: ../lib/hammer_cli_foreman/host.rb:216
1201
1230
  msgid "SP MAC"
1202
1231
  msgstr "SP MAC"
1203
1232
 
1204
- #: ../lib/hammer_cli_foreman/host.rb:222
1233
+ #: ../lib/hammer_cli_foreman/host.rb:217
1205
1234
  msgid "SP Subnet"
1206
1235
  msgstr "SP 子網路"
1207
1236
 
1208
- #: ../lib/hammer_cli_foreman/host.rb:226
1237
+ #: ../lib/hammer_cli_foreman/host.rb:221
1209
1238
  msgid "Network interfaces"
1210
1239
  msgstr "網路介面卡"
1211
1240
 
1212
- #: ../lib/hammer_cli_foreman/host.rb:228
1241
+ #: ../lib/hammer_cli_foreman/host.rb:223
1213
1242
  #: ../lib/hammer_cli_foreman/interface.rb:24
1214
1243
  #: ../lib/hammer_cli_foreman/interface.rb:44
1215
1244
  msgid "Identifier"
1216
1245
  msgstr "辨識碼"
1217
1246
 
1218
- #: ../lib/hammer_cli_foreman/host.rb:229
1247
+ #: ../lib/hammer_cli_foreman/host.rb:224
1219
1248
  #: ../lib/hammer_cli_foreman/interface.rb:25
1220
1249
  #: ../lib/hammer_cli_foreman/interface.rb:45
1221
1250
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:60
1222
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65
1251
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66
1223
1252
  #: ../lib/hammer_cli_foreman/smart_variable.rb:12
1224
- #: ../lib/hammer_cli_foreman/smart_variable.rb:55
1253
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:57
1225
1254
  #: ../lib/hammer_cli_foreman/template.rb:27
1226
1255
  msgid "Type"
1227
1256
  msgstr "類型"
1228
1257
 
1229
- #: ../lib/hammer_cli_foreman/host.rb:230
1258
+ #: ../lib/hammer_cli_foreman/host.rb:225
1230
1259
  #: ../lib/hammer_cli_foreman/interface.rb:26
1231
1260
  #: ../lib/hammer_cli_foreman/interface.rb:46
1232
1261
  msgid "MAC address"
1233
1262
  msgstr "MAC 位址"
1234
1263
 
1235
- #: ../lib/hammer_cli_foreman/host.rb:231
1264
+ #: ../lib/hammer_cli_foreman/host.rb:226
1236
1265
  #: ../lib/hammer_cli_foreman/interface.rb:27
1237
1266
  #: ../lib/hammer_cli_foreman/interface.rb:47
1238
1267
  msgid "IP address"
1239
1268
  msgstr "IP 位址"
1240
1269
 
1241
- #: ../lib/hammer_cli_foreman/host.rb:232
1270
+ #: ../lib/hammer_cli_foreman/host.rb:227
1242
1271
  msgid "FQDN"
1243
1272
  msgstr "FQDN"
1244
1273
 
1245
- #: ../lib/hammer_cli_foreman/host.rb:235
1274
+ #: ../lib/hammer_cli_foreman/host.rb:230
1246
1275
  msgid "Operating system"
1247
1276
  msgstr "作業系統"
1248
1277
 
1249
- #: ../lib/hammer_cli_foreman/host.rb:236
1278
+ #: ../lib/hammer_cli_foreman/host.rb:231
1250
1279
  #: ../lib/hammer_cli_foreman/hostgroup.rb:75
1251
1280
  #: ../lib/hammer_cli_foreman/image.rb:45
1252
1281
  msgid "Architecture"
1253
1282
  msgstr "架構"
1254
1283
 
1255
- #: ../lib/hammer_cli_foreman/host.rb:240
1284
+ #: ../lib/hammer_cli_foreman/host.rb:235
1256
1285
  msgid "Build"
1257
1286
  msgstr "組建"
1258
1287
 
1259
- #: ../lib/hammer_cli_foreman/host.rb:241
1288
+ #: ../lib/hammer_cli_foreman/host.rb:236
1260
1289
  #: ../lib/hammer_cli_foreman/hostgroup.rb:77
1261
1290
  msgid "Medium"
1262
1291
  msgstr "媒介"
1263
1292
 
1264
- #: ../lib/hammer_cli_foreman/host.rb:242
1293
+ #: ../lib/hammer_cli_foreman/host.rb:237
1265
1294
  #: ../lib/hammer_cli_foreman/hostgroup.rb:76
1266
1295
  msgid "Partition Table"
1267
1296
  msgstr "分割表"
1268
1297
 
1269
- #: ../lib/hammer_cli_foreman/host.rb:243
1298
+ #: ../lib/hammer_cli_foreman/host.rb:238
1270
1299
  msgid "Custom partition table"
1271
1300
  msgstr "自訂分割表"
1272
1301
 
1273
- #: ../lib/hammer_cli_foreman/host.rb:246
1302
+ #: ../lib/hammer_cli_foreman/host.rb:241
1274
1303
  msgid "Image"
1275
1304
  msgstr "映像檔"
1276
1305
 
1277
- #: ../lib/hammer_cli_foreman/host.rb:247
1306
+ #: ../lib/hammer_cli_foreman/host.rb:242
1278
1307
  msgid "Image file"
1279
1308
  msgstr "映像檔"
1280
1309
 
1281
- #: ../lib/hammer_cli_foreman/host.rb:248
1310
+ #: ../lib/hammer_cli_foreman/host.rb:243
1282
1311
  msgid "Use image"
1283
1312
  msgstr "使用映像檔"
1284
1313
 
1285
- #: ../lib/hammer_cli_foreman/host.rb:254
1314
+ #: ../lib/hammer_cli_foreman/host.rb:249
1286
1315
  msgid "Additional info"
1287
1316
  msgstr "額外資訊"
1288
1317
 
1289
- #: ../lib/hammer_cli_foreman/host.rb:255
1318
+ #: ../lib/hammer_cli_foreman/host.rb:250
1290
1319
  msgid "Owner Id"
1291
1320
  msgstr "擁有者 ID"
1292
1321
 
1293
- #: ../lib/hammer_cli_foreman/host.rb:256
1322
+ #: ../lib/hammer_cli_foreman/host.rb:251
1294
1323
  msgid "Owner Type"
1295
1324
  msgstr "擁有者類型"
1296
1325
 
1297
- #: ../lib/hammer_cli_foreman/host.rb:257
1326
+ #: ../lib/hammer_cli_foreman/host.rb:252
1298
1327
  msgid "Enabled"
1299
1328
  msgstr "已啟用"
1300
1329
 
1301
- #: ../lib/hammer_cli_foreman/host.rb:258
1330
+ #: ../lib/hammer_cli_foreman/host.rb:253
1302
1331
  #: ../lib/hammer_cli_foreman/hostgroup.rb:62
1303
1332
  msgid "Model"
1304
1333
  msgstr "型號"
1305
1334
 
1306
- #: ../lib/hammer_cli_foreman/host.rb:259
1335
+ #: ../lib/hammer_cli_foreman/host.rb:254
1307
1336
  msgid "Comment"
1308
1337
  msgstr "備註"
1309
1338
 
1310
- #: ../lib/hammer_cli_foreman/host.rb:272
1339
+ #: ../lib/hammer_cli_foreman/host.rb:267
1311
1340
  msgid "Status"
1312
1341
  msgstr "狀態"
1313
1342
 
1314
- #: ../lib/hammer_cli_foreman/host.rb:273
1343
+ #: ../lib/hammer_cli_foreman/host.rb:268
1315
1344
  msgid "Power"
1316
1345
  msgstr "電源"
1317
1346
 
1318
- #: ../lib/hammer_cli_foreman/host.rb:309
1347
+ #: ../lib/hammer_cli_foreman/host.rb:304
1319
1348
  msgid "Puppet run triggered"
1320
1349
  msgstr "已啟動 Puppet run"
1321
1350
 
1322
- #: ../lib/hammer_cli_foreman/host.rb:362
1351
+ #: ../lib/hammer_cli_foreman/host.rb:357
1323
1352
  msgid "Host created"
1324
1353
  msgstr "已建立主機"
1325
1354
 
1326
- #: ../lib/hammer_cli_foreman/host.rb:363
1355
+ #: ../lib/hammer_cli_foreman/host.rb:358
1327
1356
  msgid "Could not create the host"
1328
1357
  msgstr "無法建立主機"
1329
1358
 
1330
- #: ../lib/hammer_cli_foreman/host.rb:380
1359
+ #: ../lib/hammer_cli_foreman/host.rb:375
1331
1360
  msgid "Host updated"
1332
1361
  msgstr "已更新主機"
1333
1362
 
1334
- #: ../lib/hammer_cli_foreman/host.rb:381
1363
+ #: ../lib/hammer_cli_foreman/host.rb:376
1335
1364
  msgid "Could not update the host"
1336
1365
  msgstr "無法更新主機"
1337
1366
 
1338
- #: ../lib/hammer_cli_foreman/host.rb:388
1367
+ #: ../lib/hammer_cli_foreman/host.rb:383
1339
1368
  msgid "Host deleted"
1340
1369
  msgstr "已刪除主機"
1341
1370
 
1342
- #: ../lib/hammer_cli_foreman/host.rb:389
1371
+ #: ../lib/hammer_cli_foreman/host.rb:384
1343
1372
  msgid "Could not delete the host"
1344
1373
  msgstr "無法刪除主機"
1345
1374
 
1346
- #: ../lib/hammer_cli_foreman/host.rb:396
1375
+ #: ../lib/hammer_cli_foreman/host.rb:391
1347
1376
  msgid "Create or update parameter for a host."
1348
1377
  msgstr "建立或更新主機參數。"
1349
1378
 
1350
- #: ../lib/hammer_cli_foreman/host.rb:398
1379
+ #: ../lib/hammer_cli_foreman/host.rb:393
1351
1380
  msgid "Host parameter updated"
1352
1381
  msgstr "已更新主機參數"
1353
1382
 
1354
- #: ../lib/hammer_cli_foreman/host.rb:399
1383
+ #: ../lib/hammer_cli_foreman/host.rb:394
1355
1384
  msgid "New host parameter created"
1356
1385
  msgstr "已建立新的主機參數"
1357
1386
 
1358
- #: ../lib/hammer_cli_foreman/host.rb:400
1387
+ #: ../lib/hammer_cli_foreman/host.rb:395
1359
1388
  msgid "Could not set host parameter"
1360
1389
  msgstr "無法設置主機參數"
1361
1390
 
1362
- #: ../lib/hammer_cli_foreman/host.rb:412
1391
+ #: ../lib/hammer_cli_foreman/host.rb:407
1363
1392
  msgid "Delete parameter for a host."
1364
1393
  msgstr "刪除主機的參數。"
1365
1394
 
1366
- #: ../lib/hammer_cli_foreman/host.rb:414
1395
+ #: ../lib/hammer_cli_foreman/host.rb:409
1367
1396
  msgid "Host parameter deleted"
1368
1397
  msgstr "已刪除主機參數"
1369
1398
 
1370
- #: ../lib/hammer_cli_foreman/host.rb:429
1399
+ #: ../lib/hammer_cli_foreman/host.rb:424
1371
1400
  msgid "Power a host on"
1372
1401
  msgstr "啟動主機電源"
1373
1402
 
1374
- #: ../lib/hammer_cli_foreman/host.rb:430
1403
+ #: ../lib/hammer_cli_foreman/host.rb:425
1375
1404
  msgid "The host is starting."
1376
1405
  msgstr "主機正在啟動。"
1377
1406
 
1378
- #: ../lib/hammer_cli_foreman/host.rb:447
1407
+ #: ../lib/hammer_cli_foreman/host.rb:442
1379
1408
  msgid "Force turning off a host"
1380
1409
  msgstr "強制關閉主機"
1381
1410
 
1382
- #: ../lib/hammer_cli_foreman/host.rb:452
1411
+ #: ../lib/hammer_cli_foreman/host.rb:447
1383
1412
  msgid "Power a host off"
1384
1413
  msgstr "關閉主機電源"
1385
1414
 
1386
- #: ../lib/hammer_cli_foreman/host.rb:464
1415
+ #: ../lib/hammer_cli_foreman/host.rb:459
1387
1416
  msgid "Power off forced."
1388
1417
  msgstr "強制關閉電源。"
1389
1418
 
1390
- #: ../lib/hammer_cli_foreman/host.rb:466
1419
+ #: ../lib/hammer_cli_foreman/host.rb:461
1391
1420
  msgid "Powering the host off."
1392
1421
  msgstr "關閉主機電源。"
1393
1422
 
1394
- #: ../lib/hammer_cli_foreman/host.rb:483
1423
+ #: ../lib/hammer_cli_foreman/host.rb:478
1395
1424
  msgid "Reboot a host"
1396
1425
  msgstr "重新啟動主機"
1397
1426
 
1398
- #: ../lib/hammer_cli_foreman/host.rb:484
1427
+ #: ../lib/hammer_cli_foreman/host.rb:479
1399
1428
  msgid "Host reboot started."
1400
1429
  msgstr "已開始重新啟動主機。"
1401
1430
 
1402
- #: ../lib/hammer_cli_foreman/host.rb:520
1431
+ #: ../lib/hammer_cli_foreman/host.rb:515
1403
1432
  msgid "Rebuild orchestration related configurations for host"
1404
1433
  msgstr ""
1405
1434
 
1406
- #: ../lib/hammer_cli_foreman/host.rb:521
1435
+ #: ../lib/hammer_cli_foreman/host.rb:516
1407
1436
  msgid "Configuration successfully rebuilt."
1408
1437
  msgstr "配置重建成功。"
1409
1438
 
@@ -1589,6 +1618,8 @@ msgid "Smart class parameter name"
1589
1618
  msgstr "智慧類別參數名稱"
1590
1619
 
1591
1620
  #: ../lib/hammer_cli_foreman/id_resolver.rb:63
1621
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:50
1622
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:113
1592
1623
  msgid "Smart variable name"
1593
1624
  msgstr "智慧變數名稱"
1594
1625
 
@@ -1752,74 +1783,74 @@ msgstr "介面已刪除"
1752
1783
  msgid "Could not delete the interface"
1753
1784
  msgstr "無法刪除介面"
1754
1785
 
1755
- #: ../lib/hammer_cli_foreman/location.rb:24
1756
- #: ../lib/hammer_cli_foreman/location.rb:63
1757
- #: ../lib/hammer_cli_foreman/location.rb:75
1786
+ #: ../lib/hammer_cli_foreman/location.rb:25
1787
+ #: ../lib/hammer_cli_foreman/location.rb:64
1788
+ #: ../lib/hammer_cli_foreman/location.rb:76
1758
1789
  msgid "Location numeric id to search by"
1759
1790
  msgstr "欲使用來進行搜尋的位置數字 ID"
1760
1791
 
1761
- #: ../lib/hammer_cli_foreman/location.rb:27
1762
- #: ../lib/hammer_cli_foreman/organization.rb:27
1792
+ #: ../lib/hammer_cli_foreman/location.rb:28
1793
+ #: ../lib/hammer_cli_foreman/organization.rb:28
1763
1794
  msgid "Parent"
1764
1795
  msgstr ""
1765
1796
 
1766
- #: ../lib/hammer_cli_foreman/location.rb:38
1797
+ #: ../lib/hammer_cli_foreman/location.rb:39
1767
1798
  #: ../lib/hammer_cli_foreman/references.rb:18
1768
1799
  msgid "Organizations"
1769
1800
  msgstr "組織"
1770
1801
 
1771
- #: ../lib/hammer_cli_foreman/location.rb:53
1802
+ #: ../lib/hammer_cli_foreman/location.rb:54
1772
1803
  msgid "Location created"
1773
1804
  msgstr "位置已建立"
1774
1805
 
1775
- #: ../lib/hammer_cli_foreman/location.rb:54
1806
+ #: ../lib/hammer_cli_foreman/location.rb:55
1776
1807
  msgid "Could not create the location"
1777
1808
  msgstr "無法建立位置"
1778
1809
 
1779
- #: ../lib/hammer_cli_foreman/location.rb:65
1810
+ #: ../lib/hammer_cli_foreman/location.rb:66
1780
1811
  msgid "Location updated"
1781
1812
  msgstr "位置已更新"
1782
1813
 
1783
- #: ../lib/hammer_cli_foreman/location.rb:66
1814
+ #: ../lib/hammer_cli_foreman/location.rb:67
1784
1815
  msgid "Could not update the location"
1785
1816
  msgstr "無法更新位置"
1786
1817
 
1787
- #: ../lib/hammer_cli_foreman/location.rb:77
1818
+ #: ../lib/hammer_cli_foreman/location.rb:78
1788
1819
  msgid "Location deleted"
1789
1820
  msgstr "位置已刪除"
1790
1821
 
1791
- #: ../lib/hammer_cli_foreman/location.rb:78
1822
+ #: ../lib/hammer_cli_foreman/location.rb:79
1792
1823
  msgid "Could not delete the location"
1793
1824
  msgstr "無法刪除位置"
1794
1825
 
1795
- #: ../lib/hammer_cli_foreman/location.rb:87
1826
+ #: ../lib/hammer_cli_foreman/location.rb:88
1796
1827
  msgid "Create or update parameter for a location."
1797
1828
  msgstr "建立或更新位置的參數"
1798
1829
 
1799
- #: ../lib/hammer_cli_foreman/location.rb:89
1800
- #: ../lib/hammer_cli_foreman/organization.rb:90
1830
+ #: ../lib/hammer_cli_foreman/location.rb:90
1831
+ #: ../lib/hammer_cli_foreman/organization.rb:91
1801
1832
  msgid "Parameter [%{name}] updated to value [%{value}]"
1802
1833
  msgstr "參數 [%{name}] 已更新為值 [%{value}]"
1803
1834
 
1804
- #: ../lib/hammer_cli_foreman/location.rb:90
1805
- #: ../lib/hammer_cli_foreman/organization.rb:91
1835
+ #: ../lib/hammer_cli_foreman/location.rb:91
1836
+ #: ../lib/hammer_cli_foreman/organization.rb:92
1806
1837
  msgid "Parameter [%{name}] created with value [%{value}]"
1807
1838
  msgstr "參數 [%{name}] 已建立,值為 [%{value}]"
1808
1839
 
1809
- #: ../lib/hammer_cli_foreman/location.rb:91
1840
+ #: ../lib/hammer_cli_foreman/location.rb:92
1810
1841
  msgid "Could not set location parameter"
1811
1842
  msgstr "無法設定位置參數"
1812
1843
 
1813
- #: ../lib/hammer_cli_foreman/location.rb:98
1844
+ #: ../lib/hammer_cli_foreman/location.rb:99
1814
1845
  msgid "Delete parameter for a location."
1815
1846
  msgstr "刪除位置參數。"
1816
1847
 
1817
- #: ../lib/hammer_cli_foreman/location.rb:100
1818
- #: ../lib/hammer_cli_foreman/organization.rb:101
1848
+ #: ../lib/hammer_cli_foreman/location.rb:101
1849
+ #: ../lib/hammer_cli_foreman/organization.rb:102
1819
1850
  msgid "Parameter [%{name}] deleted"
1820
1851
  msgstr "參數 [%{name}] 已刪除"
1821
1852
 
1822
- #: ../lib/hammer_cli_foreman/location.rb:101
1853
+ #: ../lib/hammer_cli_foreman/location.rb:102
1823
1854
  msgid "Could not delete location parameter"
1824
1855
  msgstr "無法刪除位置參數"
1825
1856
 
@@ -2002,48 +2033,48 @@ msgstr "無法刪除預設範本"
2002
2033
  msgid "Default template of type %s not found"
2003
2034
  msgstr "找不到類型為 %s 的預設範本"
2004
2035
 
2005
- #: ../lib/hammer_cli_foreman/organization.rb:38
2036
+ #: ../lib/hammer_cli_foreman/organization.rb:39
2006
2037
  #: ../lib/hammer_cli_foreman/references.rb:15
2007
2038
  msgid "Locations"
2008
2039
  msgstr "位置"
2009
2040
 
2010
- #: ../lib/hammer_cli_foreman/organization.rb:54
2041
+ #: ../lib/hammer_cli_foreman/organization.rb:55
2011
2042
  msgid "Organization created"
2012
2043
  msgstr "已建立組織"
2013
2044
 
2014
- #: ../lib/hammer_cli_foreman/organization.rb:55
2045
+ #: ../lib/hammer_cli_foreman/organization.rb:56
2015
2046
  msgid "Could not create the organization"
2016
2047
  msgstr "無法建立組織"
2017
2048
 
2018
- #: ../lib/hammer_cli_foreman/organization.rb:66
2049
+ #: ../lib/hammer_cli_foreman/organization.rb:67
2019
2050
  msgid "Organization updated"
2020
2051
  msgstr "組織已更新"
2021
2052
 
2022
- #: ../lib/hammer_cli_foreman/organization.rb:67
2053
+ #: ../lib/hammer_cli_foreman/organization.rb:68
2023
2054
  msgid "Could not update the organization"
2024
2055
  msgstr "無法更新組織"
2025
2056
 
2026
- #: ../lib/hammer_cli_foreman/organization.rb:78
2057
+ #: ../lib/hammer_cli_foreman/organization.rb:79
2027
2058
  msgid "Organization deleted"
2028
2059
  msgstr "已刪除組織"
2029
2060
 
2030
- #: ../lib/hammer_cli_foreman/organization.rb:79
2061
+ #: ../lib/hammer_cli_foreman/organization.rb:80
2031
2062
  msgid "Could not delete the organization"
2032
2063
  msgstr "無法刪除組織"
2033
2064
 
2034
- #: ../lib/hammer_cli_foreman/organization.rb:88
2065
+ #: ../lib/hammer_cli_foreman/organization.rb:89
2035
2066
  msgid "Create or update parameter for an organization."
2036
2067
  msgstr "建立或更新組織的參數。"
2037
2068
 
2038
- #: ../lib/hammer_cli_foreman/organization.rb:92
2069
+ #: ../lib/hammer_cli_foreman/organization.rb:93
2039
2070
  msgid "Could not set organization parameter"
2040
2071
  msgstr "無法設定組織參數"
2041
2072
 
2042
- #: ../lib/hammer_cli_foreman/organization.rb:99
2073
+ #: ../lib/hammer_cli_foreman/organization.rb:100
2043
2074
  msgid "Delete parameter for an organization."
2044
2075
  msgstr "刪除組織參數。"
2045
2076
 
2046
- #: ../lib/hammer_cli_foreman/organization.rb:102
2077
+ #: ../lib/hammer_cli_foreman/organization.rb:103
2047
2078
  msgid "Could not delete organization parameter"
2048
2079
  msgstr "無法刪除組織參數"
2049
2080
 
@@ -2102,6 +2133,38 @@ msgstr "預設值"
2102
2133
  msgid "Smart class parameters"
2103
2134
  msgstr "智慧類別參數"
2104
2135
 
2136
+ #: ../lib/hammer_cli_foreman/realm.rb:18
2137
+ msgid "Realm proxy id"
2138
+ msgstr ""
2139
+
2140
+ #: ../lib/hammer_cli_foreman/realm.rb:19
2141
+ msgid "Realm type"
2142
+ msgstr ""
2143
+
2144
+ #: ../lib/hammer_cli_foreman/realm.rb:29
2145
+ msgid "Realm [%{name}] created"
2146
+ msgstr ""
2147
+
2148
+ #: ../lib/hammer_cli_foreman/realm.rb:30
2149
+ msgid "Could not create the realm"
2150
+ msgstr ""
2151
+
2152
+ #: ../lib/hammer_cli_foreman/realm.rb:37
2153
+ msgid "Realm [%{name}] updated"
2154
+ msgstr ""
2155
+
2156
+ #: ../lib/hammer_cli_foreman/realm.rb:38
2157
+ msgid "Could not update the realm"
2158
+ msgstr ""
2159
+
2160
+ #: ../lib/hammer_cli_foreman/realm.rb:45
2161
+ msgid "Realm [%{name}] deleted"
2162
+ msgstr ""
2163
+
2164
+ #: ../lib/hammer_cli_foreman/realm.rb:46
2165
+ msgid "Could not delete the realm"
2166
+ msgstr ""
2167
+
2105
2168
  #: ../lib/hammer_cli_foreman/references.rb:8
2106
2169
  msgid "Created at"
2107
2170
  msgstr "建立於"
@@ -2340,106 +2403,111 @@ msgid "Class Id"
2340
2403
  msgstr "類別 ID"
2341
2404
 
2342
2405
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:61
2343
- #: ../lib/hammer_cli_foreman/smart_variable.rb:52
2406
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:54
2344
2407
  msgid "Hidden Value?"
2345
2408
  msgstr ""
2346
2409
 
2347
2410
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:62
2411
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:78
2412
+ msgid "Use puppet default"
2413
+ msgstr ""
2414
+
2415
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:63
2348
2416
  msgid "Required"
2349
2417
  msgstr "需要"
2350
2418
 
2351
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:64
2352
- #: ../lib/hammer_cli_foreman/smart_variable.rb:54
2419
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:65
2420
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:56
2353
2421
  msgid "Validator"
2354
2422
  msgstr "驗證程式"
2355
2423
 
2356
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:66
2357
- #: ../lib/hammer_cli_foreman/smart_variable.rb:56
2424
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:67
2425
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:58
2358
2426
  msgid "Rule"
2359
2427
  msgstr "規則"
2360
2428
 
2361
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:68
2362
- #: ../lib/hammer_cli_foreman/smart_variable.rb:58
2429
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69
2430
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:60
2363
2431
  msgid "Override values"
2364
2432
  msgstr "覆寫規則"
2365
2433
 
2366
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:69
2367
- #: ../lib/hammer_cli_foreman/smart_variable.rb:59
2434
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70
2435
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:61
2368
2436
  msgid "Merge overrides"
2369
2437
  msgstr "合併重複項目"
2370
2438
 
2371
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:70
2372
- #: ../lib/hammer_cli_foreman/smart_variable.rb:60
2439
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71
2440
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:62
2373
2441
  msgid "Merge default value"
2374
2442
  msgstr "合併預設值"
2375
2443
 
2376
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71
2377
- #: ../lib/hammer_cli_foreman/smart_variable.rb:61
2444
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72
2445
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:63
2378
2446
  msgid "Avoid duplicates"
2379
2447
  msgstr "避免重複項目"
2380
2448
 
2381
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72
2382
- #: ../lib/hammer_cli_foreman/smart_variable.rb:62
2449
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73
2450
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:64
2383
2451
  msgid "Order"
2384
2452
  msgstr "順序"
2385
2453
 
2386
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73
2387
- #: ../lib/hammer_cli_foreman/smart_variable.rb:63
2454
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74
2455
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:65
2388
2456
  msgid "Values"
2389
2457
  msgstr "數值"
2390
2458
 
2391
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75
2392
- #: ../lib/hammer_cli_foreman/smart_variable.rb:65
2459
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76
2460
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:67
2393
2461
  msgid "Match"
2394
2462
  msgstr "比對"
2395
2463
 
2396
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:102
2464
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:105
2397
2465
  msgid "Parameter updated"
2398
2466
  msgstr "已更新參數"
2399
2467
 
2400
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2468
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:106
2401
2469
  msgid "Could not update the parameter"
2402
2470
  msgstr "無法更新參數"
2403
2471
 
2404
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:110
2472
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:113
2405
2473
  msgid "Override this parameter."
2406
2474
  msgstr "覆寫此參數。"
2407
2475
 
2408
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:112
2476
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:115
2409
2477
  msgid "This parameter is required."
2410
2478
  msgstr "此參數乃必要的。"
2411
2479
 
2412
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:114
2480
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117
2413
2481
  msgid "Type of the parameter."
2414
2482
  msgstr "參數的類型。"
2415
2483
 
2416
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117
2417
- #: ../lib/hammer_cli_foreman/smart_variable.rb:91
2418
- #: ../lib/hammer_cli_foreman/smart_variable.rb:105
2484
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:120
2485
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:93
2486
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:107
2419
2487
  msgid "Type of the validator."
2420
2488
  msgstr "驗證程式的類型。"
2421
2489
 
2422
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:131
2423
- #: ../lib/hammer_cli_foreman/smart_variable.rb:123
2490
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:134
2491
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:126
2424
2492
  msgid "Override value created"
2425
2493
  msgstr "置換值已建立"
2426
2494
 
2427
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132
2428
- #: ../lib/hammer_cli_foreman/smart_variable.rb:124
2495
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:135
2496
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:127
2429
2497
  msgid "Could not create the override value"
2430
2498
  msgstr ""
2431
2499
 
2432
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:142
2500
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:145
2433
2501
  msgid "Cannot use --value when --use-puppet-default is true"
2434
2502
  msgstr ""
2435
2503
 
2436
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:155
2437
- #: ../lib/hammer_cli_foreman/smart_variable.rb:136
2504
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:158
2505
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:139
2438
2506
  msgid "Override value deleted"
2439
2507
  msgstr "置換值已刪除"
2440
2508
 
2441
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:156
2442
- #: ../lib/hammer_cli_foreman/smart_variable.rb:137
2509
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:159
2510
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:140
2443
2511
  msgid "Could not delete the override value"
2444
2512
  msgstr "無法刪除置換值"
2445
2513
 
@@ -2496,32 +2564,41 @@ msgstr "已更新智慧協定功能"
2496
2564
  msgid "Refresh of smart proxy features failed"
2497
2565
  msgstr "更新智慧協定功能失敗"
2498
2566
 
2499
- #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2567
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:10
2568
+ msgid "Variable"
2569
+ msgstr ""
2570
+
2571
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:50
2572
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:113
2573
+ msgid "Use --variable instead"
2574
+ msgstr ""
2575
+
2576
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:85
2500
2577
  msgid "Smart variable [%{variable}] created"
2501
2578
  msgstr "智慧變數 [%{variable}] 已建立"
2502
2579
 
2503
- #: ../lib/hammer_cli_foreman/smart_variable.rb:84
2580
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:86
2504
2581
  msgid "Could not create the smart variable"
2505
2582
  msgstr "無法建立智慧型變數"
2506
2583
 
2507
- #: ../lib/hammer_cli_foreman/smart_variable.rb:88
2508
- #: ../lib/hammer_cli_foreman/smart_variable.rb:102
2584
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:90
2585
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:104
2509
2586
  msgid "Type of the variable."
2510
2587
  msgstr "變數類型。"
2511
2588
 
2512
- #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2589
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:99
2513
2590
  msgid "Smart variable [%{variable}] updated"
2514
2591
  msgstr "智慧變數 [%{variable}] 已更新"
2515
2592
 
2516
- #: ../lib/hammer_cli_foreman/smart_variable.rb:98
2593
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:100
2517
2594
  msgid "Could not update the smart variable"
2518
2595
  msgstr "無法更新智慧型變數"
2519
2596
 
2520
- #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2597
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:115
2521
2598
  msgid "Smart variable [%{variable}] deleted"
2522
2599
  msgstr "智慧變數 [%{variable}] 已刪除"
2523
2600
 
2524
- #: ../lib/hammer_cli_foreman/smart_variable.rb:113
2601
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:116
2525
2602
  msgid "Could not delete the smart variable"
2526
2603
  msgstr "無法刪除智慧型變數"
2527
2604
 
@@ -2660,6 +2737,7 @@ msgid "Email"
2660
2737
  msgstr "電子郵件"
2661
2738
 
2662
2739
  #: ../lib/hammer_cli_foreman/user.rb:28
2740
+ #: ../lib/hammer_cli_foreman/usergroup.rb:13
2663
2741
  msgid "Admin"
2664
2742
  msgstr "管理員"
2665
2743
 
@@ -2719,26 +2797,26 @@ msgstr "使用者 [%{login}] 已刪除"
2719
2797
  msgid "Could not delete the user"
2720
2798
  msgstr "無法刪除使用者"
2721
2799
 
2722
- #: ../lib/hammer_cli_foreman/usergroup.rb:31
2800
+ #: ../lib/hammer_cli_foreman/usergroup.rb:32
2723
2801
  msgid "User group [%<name>s] created"
2724
2802
  msgstr "已建立使用者群組 [%<name>s]"
2725
2803
 
2726
- #: ../lib/hammer_cli_foreman/usergroup.rb:32
2804
+ #: ../lib/hammer_cli_foreman/usergroup.rb:33
2727
2805
  msgid "Could not create the user group"
2728
2806
  msgstr "無法建立使用者群組"
2729
2807
 
2730
- #: ../lib/hammer_cli_foreman/usergroup.rb:38
2808
+ #: ../lib/hammer_cli_foreman/usergroup.rb:39
2731
2809
  msgid "User group [%<name>s] updated"
2732
2810
  msgstr "已更新使用者群組 [%<name>s]"
2733
2811
 
2734
- #: ../lib/hammer_cli_foreman/usergroup.rb:39
2812
+ #: ../lib/hammer_cli_foreman/usergroup.rb:40
2735
2813
  msgid "Could not update the user group"
2736
2814
  msgstr "無法更新使用者群組"
2737
2815
 
2738
- #: ../lib/hammer_cli_foreman/usergroup.rb:45
2816
+ #: ../lib/hammer_cli_foreman/usergroup.rb:46
2739
2817
  msgid "User group [%<name>s] deleted"
2740
2818
  msgstr "已刪除使用者群組 [%<name>s]"
2741
2819
 
2742
- #: ../lib/hammer_cli_foreman/usergroup.rb:46
2820
+ #: ../lib/hammer_cli_foreman/usergroup.rb:47
2743
2821
  msgid "Could not delete the user group"
2744
2822
  msgstr "無法刪除使用者群組"