hammer_cli_foreman 0.3.0 → 0.4.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/doc/host_create.md +10 -0
  3. data/doc/release_notes.md +9 -0
  4. data/lib/hammer_cli_foreman/associating_commands.rb +8 -8
  5. data/lib/hammer_cli_foreman/host.rb +1 -1
  6. data/lib/hammer_cli_foreman/hostgroup.rb +10 -0
  7. data/lib/hammer_cli_foreman/smart_class_parameter.rb +1 -0
  8. data/lib/hammer_cli_foreman/smart_variable.rb +1 -0
  9. data/lib/hammer_cli_foreman/version.rb +1 -1
  10. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  11. data/locale/de/hammer-cli-foreman.edit.po +127 -70
  12. data/locale/de/hammer-cli-foreman.po +3 -3
  13. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  14. data/locale/en/hammer-cli-foreman.edit.po +97 -49
  15. data/locale/en/hammer-cli-foreman.po +37 -1
  16. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  17. data/locale/en_GB/hammer-cli-foreman.edit.po +120 -69
  18. data/locale/en_GB/hammer-cli-foreman.po +8 -8
  19. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  20. data/locale/es/hammer-cli-foreman.edit.po +106 -50
  21. data/locale/es/hammer-cli-foreman.po +3 -3
  22. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  23. data/locale/fr/hammer-cli-foreman.edit.po +106 -50
  24. data/locale/fr/hammer-cli-foreman.po +2 -2
  25. data/locale/hammer-cli-foreman.pot +111 -62
  26. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  27. data/locale/it/hammer-cli-foreman.edit.po +107 -51
  28. data/locale/it/hammer-cli-foreman.po +6 -6
  29. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  30. data/locale/ja/hammer-cli-foreman.edit.po +106 -50
  31. data/locale/ja/hammer-cli-foreman.po +3 -3
  32. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  33. data/locale/ko/hammer-cli-foreman.edit.po +106 -50
  34. data/locale/ko/hammer-cli-foreman.po +6 -6
  35. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  36. data/locale/pt_BR/hammer-cli-foreman.edit.po +106 -50
  37. data/locale/pt_BR/hammer-cli-foreman.po +31 -30
  38. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  39. data/locale/ru/hammer-cli-foreman.edit.po +198 -140
  40. data/locale/ru/hammer-cli-foreman.po +3 -3
  41. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  42. data/locale/zh_CN/hammer-cli-foreman.edit.po +106 -50
  43. data/locale/zh_CN/hammer-cli-foreman.po +6 -6
  44. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  45. data/locale/zh_TW/hammer-cli-foreman.edit.po +106 -50
  46. data/locale/zh_TW/hammer-cli-foreman.po +6 -6
  47. data/test/unit/hostgroup_test.rb +2 -2
  48. metadata +4 -38
@@ -5,9 +5,9 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman 0.2.0\n"
8
+ "Project-Id-Version: hammer-cli-foreman 0.3.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2015-07-29 17:24+0200\n"
10
+ "POT-Creation-Date: 2015-09-21 16:50+0200\n"
11
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/l"
@@ -127,11 +127,11 @@ msgstr "操作使用者。"
127
127
  msgid "Manage user groups."
128
128
  msgstr "管理使用者群組。"
129
129
 
