foreman_azure_rm 2.0.7 → 2.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/azure_compute_resource_helper.rb +17 -0
  3. data/app/models/concerns/foreman_azure_rm/vm_extensions/managed_vm.rb +50 -28
  4. data/app/models/foreman_azure_rm/azure_rm.rb +86 -71
  5. data/app/models/foreman_azure_rm/azure_rm_compute.rb +34 -3
  6. data/app/views/compute_resources/form/_azurerm.html.erb +3 -6
  7. data/app/views/compute_resources_vms/form/azurerm/_base.html.erb +1 -1
  8. data/app/views/compute_resources_vms/form/azurerm/_volume.html.erb +20 -0
  9. data/app/views/images/form/_azurerm.html.erb +1 -1
  10. data/db/migrate/20200507103900_fix_image_uuid_prefix.rb +8 -0
  11. data/lib/foreman_azure_rm.rb +3 -0
  12. data/lib/foreman_azure_rm/azure_sdk_adapter.rb +68 -2
  13. data/lib/foreman_azure_rm/engine.rb +6 -0
  14. data/lib/foreman_azure_rm/version.rb +1 -1
  15. data/locale/Makefile +61 -0
  16. data/locale/action_names.rb +5 -0
  17. data/locale/ca/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  18. data/locale/ca/foreman_azure_rm.po +185 -0
  19. data/locale/cs_CZ/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  20. data/locale/cs_CZ/foreman_azure_rm.po +189 -0
  21. data/locale/de/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  22. data/locale/de/foreman_azure_rm.po +191 -0
  23. data/locale/en/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  24. data/locale/en/foreman_azure_rm.po +183 -0
  25. data/locale/en_GB/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  26. data/locale/en_GB/foreman_azure_rm.po +187 -0
  27. data/locale/es/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  28. data/locale/es/foreman_azure_rm.po +190 -0
  29. data/locale/foreman_azure_rm.pot +248 -0
  30. data/locale/fr/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  31. data/locale/fr/foreman_azure_rm.po +187 -0
  32. data/locale/gl/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  33. data/locale/gl/foreman_azure_rm.po +185 -0
  34. data/locale/it/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  35. data/locale/it/foreman_azure_rm.po +187 -0
  36. data/locale/ja/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  37. data/locale/ja/foreman_azure_rm.po +187 -0
  38. data/locale/ko/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  39. data/locale/ko/foreman_azure_rm.po +186 -0
  40. data/locale/nl_NL/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  41. data/locale/nl_NL/foreman_azure_rm.po +187 -0
  42. data/locale/pl/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  43. data/locale/pl/foreman_azure_rm.po +188 -0
  44. data/locale/pt_BR/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  45. data/locale/pt_BR/foreman_azure_rm.po +190 -0
  46. data/locale/ru/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  47. data/locale/ru/foreman_azure_rm.po +190 -0
  48. data/locale/sv_SE/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  49. data/locale/sv_SE/foreman_azure_rm.po +187 -0
  50. data/locale/zh_CN/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  51. data/locale/zh_CN/foreman_azure_rm.po +188 -0
  52. data/locale/zh_TW/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  53. data/locale/zh_TW/foreman_azure_rm.po +187 -0
  54. metadata +59 -4
