foreman_azure_rm 2.1.0 → 2.2.1

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/README.md +17 -15
  3. data/app/controllers/foreman_azure_rm/concerns/compute_resources_controller_extensions.rb +1 -0
  4. data/app/helpers/azure_compute_resource_helper.rb +3 -0
  5. data/app/models/concerns/foreman_azure_rm/vm_extensions/managed_vm.rb +48 -17
  6. data/app/models/foreman_azure_rm/azure_rm.rb +32 -18
  7. data/app/models/foreman_azure_rm/azure_rm_compute.rb +4 -0
  8. data/app/views/api/v2/compute_resources/azurerm.json.rabl +1 -1
  9. data/app/views/compute_resources/form/_azurerm.html.erb +8 -2
  10. data/app/views/compute_resources_vms/form/azurerm/_base.html.erb +10 -0
  11. data/app/views/compute_resources_vms/index/_azurerm.html.erb +12 -12
  12. data/app/views/images/form/_azurerm.html.erb +2 -2
  13. data/lib/foreman_azure_rm/azure_sdk_adapter.rb +54 -13
  14. data/lib/foreman_azure_rm/engine.rb +2 -2
  15. data/lib/foreman_azure_rm/version.rb +1 -1
  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 +17 -5
  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 +27 -13
  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 +187 -0
  40. data/locale/nl_NL/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  41. data/locale/nl_NL/foreman_azure_rm.po +188 -0
  42. data/locale/pl/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  43. data/locale/pl/foreman_azure_rm.po +189 -0
  44. data/locale/pt_BR/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  45. data/locale/pt_BR/foreman_azure_rm.po +192 -0
  46. data/locale/ru/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  47. data/locale/ru/foreman_azure_rm.po +192 -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 +52 -31
@@ -5,9 +5,9 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_azure_rm 1.0.0\n"
8
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2020-04-08 06:57-0400\n"
10
+ "PO-Revision-Date: 2020-05-12 17:20+0530\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
12
  "Language-Team: English\n"
13
13
  "Language: en\n"
@@ -20,6 +20,9 @@ msgstr ""
20
20
  msgid "%{vm_size} VM Size"
21
21
  msgstr ""
22
22
 
23
+ msgid "Action with sub plans"
24
+ msgstr ""
25
+
23
26
  msgid "Actions"
24
27
  msgstr ""
25
28
 
@@ -71,6 +74,15 @@ msgstr ""
71
74
  msgid "Image"
72
75
  msgstr ""
73
76
 
77
+ msgid "Import Puppet classes"
78
+ msgstr ""
79
+
80
+ msgid "Import facts"
81
+ msgstr ""
82
+
83
+ msgid "Load Regions"
84
+ msgstr ""
85
+
74
86
  msgid "Marketplace Image URN"
75
87
  msgstr ""
76
88
 
@@ -116,6 +128,9 @@ msgstr ""
116
128
  msgid "Reload Images, Sizes, vNets"
117
129
  msgstr ""
118
130
 
131
+ msgid "Remote action:"
132
+ msgstr ""
133
+
119
134
  msgid "Resource Group"
120
135
  msgstr ""
121
136
 
@@ -131,9 +146,6 @@ msgstr ""
131
146
  msgid "Size (GB)"
132
147
  msgstr ""
133
148
 
134
- msgid "Some of the listed regions might not be supported for your subscription. Please verify on Azure portal."
135
- msgstr ""
136
-
137
149
  msgid "State"
138
150
  msgstr ""
139
151
 