130
- #: ../lib/hammer_cli_foreman/architecture.rb:10 ../lib/hammer_cli_foreman/auth_source_ldap.rb:13 ../lib/hammer_cli_foreman/compute_resource.rb:20 ../lib/hammer_cli_foreman/domain.rb:31 ../lib/hammer_cli_foreman/environment.rb:14 ../lib/hammer_cli_foreman/external_usergroup.rb:10 ../lib/hammer_cli_foreman/filter.rb:9 ../lib/hammer_cli_foreman/filter.rb:72 ../lib/hammer_cli_foreman/host.rb:163 ../lib/hammer_cli_foreman/host.rb:200 ../lib/hammer_cli_foreman/host.rb:231 ../lib/hammer_cli_foreman/hostgroup.rb:47 ../lib/hammer_cli_foreman/image.rb:29 ../lib/hammer_cli_foreman/interface.rb:23 ../lib/hammer_cli_foreman/interface.rb:43 ../lib/hammer_cli_foreman/location.rb:13 ../lib/hammer_cli_foreman/media.rb:9 ../lib/hammer_cli_foreman/model.rb:10 ../lib/hammer_cli_foreman/operating_system.rb:10 ../lib/hammer_cli_foreman/organization.rb:13 ../lib/hammer_cli_foreman/partition_table.rb:10 ../lib/hammer_cli_foreman/puppet_class.rb:13 ../lib/hammer_cli_foreman/report.rb:10 ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11 ../lib/hammer_cli_foreman/settings.rb:11 ../lib/hammer_cli_foreman/smart_class_parameter.rb:8 ../lib/hammer_cli_foreman/smart_class_parameter.rb:74 ../lib/hammer_cli_foreman/smart_proxy.rb:11 ../lib/hammer_cli_foreman/smart_variable.rb:8 ../lib/hammer_cli_foreman/smart_variable.rb:62 ../lib/hammer_cli_foreman/subnet.rb:10 ../lib/hammer_cli_foreman/template.rb:25 ../lib/hammer_cli_foreman/user.rb:10 ../lib/hammer_cli_foreman/usergroup.rb:11
130
+ #: ../lib/hammer_cli_foreman/architecture.rb:10 ../lib/hammer_cli_foreman/auth_source_ldap.rb:13 ../lib/hammer_cli_foreman/compute_resource.rb:20 ../lib/hammer_cli_foreman/domain.rb:31 ../lib/hammer_cli_foreman/environment.rb:14 ../lib/hammer_cli_foreman/external_usergroup.rb:10 ../lib/hammer_cli_foreman/filter.rb:9 ../lib/hammer_cli_foreman/filter.rb:72 ../lib/hammer_cli_foreman/host.rb:163 ../lib/hammer_cli_foreman/host.rb:200 ../lib/hammer_cli_foreman/host.rb:231 ../lib/hammer_cli_foreman/hostgroup.rb:57 ../lib/hammer_cli_foreman/image.rb:29 ../lib/hammer_cli_foreman/interface.rb:23 ../lib/hammer_cli_foreman/interface.rb:43 ../lib/hammer_cli_foreman/location.rb:13 ../lib/hammer_cli_foreman/media.rb:9 ../lib/hammer_cli_foreman/model.rb:10 ../lib/hammer_cli_foreman/operating_system.rb:10 ../lib/hammer_cli_foreman/organization.rb:13 ../lib/hammer_cli_foreman/partition_table.rb:10 ../lib/hammer_cli_foreman/puppet_class.rb:13 ../lib/hammer_cli_foreman/report.rb:10 ../lib/hammer_cli_foreman/report.rb:30 ../lib/hammer_cli_foreman/role.rb:11 ../lib/hammer_cli_foreman/settings.rb:11 ../lib/hammer_cli_foreman/smart_class_parameter.rb:8 ../lib/hammer_cli_foreman/smart_class_parameter.rb:75 ../lib/hammer_cli_foreman/smart_proxy.rb:11 ../lib/hammer_cli_foreman/smart_variable.rb:8 ../lib/hammer_cli_foreman/smart_variable.rb:63 ../lib/hammer_cli_foreman/subnet.rb:10 ../lib/hammer_cli_foreman/template.rb:25 ../lib/hammer_cli_foreman/user.rb:10 ../lib/hammer_cli_foreman/usergroup.rb:11
131
131
  msgid "Id"
132
132
  msgstr "ID"
133
133
 