@@ -0,0 +1,188 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_azure_rm package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # sziolkow <sziolkow@gmail.com>, 2020
8
+ # Michał Foryt <michal.foryt@gmail.com>, 2020
9
+ #
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
13
+ "Report-Msgid-Bugs-To: \n"
14
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
15
+ "Last-Translator: Michał Foryt <michal.foryt@gmail.com>, 2020\n"
16
+ "Language-Team: Polish (https://www.transifex.com/foreman/teams/114/pl/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: pl\n"
21
+ "Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12"
22
+ " || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n"
23
+ "%100>=12 && n%100<=14) ? 2 : 3);\n"
24
+
25
+ msgid "%{vm_size} VM Size"
26
+ msgstr ""
27
+
28
+ msgid "Action with sub plans"
29
+ msgstr ""
30
+
31
+ msgid "Actions"
32
+ msgstr "Akcja"
33
+
34
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
35
+ msgstr ""
36
+
37
+ msgid "Azure Region"
38
+ msgstr ""
39
+
40
+ msgid "Azure Resource Manager as a compute resource for Foreman"
41
+ msgstr ""
42
+
43
+ msgid "Azure Subnet"
44
+ msgstr ""
45
+
46
+ msgid "Azure's Default"
47
+ msgstr ""
48
+
49
+ msgid "Azure's default"
50
+ msgstr ""
51
+
52
+ msgid "Client ID"
53
+ msgstr ""
54
+
55
+ msgid "Client ID for AzureRm"
56
+ msgstr ""
57
+
58
+ msgid "Client Secret"
59
+ msgstr ""
60
+
61
+ msgid "Client Secret for AzureRm"
62
+ msgstr ""
63
+
64
+ msgid "Comma seperated file URIs"
65
+ msgstr ""
66
+
67
+ msgid "Custom Script Command"
68
+ msgstr ""
69
+
70
+ msgid "Data Disk Caching"
71
+ msgstr ""
72
+
73
+ msgid "Default ReadWrite"
74
+ msgstr ""
75
+
76
+ msgid "Does this image support user data input?"
77
+ msgstr ""
78
+
79
+ msgid "Image"
80
+ msgstr "Obraz"
81
+
82
+ msgid "Import Puppet classes"
83
+ msgstr ""
84
+
85
+ msgid "Import facts"
86
+ msgstr ""
87
+
88
+ msgid "Load Regions"
89
+ msgstr ""
90
+
91
+ msgid "Marketplace Image URN"
92
+ msgstr ""
93
+
94
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
95
+ msgstr ""
96
+
97
+ msgid "Name"
98
+ msgstr "Nazwa"
99
+
100
+ msgid "OS Disk Caching"
101
+ msgstr ""
102
+
103
+ msgid "Password"
104
+ msgstr "Hasło"
105
+
106
+ msgid "Password to authenticate with - used for SSH finish step."
107
+ msgstr "Hasło do uwierzytelnienia - używalne przez SSH przy końcowych krokach"
108
+
109
+ msgid "Platform"
110
+ msgstr ""
111
+
112
+ msgid "Please select a Resource Group"
113
+ msgstr ""
114
+
115
+ msgid "Please select a VM Size"
116
+ msgstr ""
117
+
118
+ msgid "Please select an image"
119
+ msgstr "Proszę wybrać obraz"
120
+
121
+ msgid "Premium OS Disk"
122
+ msgstr ""
123
+
124
+ msgid "Properties"
125
+ msgstr "Ustawienia"
126
+
127
+ msgid "Public IP"
128
+ msgstr ""
129
+
130
+ msgid "Region"
131
+ msgstr "Region"
132
+
133
+ msgid "Reload Images, Sizes, vNets"
134
+ msgstr ""
135
+
136
+ msgid "Remote action:"
137
+ msgstr ""
138
+
139
+ msgid "Resource Group"
140
+ msgstr ""
141
+
142
+ msgid "SSH Key"
143
+ msgstr ""
144
+
145
+ msgid "Select"
146
+ msgstr ""
147
+
148
+ msgid "Size"
149
+ msgstr "Rozmiar"
150
+
151
+ msgid "Size (GB)"
152
+ msgstr "Rozmiar (GB)"
153
+
154
+ msgid "State"
155
+ msgstr "Stan"
156
+
157
+ msgid "Static Private IP"
158
+ msgstr ""
159
+
160
+ msgid "Subscription ID"
161
+ msgstr ""
162
+
163
+ msgid "Subscription ID for AzureRm"
164
+ msgstr ""
165
+
166
+ msgid "Tenant ID"
167
+ msgstr ""
168
+
169
+ msgid "The region you selected has no sizes associated with it"
170
+ msgstr ""
171
+
172
+ msgid "The selected image has no associated compute resource"
173
+ msgstr ""
174
+
175
+ msgid "The selected region has no subnets"
176
+ msgstr ""
177
+
178
+ msgid "The user that will be used to SSH into the VM for completion"
179
+ msgstr ""
180
+
181
+ msgid "To perform commands as root, prefix it with 'sudo'"
182
+ msgstr ""
183
+
184
+ msgid "Username"
185
+ msgstr "Nazwa użytkownika"
186
+
187
+ msgid "VM Size"
188
+ msgstr ""
@@ -0,0 +1,190 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_azure_rm package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Flamarion Jorge <jorge.flamarion@gmail.com>, 2020
8
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2020
9
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
10
+ # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2020
11
+ # Bruno Emanuel Silva <bemanuel.pe@gmail.com>, 2020
12
+ #
13
+ msgid ""
14
+ msgstr ""
15
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
16
+ "Report-Msgid-Bugs-To: \n"
17
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
18
+ "Last-Translator: Bruno Emanuel Silva <bemanuel.pe@gmail.com>, 2020\n"
19
+ "Language-Team: Portuguese (Brazil) (https://www.transifex.com/foreman/teams/11"
20
+ "4/pt_BR/)\n"
21
+ "MIME-Version: 1.0\n"
22
+ "Content-Type: text/plain; charset=UTF-8\n"
23
+ "Content-Transfer-Encoding: 8bit\n"
24
+ "Language: pt_BR\n"
25
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
26
+
27
+ msgid "%{vm_size} VM Size"
28
+ msgstr ""
29
+
30
+ msgid "Action with sub plans"
31
+ msgstr ""
32
+
33
+ msgid "Actions"
34
+ msgstr "Ações"
35
+
36
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
37
+ msgstr ""
38
+
39
+ msgid "Azure Region"
40
+ msgstr ""
41
+
42
+ msgid "Azure Resource Manager as a compute resource for Foreman"
43
+ msgstr ""
44
+
45
+ msgid "Azure Subnet"
46
+ msgstr ""
47
+
48
+ msgid "Azure's Default"
49
+ msgstr ""
50
+
51
+ msgid "Azure's default"
52
+ msgstr ""
53
+
54
+ msgid "Client ID"
55
+ msgstr ""
56
+
57
+ msgid "Client ID for AzureRm"
58
+ msgstr ""
59
+
60
+ msgid "Client Secret"
61
+ msgstr ""
62
+
63
+ msgid "Client Secret for AzureRm"
64
+ msgstr ""
65
+
66
+ msgid "Comma seperated file URIs"
67
+ msgstr ""
68
+
69
+ msgid "Custom Script Command"
70
+ msgstr ""
71
+
72
+ msgid "Data Disk Caching"
73
+ msgstr ""
74
+
75
+ msgid "Default ReadWrite"
76
+ msgstr ""
77
+
78
+ msgid "Does this image support user data input?"
79
+ msgstr "Esta imagem suporta a entrada de dados do usuário?"
80
+
81
+ msgid "Image"
82
+ msgstr "Imagem"
83
+
84
+ msgid "Import Puppet classes"
85
+ msgstr ""
86
+
87
+ msgid "Import facts"
88
+ msgstr ""
89
+
90
+ msgid "Load Regions"
91
+ msgstr ""
92
+
93
+ msgid "Marketplace Image URN"
94
+ msgstr ""
95
+
96
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
97
+ msgstr ""
98
+
99
+ msgid "Name"
100
+ msgstr "Nome"
101
+
102
+ msgid "OS Disk Caching"
103
+ msgstr ""
104
+
105
+ msgid "Password"
106
+ msgstr "Senha"
107
+
108
+ msgid "Password to authenticate with - used for SSH finish step."
109
+ msgstr "Senha para autenticar-se - usada para o passo final do SSH."
110
+
111
+ msgid "Platform"
112
+ msgstr ""
113
+
114
+ msgid "Please select a Resource Group"
115
+ msgstr ""
116
+
117
+ msgid "Please select a VM Size"
118
+ msgstr ""
119
+
120
+ msgid "Please select an image"
121
+ msgstr "Por favor selecione uma imagem"
122
+
123
+ msgid "Premium OS Disk"
124
+ msgstr ""
125
+
126
+ msgid "Properties"
127
+ msgstr "Propriedades"
128
+
129
+ msgid "Public IP"
130
+ msgstr ""
131
+
132
+ msgid "Region"
133
+ msgstr "Região"
134
+
135
+ msgid "Reload Images, Sizes, vNets"
136
+ msgstr ""
137
+
138
+ msgid "Remote action:"
139
+ msgstr ""
140
+
141
+ msgid "Resource Group"
142
+ msgstr ""
143
+
144
+ msgid "SSH Key"
145
+ msgstr ""
146
+
147
+ msgid "Select"
148
+ msgstr "Selecione"
149
+
150
+ msgid "Size"
151
+ msgstr "Tamanho"
152
+
153
+ msgid "Size (GB)"
154
+ msgstr "Tamanho (GB)"
155
+
156
+ msgid "State"
157
+ msgstr "Estado"
158
+
159
+ msgid "Static Private IP"
160
+ msgstr ""
161
+
162
+ msgid "Subscription ID"
163
+ msgstr "ID de subscrição"
164
+
165
+ msgid "Subscription ID for AzureRm"
166
+ msgstr ""
167
+
168
+ msgid "Tenant ID"
169
+ msgstr ""
170
+
171
+ msgid "The region you selected has no sizes associated with it"
172
+ msgstr ""
173
+
174
+ msgid "The selected image has no associated compute resource"
175
+ msgstr ""
176
+
177
+ msgid "The selected region has no subnets"
178
+ msgstr ""
179
+
180
+ msgid "The user that will be used to SSH into the VM for completion"
181
+ msgstr ""
182
+
183
+ msgid "To perform commands as root, prefix it with 'sudo'"
184
+ msgstr ""
185
+
186
+ msgid "Username"
187
+ msgstr "Nome de usuário"
188
+
189
+ msgid "VM Size"
190
+ msgstr ""
@@ -0,0 +1,190 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_azure_rm package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2020
8
+ # Andrei Burd <burdandrei@gmail.com>, 2020
9
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
10
+ # Vladimir Pavlov <v.pavlov@i-teco.ru>, 2020
11
+ #
12
+ msgid ""
13
+ msgstr ""
14
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
15
+ "Report-Msgid-Bugs-To: \n"
16
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
17
+ "Last-Translator: Vladimir Pavlov <v.pavlov@i-teco.ru>, 2020\n"
18
+ "Language-Team: Russian (https://www.transifex.com/foreman/teams/114/ru/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: ru\n"
23
+ "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
24
+ "4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
25
+ "1 && n%100<=14)? 2 : 3);\n"
26
+
27
+ msgid "%{vm_size} VM Size"
28
+ msgstr ""
29
+
30
+ msgid "Action with sub plans"
31
+ msgstr ""
32
+
33
+ msgid "Actions"
34
+ msgstr "Действия"
35
+
36
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
37
+ msgstr ""
38
+
39
+ msgid "Azure Region"
40
+ msgstr ""
41
+
42
+ msgid "Azure Resource Manager as a compute resource for Foreman"
43
+ msgstr ""
44
+
45
+ msgid "Azure Subnet"
46
+ msgstr ""
47
+
48
+ msgid "Azure's Default"
49
+ msgstr ""
50
+
51
+ msgid "Azure's default"
52
+ msgstr ""
53
+
54
+ msgid "Client ID"
55
+ msgstr ""
56
+
57
+ msgid "Client ID for AzureRm"
58
+ msgstr ""
59
+
60
+ msgid "Client Secret"
61
+ msgstr ""
62
+
63
+ msgid "Client Secret for AzureRm"
64
+ msgstr ""
65
+
66
+ msgid "Comma seperated file URIs"
67
+ msgstr ""
68
+
69
+ msgid "Custom Script Command"
70
+ msgstr ""
71
+
72
+ msgid "Data Disk Caching"
73
+ msgstr ""
74
+
75
+ msgid "Default ReadWrite"
76
+ msgstr ""
77
+
78
+ msgid "Does this image support user data input?"
79
+ msgstr "Допускает ли этот образ ввод пользовательских данных?"
80
+
81
+ msgid "Image"
82
+ msgstr "Образ"
83
+
84
+ msgid "Import Puppet classes"
85
+ msgstr ""
86
+
87
+ msgid "Import facts"
88
+ msgstr ""
89
+
90
+ msgid "Load Regions"
91
+ msgstr ""
92
+
93
+ msgid "Marketplace Image URN"
94
+ msgstr ""
95
+
96
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
97
+ msgstr ""
98
+
99
+ msgid "Name"
100
+ msgstr "Имя"
101
+
102
+ msgid "OS Disk Caching"
103
+ msgstr ""
104
+
105
+ msgid "Password"
106
+ msgstr "Пароль"
107
+
108
+ msgid "Password to authenticate with - used for SSH finish step."
109
+ msgstr "Пароль SSH"
110
+
111
+ msgid "Platform"
112
+ msgstr ""
113
+
114
+ msgid "Please select a Resource Group"
115
+ msgstr ""
116
+
117
+ msgid "Please select a VM Size"
118
+ msgstr ""
119
+
120
+ msgid "Please select an image"
121
+ msgstr "Выберите образ"
122
+
123
+ msgid "Premium OS Disk"
124
+ msgstr ""
125
+
126
+ msgid "Properties"
127
+ msgstr "Свойства "
128
+
129
+ msgid "Public IP"
130
+ msgstr ""
131
+
132
+ msgid "Region"
133
+ msgstr "Регион"
134
+
135
+ msgid "Reload Images, Sizes, vNets"
136
+ msgstr ""
137
+
138
+ msgid "Remote action:"
139
+ msgstr ""
140
+
141
+ msgid "Resource Group"
142
+ msgstr ""
143
+
144
+ msgid "SSH Key"
145
+ msgstr ""
146
+
147
+ msgid "Select"
148
+ msgstr "Выбрать"
149
+
150
+ msgid "Size"
151
+ msgstr "Размер"
152
+
153
+ msgid "Size (GB)"
154
+ msgstr "Размер (ГБ)"
155
+
156
+ msgid "State"
157
+ msgstr "Состояние"
158
+
159
+ msgid "Static Private IP"
160
+ msgstr ""
161
+
162
+ msgid "Subscription ID"
163
+ msgstr "Идентификатор подписки"
164
+
165
+ msgid "Subscription ID for AzureRm"
166
+ msgstr ""
167
+
168
+ msgid "Tenant ID"
169
+ msgstr ""
170
+
171
+ msgid "The region you selected has no sizes associated with it"
172
+ msgstr ""
173
+
174
+ msgid "The selected image has no associated compute resource"
175
+ msgstr ""
176
+
177
+ msgid "The selected region has no subnets"
178
+ msgstr ""
179
+
180
+ msgid "The user that will be used to SSH into the VM for completion"
181
+ msgstr ""
182
+
183
+ msgid "To perform commands as root, prefix it with 'sudo'"
184
+ msgstr ""
185
+
186
+ msgid "Username"
187
+ msgstr "Имя"
188
+
189
+ msgid "VM Size"
190
+ msgstr ""