@@ -0,0 +1,187 @@
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
+ # Andi Chandler <andi@gowling.com>, 2020
8
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 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: 0868a4d1af5275b3f70b0a6dac4c99a4, 2020\n"
16
+ "Language-Team: English (United Kingdom) (https://www.transifex.com/foreman/tea"
17
+ "ms/114/en_GB/)\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Language: en_GB\n"
22
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23
+
24
+ msgid "%{vm_size} VM Size"
25
+ msgstr ""
26
+
27
+ msgid "Action with sub plans"
28
+ msgstr ""
29
+
30
+ msgid "Actions"
31
+ msgstr "Actions"
32
+
33
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
34
+ msgstr ""
35
+
36
+ msgid "Azure Region"
37
+ msgstr ""
38
+
39
+ msgid "Azure Resource Manager as a compute resource for Foreman"
40
+ msgstr ""
41
+
42
+ msgid "Azure Subnet"
43
+ msgstr ""
44
+
45
+ msgid "Azure's Default"
46
+ msgstr ""
47
+
48
+ msgid "Azure's default"
49
+ msgstr ""
50
+
51
+ msgid "Client ID"
52
+ msgstr ""
53
+
54
+ msgid "Client ID for AzureRm"
55
+ msgstr ""
56
+
57
+ msgid "Client Secret"
58
+ msgstr ""
59
+
60
+ msgid "Client Secret for AzureRm"
61
+ msgstr ""
62
+
63
+ msgid "Comma seperated file URIs"
64
+ msgstr ""
65
+
66
+ msgid "Custom Script Command"
67
+ msgstr ""
68
+
69
+ msgid "Data Disk Caching"
70
+ msgstr ""
71
+
72
+ msgid "Default ReadWrite"
73
+ msgstr ""
74
+
75
+ msgid "Does this image support user data input?"
76
+ msgstr ""
77
+
78
+ msgid "Image"
79
+ msgstr ""
80
+
81
+ msgid "Import Puppet classes"
82
+ msgstr ""
83
+
84
+ msgid "Import facts"
85
+ msgstr ""
86
+
87
+ msgid "Load Regions"
88
+ msgstr ""
89
+
90
+ msgid "Marketplace Image URN"
91
+ msgstr ""
92
+
93
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
94
+ msgstr ""
95
+
96
+ msgid "Name"
97
+ msgstr "Name"
98
+
99
+ msgid "OS Disk Caching"
100
+ msgstr ""
101
+
102
+ msgid "Password"
103
+ msgstr ""
104
+
105
+ msgid "Password to authenticate with - used for SSH finish step."
106
+ msgstr ""
107
+
108
+ msgid "Platform"
109
+ msgstr ""
110
+
111
+ msgid "Please select a Resource Group"
112
+ msgstr ""
113
+
114
+ msgid "Please select a VM Size"
115
+ msgstr ""
116
+
117
+ msgid "Please select an image"
118
+ msgstr ""
119
+
120
+ msgid "Premium OS Disk"
121
+ msgstr ""
122
+
123
+ msgid "Properties"
124
+ msgstr ""
125
+
126
+ msgid "Public IP"
127
+ msgstr ""
128
+
129
+ msgid "Region"
130
+ msgstr ""
131
+
132
+ msgid "Reload Images, Sizes, vNets"
133
+ msgstr ""
134
+
135
+ msgid "Remote action:"
136
+ msgstr ""
137
+
138
+ msgid "Resource Group"
139
+ msgstr ""
140
+
141
+ msgid "SSH Key"
142
+ msgstr ""
143
+
144
+ msgid "Select"
145
+ msgstr ""
146
+
147
+ msgid "Size"
148
+ msgstr "Size"
149
+
150
+ msgid "Size (GB)"
151
+ msgstr ""
152
+
153
+ msgid "State"
154
+ msgstr "State"
155
+
156
+ msgid "Static Private IP"
157
+ msgstr ""
158
+
159
+ msgid "Subscription ID"
160
+ msgstr ""
161
+
162
+ msgid "Subscription ID for AzureRm"
163
+ msgstr ""
164
+
165
+ msgid "Tenant ID"
166
+ msgstr ""
167
+
168
+ msgid "The region you selected has no sizes associated with it"
169
+ msgstr ""
170
+
171
+ msgid "The selected image has no associated compute resource"
172
+ msgstr ""
173
+
174
+ msgid "The selected region has no subnets"
175
+ msgstr ""
176
+
177
+ msgid "The user that will be used to SSH into the VM for completion"
178
+ msgstr ""
179
+
180
+ msgid "To perform commands as root, prefix it with 'sudo'"
181
+ msgstr ""
182
+
183
+ msgid "Username"
184
+ msgstr ""
185
+
186
+ msgid "VM Size"
187
+ 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
+ # Lukáš Zapletal, 2020
8
+ # Jared Nelson <jared@ajpadilla.com>, 2020
9
+ # Félix Barbeira <fbarbeira@gmail.com>, 2020
10
+ # Gustavo Varela <gustavo.varela@gmail.com>, 2020
11
+ # Carmela Rubiños <carmela.rubinos@gmail.com>, 2020
12
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
13
+ #
14
+ msgid ""
15
+ msgstr ""
16
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
17
+ "Report-Msgid-Bugs-To: \n"
18
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
19
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>, 2020\n"
20
+ "Language-Team: Spanish (https://www.transifex.com/foreman/teams/114/es/)\n"
21
+ "MIME-Version: 1.0\n"
22
+ "Content-Type: text/plain; charset=UTF-8\n"
23
+ "Content-Transfer-Encoding: 8bit\n"
24
+ "Language: es\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 "Acciones"
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 imagen soporta entrada de datos de usuario?"
80
+
81
+ msgid "Image"
82
+ msgstr "Imagen"
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 "Nombre"
101
+
102
+ msgid "OS Disk Caching"
103
+ msgstr ""
104
+
105
+ msgid "Password"
106
+ msgstr "Contraseña"
107
+
108
+ msgid "Password to authenticate with - used for SSH finish step."
109
+ msgstr "Contraseña de autenticación - usada para el paso final de 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 "Seleccione una imagen"
122
+
123
+ msgid "Premium OS Disk"
124
+ msgstr ""
125
+
126
+ msgid "Properties"
127
+ msgstr "Propiedades"
128
+
129
+ msgid "Public IP"
130
+ msgstr ""
131
+
132
+ msgid "Region"
133
+ msgstr "Región"
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 "Seleccionar"
149
+
150
+ msgid "Size"
151
+ msgstr "Tamaño"
152
+
153
+ msgid "Size (GB)"
154
+ msgstr "Tamaño (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 suscripción"
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 "Nombre de usuario"
188
+
189
+ msgid "VM Size"
190
+ msgstr ""
@@ -6,10 +6,10 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_azure_rm 1.0.0\n"
9
+ "Project-Id-Version: foreman_azure_rm 2.1.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-04-08 06:57-0400\n"
12
- "PO-Revision-Date: 2020-04-08 06:57-0400\n"
11
+ "POT-Creation-Date: 2020-05-12 15:17+0530\n"
12
+ "PO-Revision-Date: 2020-05-12 15:17+0530\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -48,6 +48,14 @@ msgstr ""
48
48
  msgid "The selected image has no associated compute resource"