134
- #: ../lib/hammer_cli_foreman/architecture.rb:11 ../lib/hammer_cli_foreman/auth_source_ldap.rb:14 ../lib/hammer_cli_foreman/common_parameter.rb:12 ../lib/hammer_cli_foreman/compute_resource.rb:21 ../lib/hammer_cli_foreman/domain.rb:32 ../lib/hammer_cli_foreman/environment.rb:15 ../lib/hammer_cli_foreman/external_usergroup.rb:11 ../lib/hammer_cli_foreman/external_usergroup.rb:42 ../lib/hammer_cli_foreman/filter.rb:73 ../lib/hammer_cli_foreman/filter.rb:90 ../lib/hammer_cli_foreman/host.rb:164 ../lib/hammer_cli_foreman/host.rb:202 ../lib/hammer_cli_foreman/hostgroup.rb:48 ../lib/hammer_cli_foreman/image.rb:30 ../lib/hammer_cli_foreman/image.rb:70 ../lib/hammer_cli_foreman/location.rb:14 ../lib/hammer_cli_foreman/media.rb:10 ../lib/hammer_cli_foreman/model.rb:11 ../lib/hammer_cli_foreman/operating_system.rb:22 ../lib/hammer_cli_foreman/organization.rb:14 ../lib/hammer_cli_foreman/partition_table.rb:11 ../lib/hammer_cli_foreman/puppet_class.rb:14 ../lib/hammer_cli_foreman/role.rb:12 ../lib/hammer_cli_foreman/settings.rb:12 ../lib/hammer_cli_foreman/smart_proxy.rb:12 ../lib/hammer_cli_foreman/smart_variable.rb:10 ../lib/hammer_cli_foreman/subnet.rb:11 ../lib/hammer_cli_foreman/template.rb:26 ../lib/hammer_cli_foreman/template.rb:74 ../lib/hammer_cli_foreman/user.rb:12 ../lib/hammer_cli_foreman/usergroup.rb:12
134
+ #: ../lib/hammer_cli_foreman/architecture.rb:11 ../lib/hammer_cli_foreman/auth_source_ldap.rb:14 ../lib/hammer_cli_foreman/common_parameter.rb:12 ../lib/hammer_cli_foreman/compute_resource.rb:21 ../lib/hammer_cli_foreman/domain.rb:32 ../lib/hammer_cli_foreman/environment.rb:15 ../lib/hammer_cli_foreman/external_usergroup.rb:11 ../lib/hammer_cli_foreman/external_usergroup.rb:42 ../lib/hammer_cli_foreman/filter.rb:73 ../lib/hammer_cli_foreman/filter.rb:90 ../lib/hammer_cli_foreman/host.rb:164 ../lib/hammer_cli_foreman/host.rb:202 ../lib/hammer_cli_foreman/hostgroup.rb:58 ../lib/hammer_cli_foreman/image.rb:30 ../lib/hammer_cli_foreman/image.rb:70 ../lib/hammer_cli_foreman/location.rb:14 ../lib/hammer_cli_foreman/media.rb:10 ../lib/hammer_cli_foreman/model.rb:11 ../lib/hammer_cli_foreman/operating_system.rb:22 ../lib/hammer_cli_foreman/organization.rb:14 ../lib/hammer_cli_foreman/partition_table.rb:11 ../lib/hammer_cli_foreman/puppet_class.rb:14 ../lib/hammer_cli_foreman/role.rb:12 ../lib/hammer_cli_foreman/settings.rb:12 ../lib/hammer_cli_foreman/smart_proxy.rb:12 ../lib/hammer_cli_foreman/smart_variable.rb:10 ../lib/hammer_cli_foreman/subnet.rb:11 ../lib/hammer_cli_foreman/template.rb:26 ../lib/hammer_cli_foreman/template.rb:74 ../lib/hammer_cli_foreman/user.rb:12 ../lib/hammer_cli_foreman/usergroup.rb:12
135
135
  msgid "Name"
136
136
  msgstr "名稱"
137
137
 
@@ -219,18 +219,56 @@ msgstr "解除智慧協定的相聯性"
219
219
  msgid "Associate an user"
220
220
  msgstr "為使用者建立相聯性"
221
221
 
222
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:149
223
+ #, fuzzy
224
+ msgid "The user has been associated"
225
+ msgstr "架構的相聯性已建立"
226
+
227
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:150
228
+ #, fuzzy
229
+ msgid "Could not associate the user"
230
+ msgstr "無法建立使用者"
231
+
222
232
  #: ../lib/hammer_cli_foreman/associating_commands.rb:155
223
233
  msgid "Disassociate an user"
224
234
  msgstr "解除使用者的相聯性"
225
235
 
236
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:157
237
+ #, fuzzy
238
+ msgid "The user has been disassociated"
239
+ msgstr "架構的相聯性已解除"
240
+
241
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:158
242
+ #, fuzzy
243
+ msgid "Could not disassociate the user"
244
+ msgstr "無法解除架構的相聯性"
245
+
226
246
  #: ../lib/hammer_cli_foreman/associating_commands.rb:167
227
247
  msgid "Associate an user group"
228
248
  msgstr "為使用者群組建立相聯性"
229
249
 
250
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:171
251
+ msgid "The user group has been associated"
252
+ msgstr ""
253
+
254
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:172
255
+ #, fuzzy
256
+ msgid "Could not associate the user group"
257
+ msgstr "無法建立使用者群組"
258
+
230
259
  #: ../lib/hammer_cli_foreman/associating_commands.rb:177
231
260
  msgid "Disassociate an user group"
232
261
  msgstr "解除使用者群組的相聯性"
233
262
 
263
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:181
264
+ msgid "The user group has been disassociated"
265
+ msgstr ""
266
+
267
+ #: ../lib/hammer_cli_foreman/associating_commands.rb:182
268
+ #, fuzzy
269
+ msgid "Could not disassociate the user group"
270
+ msgstr "無法建立使用者群組"
271
+
234
272
  #: ../lib/hammer_cli_foreman/associating_commands.rb:191
235
273
  msgid "Associate a configuration template"
236
274
  msgstr "為配置範本建立相聯性"
@@ -471,7 +509,7 @@ msgstr "將資源相聯"
471
509
  msgid "Disassociate a resource"
472
510
  msgstr "解除資源的相聯"
473
511
 
474
- #: ../lib/hammer_cli_foreman/common_parameter.rb:13 ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:327 ../lib/hammer_cli_foreman/settings.rb:13 ../lib/hammer_cli_foreman/smart_class_parameter.rb:76 ../lib/hammer_cli_foreman/smart_variable.rb:64
512
+ #: ../lib/hammer_cli_foreman/common_parameter.rb:13 ../lib/hammer_cli_foreman/fact.rb:14 ../lib/hammer_cli_foreman/host.rb:327 ../lib/hammer_cli_foreman/settings.rb:13 ../lib/hammer_cli_foreman/smart_class_parameter.rb:77 ../lib/hammer_cli_foreman/smart_variable.rb:65
475
513
  msgid "Value"
476
514
  msgstr "值"
477
515
 
@@ -799,6 +837,10 @@ msgstr "卷冊參數"
799
837
  msgid "Interface parameters."
800
838
  msgstr "介面參數。"
801
839
 
840
+ #: ../lib/hammer_cli_foreman/host.rb:62
841
+ msgid "Enter the root password for the host:"
842
+ msgstr ""
843
+
802
844
  #: ../lib/hammer_cli_foreman/host.rb:146
803
845
  msgid "At least one interface must be set as primary"
804
846
  msgstr ""
@@ -807,7 +849,7 @@ msgstr ""
807
849
  msgid "At least one interface must be set as provision"
808
850
  msgstr ""
809
851
 
810
- #: ../lib/hammer_cli_foreman/host.rb:165 ../lib/hammer_cli_foreman/host.rb:241 ../lib/hammer_cli_foreman/hostgroup.rb:50 ../lib/hammer_cli_foreman/image.rb:31
852
+ #: ../lib/hammer_cli_foreman/host.rb:165 ../lib/hammer_cli_foreman/host.rb:241 ../lib/hammer_cli_foreman/hostgroup.rb:60 ../lib/hammer_cli_foreman/image.rb:31
811
853
  msgid "Operating System"
812
854
  msgstr "作業系統"
813
855
 
@@ -846,7 +888,7 @@ msgstr "運算資源"
846
888
  msgid "Compute Profile"
847
889
  msgstr "ComputeProfile"
848
890
 
849
- #: ../lib/hammer_cli_foreman/host.rb:208 ../lib/hammer_cli_foreman/hostgroup.rb:51
891
+ #: ../lib/hammer_cli_foreman/host.rb:208 ../lib/hammer_cli_foreman/hostgroup.rb:61
850
892
  msgid "Environment"
851
893
  msgstr "環境"
852
894
 
@@ -880,11 +922,11 @@ msgstr "最後一份報告"
880
922
  msgid "Network"
881
923
  msgstr "網路"
882
924
 
883
- #: ../lib/hammer_cli_foreman/host.rb:220 ../lib/hammer_cli_foreman/hostgroup.rb:62 ../lib/hammer_cli_foreman/interface.rb:49
925
+ #: ../lib/hammer_cli_foreman/host.rb:220 ../lib/hammer_cli_foreman/hostgroup.rb:72 ../lib/hammer_cli_foreman/interface.rb:49
884
926
  msgid "Subnet"
885
927
  msgstr "子網路"
886
928
 
887
- #: ../lib/hammer_cli_foreman/host.rb:221 ../lib/hammer_cli_foreman/hostgroup.rb:64 ../lib/hammer_cli_foreman/interface.rb:50
929
+ #: ../lib/hammer_cli_foreman/host.rb:221 ../lib/hammer_cli_foreman/hostgroup.rb:74 ../lib/hammer_cli_foreman/interface.rb:50
888
930
  msgid "Domain"