49
49
  msgstr ""
50
50
 
51
+ #: ../app/helpers/azure_compute_resource_helper.rb:11
52
+ msgid "Azure Region"
53
+ msgstr ""
54
+
55
+ #: ../app/helpers/azure_compute_resource_helper.rb:11
56
+ msgid "Load Regions"
57
+ msgstr ""
58
+
51
59
  #: ../app/models/foreman_azure_rm/azure_rm_compute.rb:148
52
60
  msgid "%{vm_size} VM Size"
53
61
  msgstr ""
@@ -68,16 +76,6 @@ msgstr ""
68
76
  msgid "Tenant ID"
69
77
  msgstr ""
70
78
 
71
- #: ../app/views/compute_resources/form/_azurerm.html.erb:6
72
- msgid "Azure Region"
73
- msgstr ""
74
-
75
- #: ../app/views/compute_resources/form/_azurerm.html.erb:6
76
- msgid ""
77
- "Some of the listed regions might not be supported for your subscription. Pleas"
78
- "e verify on Azure portal."
79
- msgstr ""
80
-
81
79
  #: ../app/views/compute_resources_vms/form/azurerm/_base.html.erb:91
82
80
  msgid "Please select a Resource Group"
83
81
  msgstr ""
@@ -229,6 +227,22 @@ msgstr ""
229
227
  msgid "Does this image support user data input?"
230
228
  msgstr ""
231
229
 
230
+ #: action_names.rb:2
231
+ msgid "Action with sub plans"
232
+ msgstr ""
233
+
234
+ #: action_names.rb:3
235
+ msgid "Import facts"
236
+ msgstr ""
237
+
238
+ #: action_names.rb:4
239
+ msgid "Import Puppet classes"
240
+ msgstr ""
241
+
242
+ #: action_names.rb:5
243
+ msgid "Remote action:"
244
+ msgstr ""
245
+
232
246
  #: gemspec.rb:2
233
247
  msgid "Azure Resource Manager as a compute resource for Foreman"
234
248
  msgstr ""