889
931
  msgstr "網域"
890
932
 
@@ -938,7 +980,7 @@ msgstr ""
938
980
  msgid "Operating system"
939
981
  msgstr "作業系統"
940
982
 
941
- #: ../lib/hammer_cli_foreman/host.rb:240 ../lib/hammer_cli_foreman/hostgroup.rb:65 ../lib/hammer_cli_foreman/image.rb:45
983
+ #: ../lib/hammer_cli_foreman/host.rb:240 ../lib/hammer_cli_foreman/hostgroup.rb:75 ../lib/hammer_cli_foreman/image.rb:45
942
984
  msgid "Architecture"
943
985
  msgstr "架構"
944
986
 
@@ -946,11 +988,11 @@ msgstr "架構"
946
988
  msgid "Build"
947
989
  msgstr "組建"
948
990
 
949
- #: ../lib/hammer_cli_foreman/host.rb:245 ../lib/hammer_cli_foreman/hostgroup.rb:67
991
+ #: ../lib/hammer_cli_foreman/host.rb:245 ../lib/hammer_cli_foreman/hostgroup.rb:77
950
992
  msgid "Medium"
951
993
  msgstr "媒介"
952
994
 
953
- #: ../lib/hammer_cli_foreman/host.rb:246 ../lib/hammer_cli_foreman/hostgroup.rb:66
995
+ #: ../lib/hammer_cli_foreman/host.rb:246 ../lib/hammer_cli_foreman/hostgroup.rb:76
954
996
  msgid "Partition Table"
955
997
  msgstr "分割表"
956
998
 
@@ -987,7 +1029,7 @@ msgstr "擁有者類型"
987
1029
  msgid "Enabled"
988
1030
  msgstr "已啟用"
989
1031
 
990
- #: ../lib/hammer_cli_foreman/host.rb:262 ../lib/hammer_cli_foreman/hostgroup.rb:52
1032
+ #: ../lib/hammer_cli_foreman/host.rb:262 ../lib/hammer_cli_foreman/hostgroup.rb:62
991
1033
  msgid "Model"
992
1034
  msgstr "型號"
993
1035
 
@@ -1103,71 +1145,80 @@ msgstr ""
1103
1145
  msgid "Name of parent hostgroup"
1104
1146
  msgstr ""
1105
1147
 
1106
- #: ../lib/hammer_cli_foreman/hostgroup.rb:49 ../lib/hammer_cli_foreman/operating_system.rb:11
1148
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:17
1149
+ #, fuzzy
1150
+ msgid "Root password"
1151
+ msgstr "BMC 密碼"
1152
+
1153
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:23
1154
+ msgid "Enter the root password for the host group:"
1155
+ msgstr ""
1156
+
1157
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:59 ../lib/hammer_cli_foreman/operating_system.rb:11
1107
1158
  msgid "Title"
1108
1159
  msgstr ""
1109
1160
 
1110
- #: ../lib/hammer_cli_foreman/hostgroup.rb:68
1161
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:78
1111
1162
  msgid "Puppet CA Proxy Id"
1112
1163
  msgstr "Puppet CA 協定 ID"
1113
1164
 
1114
- #: ../lib/hammer_cli_foreman/hostgroup.rb:69
1165
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:79
1115
1166
  msgid "Puppet Master Proxy Id"
1116
1167
  msgstr "Puppet Master 協定 ID"
1117
1168
 
1118
- #: ../lib/hammer_cli_foreman/hostgroup.rb:70
1169
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:80
1119
1170
  msgid "ComputeProfile"
1120
1171
  msgstr "ComputeProfile"
1121
1172
 
1122
- #: ../lib/hammer_cli_foreman/hostgroup.rb:74
1173
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:84
1123
1174
  msgid "Parent Id"
1124
1175
  msgstr ""
1125
1176
 
1126
- #: ../lib/hammer_cli_foreman/hostgroup.rb:84
1177
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:94
1127
1178
  msgid "Hostgroup created"
1128
1179
  msgstr "已建立主機群組"
1129
1180
 
1130
- #: ../lib/hammer_cli_foreman/hostgroup.rb:85
1181
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:95
1131
1182
  msgid "Could not create the hostgroup"
1132
1183
  msgstr "無法建立主機群組"
1133
1184
 
1134
- #: ../lib/hammer_cli_foreman/hostgroup.rb:94
1185
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:104
1135
1186
  msgid "Hostgroup updated"
1136
1187
  msgstr "已更新主機群組"
1137
1188
 
1138
- #: ../lib/hammer_cli_foreman/hostgroup.rb:95
1189
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:105
1139
1190
  msgid "Could not update the hostgroup"
1140
1191
  msgstr "無法更新主機群組"
1141
1192
 
1142
- #: ../lib/hammer_cli_foreman/hostgroup.rb:102
1193
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:112
1143
1194
  msgid "Hostgroup deleted"
1144
1195
  msgstr "已刪除主機群組"
1145
1196
 
1146
- #: ../lib/hammer_cli_foreman/hostgroup.rb:103
1197
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:113
1147
1198
  msgid "Could not delete the hostgroup"
1148
1199
  msgstr "無法刪除主機群組"
1149
1200
 
1150
- #: ../lib/hammer_cli_foreman/hostgroup.rb:127
1201
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:137
1151
1202
  msgid "Create or update parameter for a hostgroup."
1152
1203
  msgstr "建立或更新主機群組的參數"
1153
1204
 
1154
- #: ../lib/hammer_cli_foreman/hostgroup.rb:129
1205
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:139
1155
1206
  msgid "Hostgroup parameter updated"
1156
1207
  msgstr "已更新主機群組的參數"
1157
1208
 
1158
- #: ../lib/hammer_cli_foreman/hostgroup.rb:130
1209
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:140
1159
1210
  msgid "New hostgroup parameter created"
1160
1211
  msgstr "已建立新的主機群組參數"
1161
1212
 
1162
- #: ../lib/hammer_cli_foreman/hostgroup.rb:131
1213
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:141
1163
1214
  msgid "Could not set hostgroup parameter"
1164
1215
  msgstr "無法設定主機群組參數"
1165
1216
 
1166
- #: ../lib/hammer_cli_foreman/hostgroup.rb:138
1217
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:148
1167
1218
  msgid "Delete parameter for a hostgroup."
1168
1219
  msgstr "刪除主機群組的參數。"
1169
1220
 
1170
- #: ../lib/hammer_cli_foreman/hostgroup.rb:140
1221
+ #: ../lib/hammer_cli_foreman/hostgroup.rb:150
1171
1222
  msgid "Hostgroup parameter deleted"
1172
1223
  msgstr "已刪除主機群組參數"
1173
1224
 
@@ -1953,62 +2004,67 @@ msgid "Merge overrides"
1953
2004
  msgstr ""
1954
2005
 
1955
2006
  #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:71 ../lib/hammer_cli_foreman/smart_variable.rb:59
2007
+ #, fuzzy
2008
+ msgid "Merge default value"
2009
+ msgstr "預設值"
2010
+
2011
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72 ../lib/hammer_cli_foreman/smart_variable.rb:60
1956
2012
  msgid "Avoid duplicates"
1957
2013
  msgstr ""
1958
2014
 
1959
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:72 ../lib/hammer_cli_foreman/smart_variable.rb:60
2015
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73 ../lib/hammer_cli_foreman/smart_variable.rb:61
1960
2016
  msgid "Order"
1961
2017
  msgstr "順序"
1962
2018
 
1963
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:73 ../lib/hammer_cli_foreman/smart_variable.rb:61
2019
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:74 ../lib/hammer_cli_foreman/smart_variable.rb:62
1964
2020
  #, fuzzy
1965
2021
  msgid "Values"
1966
2022
  msgstr "值"
1967
2023
 
1968
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:75 ../lib/hammer_cli_foreman/smart_variable.rb:63
2024
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:76 ../lib/hammer_cli_foreman/smart_variable.rb:64
1969
2025
  msgid "Match"
1970
2026
  msgstr "比對"
1971
2027
 
1972
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:102
2028
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
1973
2029
  msgid "Parameter updated"
1974
2030
  msgstr "已更新參數"
1975
2031
 
1976
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:103
2032
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:104
1977
2033
  msgid "Could not update the parameter"
1978
2034
  msgstr "無法更新參數"
1979
2035
 
1980
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:110
2036
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:111
1981
2037
  msgid "Override this parameter."
1982
2038
  msgstr "覆寫此參數。"
1983
2039
 
1984
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:112
2040
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:113
1985
2041
  msgid "This parameter is required."
1986
2042
  msgstr "此參數乃必要的。"
1987
2043
 
1988
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:114
2044
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:115
1989
2045
  msgid "Type of the parameter."
1990
2046
  msgstr "參數的類型。"
1991
2047
 
1992
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:117 ../lib/hammer_cli_foreman/smart_variable.rb:89 ../lib/hammer_cli_foreman/smart_variable.rb:103
2048
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:118 ../lib/hammer_cli_foreman/smart_variable.rb:90 ../lib/hammer_cli_foreman/smart_variable.rb:104
1993
2049
  msgid "Type of the validator."
1994
2050
  msgstr "驗證程式的類型。"
1995
2051
 
1996
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:131 ../lib/hammer_cli_foreman/smart_variable.rb:121
2052
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132 ../lib/hammer_cli_foreman/smart_variable.rb:122
1997
2053
  #, fuzzy
1998
2054
  msgid "Override value created"
1999
2055
  msgstr "覆寫規則"
2000
2056
 
2001
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132 ../lib/hammer_cli_foreman/smart_variable.rb:122
2057
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:133 ../lib/hammer_cli_foreman/smart_variable.rb:123
2002
2058
  #, fuzzy
2003
2059
  msgid "Could not create the override_value"
2004
2060
  msgstr "無法建立使用者角色"
2005
2061
 
2006
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151 ../lib/hammer_cli_foreman/smart_variable.rb:134
2062
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152 ../lib/hammer_cli_foreman/smart_variable.rb:135
2007
2063
  #, fuzzy
2008
2064
  msgid "Override value deleted"
2009
2065
  msgstr "覆寫規則"
2010
2066
 
2011
- #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:152 ../lib/hammer_cli_foreman/smart_variable.rb:135
2067
+ #: ../lib/hammer_cli_foreman/smart_class_parameter.rb:153 ../lib/hammer_cli_foreman/smart_variable.rb:136
2012
2068
  #, fuzzy
2013
2069
  msgid "Could not delete the override value"
2014
2070
  msgstr "無法刪除作業系統"
@@ -2065,34 +2121,34 @@ msgstr "已更新智慧協定功能"
2065
2121
  msgid "Refresh of smart proxy features failed"
2066
2122
  msgstr "更新智慧協定功能失敗"
2067
2123
 
2068
- #: ../lib/hammer_cli_foreman/smart_variable.rb:81
2124
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:82
2069
2125
  msgid "Smart variable [%{variable}] created"
2070
2126
  msgstr ""
2071
2127
 
2072
- #: ../lib/hammer_cli_foreman/smart_variable.rb:82
2128
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:83
2073
2129
  #, fuzzy
2074
2130
  msgid "Could not create the smart variable"
2075
2131
  msgstr "無法建立分割表"
2076
2132
 
2077
- #: ../lib/hammer_cli_foreman/smart_variable.rb:86 ../lib/hammer_cli_foreman/smart_variable.rb:100
2133
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:87 ../lib/hammer_cli_foreman/smart_variable.rb:101
2078
2134
  #, fuzzy
2079
2135
  msgid "Type of the variable."
2080
2136
  msgstr "驗證程式的類型。"
2081
2137
 
2082
- #: ../lib/hammer_cli_foreman/smart_variable.rb:95
2138
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:96
2083
2139
  msgid "Smart variable [%{variable}] updated"
2084
2140
  msgstr ""
2085
2141
 
2086
- #: ../lib/hammer_cli_foreman/smart_variable.rb:96
2142
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:97
2087
2143
  #, fuzzy
2088
2144
  msgid "Could not update the smart variable"
2089
2145
  msgstr "無法更新分割表"
2090
2146
 
2091
- #: ../lib/hammer_cli_foreman/smart_variable.rb:110
2147
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:111
2092
2148
  msgid "Smart variable [%{variable}] deleted"
2093
2149
  msgstr ""
2094
2150
 
2095
- #: ../lib/hammer_cli_foreman/smart_variable.rb:111
2151
+ #: ../lib/hammer_cli_foreman/smart_variable.rb:112
2096
2152
  #, fuzzy
2097
2153
  msgid "Could not delete the smart variable"
2098
2154
  msgstr "無法刪除分割表"
@@ -5,12 +5,12 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer-cli-foreman 0.3.0\n"
8
+ "Project-Id-Version: hammer-cli-foreman 0.4.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "POT-Creation-Date: 2014-12-11 13:21+0100\n"
11
- "PO-Revision-Date: 2015-03-22 03:37+0000\n"
11
+ "PO-Revision-Date: 2015-09-16 12:51+0000\n"
12
12
  "Last-Translator: Lukáš Zapletal\n"
13
- "Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/foreman/language/zh_TW/)\n"
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"
16
16
  "Content-Transfer-Encoding: 8bit\n"
@@ -469,17 +469,17 @@ msgstr "禁止 - 伺服器拒絕處理請求"
469
469
 
470
470
  #: lib/hammer_cli_foreman/exception_handler.rb:75
471
471
  msgid "Could not load the API description from the server"
472
- msgstr ""
472
+ msgstr "無法從伺服器載入 API 描述"
473
473
 
474
474
  #: lib/hammer_cli_foreman/exception_handler.rb:76
475
475
  msgid "is the server down?"
476
- msgstr ""
476
+ msgstr "伺服器是否沒有在運作?"
477
477
 
478
478
  #: lib/hammer_cli_foreman/exception_handler.rb:77
479
479
  msgid ""
480
480
  "was '%s' run on the server when using apipie cache? (typical production "
481
481
  "settings)"
482
- msgstr ""
482
+ msgstr "使用 apipie 快取時 '%s' 是否有在伺服器上運作?(典型的生產設定)"
483
483
 
484
484
  #: lib/hammer_cli_foreman/compute_resource.rb:13
485
485
  msgid "Provider"
@@ -64,7 +64,7 @@ describe HammerCLIForeman::Hostgroup do
64
64
  context "parameters" do
65
65
  it_should_accept "name, parent_id, environment_id, architecture_id, domain_id, puppet_proxy_id, operatingsystem_id and more",
66
66
  ["--name=hostgroup", "--parent-id=1", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1",
67
- "--operatingsystem-id=1", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", '--puppet-ca-proxy-id=1', '--puppet-class-ids=1,2']
67
+ "--operatingsystem-id=1", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", '--puppet-ca-proxy-id=1', '--puppet-class-ids=1,2', '--root-pass=foreman']
68
68
  # it_should_fail_with "name or id missing",
69
69
  # ["--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1", "--operatingsystem-id=1"]
70
70
  # TODO: temporarily disabled, parameters are checked in the api
@@ -78,7 +78,7 @@ describe HammerCLIForeman::Hostgroup do
78
78
  context "parameters" do
79
79
  it_should_accept "name, parent_id, environment_id, architecture_id, domain_id, puppet_proxy_id, operatingsystem_id and more",
80
80
  ["--id=1 --name=hostgroup2 --title=default/hostgroup2", "--parent-id=1", "--environment-id=1", "--architecture-id=1", "--domain-id=1", "--puppet-proxy-id=1",
81
- "--operatingsystem-id=1", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", '--puppet-ca-proxy-id=1', '--puppet-class-ids=1,2']
81
+ "--operatingsystem-id=1", "--medium-id=1", "--partition-table-id=1", "--subnet-id=1", '--puppet-ca-proxy-id=1', '--puppet-class-ids=1,2', '--root-pass=foreman']
82
82
  # it_should_fail_with "no params", []
83
83
  # it_should_fail_with "id missing", ["--name=host2"]
84
84
  # TODO: temporarily disabled, parameters are checked in the id resolver
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomáš Strachota
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-29 00:00:00.000000000 Z
12
+ date: 2015-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hammer_cli
@@ -17,48 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.3.0
20
+ version: 0.4.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '>='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.3.0
28
- - !ruby/object:Gem::Dependency
29
- name: apipie-bindings
30
- requirement: !ruby/object:Gem::Requirement
31
- requirements:
32
- - - '>='
33
- - !ruby/object:Gem::Version
34
- version: 0.0.11
35
- type: :runtime
36
- prerelease: false
37
- version_requirements: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - '>='
40
- - !ruby/object:Gem::Version
41
- version: 0.0.11
42
- - !ruby/object:Gem::Dependency
43
- name: rest-client
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - '>='
47
- - !ruby/object:Gem::Version
48
- version: 1.6.5
49
- - - <
50
- - !ruby/object:Gem::Version
51
- version: '1.7'
52
- type: :runtime
53
- prerelease: false
54
- version_requirements: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - '>='
57
- - !ruby/object:Gem::Version
58
- version: 1.6.5
59
- - - <
60
- - !ruby/object:Gem::Version
61
- version: '1.7'
27
+ version: 0.4.0
62
28
  description: |
63
29
  Foreman commands for Hammer CLI
64
30
  email: tstracho@redhat.com