foreman_azure_rm 2.0.5 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -15
  3. data/app/helpers/azure_compute_resource_helper.rb +13 -0
  4. data/app/models/concerns/foreman_azure_rm/vm_extensions/managed_vm.rb +67 -29
  5. data/app/models/foreman_azure_rm/azure_rm.rb +89 -33
  6. data/app/models/foreman_azure_rm/azure_rm_compute.rb +69 -2
  7. data/app/views/compute_resources/form/_azurerm.html.erb +1 -5
  8. data/app/views/compute_resources_vms/form/azurerm/_base.html.erb +4 -3
  9. data/app/views/compute_resources_vms/form/azurerm/_volume.html.erb +20 -0
  10. data/app/views/compute_resources_vms/index/_azurerm.html.erb +13 -13
  11. data/app/views/compute_resources_vms/show/_azurerm.html.erb +10 -6
  12. data/app/views/images/form/_azurerm.html.erb +2 -2
  13. data/db/migrate/20200211073049_fix_case_azure_rm.rb +5 -0
  14. data/db/migrate/20200507103900_fix_image_uuid_prefix.rb +8 -0
  15. data/lib/foreman_azure_rm.rb +3 -0
  16. data/lib/foreman_azure_rm/azure_sdk_adapter.rb +68 -2
  17. data/lib/foreman_azure_rm/engine.rb +13 -0
  18. data/lib/foreman_azure_rm/version.rb +1 -1
  19. data/locale/Makefile +61 -0
  20. data/locale/action_names.rb +5 -0
  21. data/locale/ca/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  22. data/locale/ca/foreman_azure_rm.po +185 -0
  23. data/locale/cs_CZ/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  24. data/locale/cs_CZ/foreman_azure_rm.po +189 -0
  25. data/locale/de/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  26. data/locale/de/foreman_azure_rm.po +191 -0
  27. data/locale/en/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  28. data/locale/en/foreman_azure_rm.po +183 -0
  29. data/locale/en_GB/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  30. data/locale/en_GB/foreman_azure_rm.po +187 -0
  31. data/locale/es/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  32. data/locale/es/foreman_azure_rm.po +190 -0
  33. data/locale/foreman_azure_rm.pot +248 -0
  34. data/locale/fr/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  35. data/locale/fr/foreman_azure_rm.po +187 -0
  36. data/locale/gl/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  37. data/locale/gl/foreman_azure_rm.po +185 -0
  38. data/locale/it/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  39. data/locale/it/foreman_azure_rm.po +187 -0
  40. data/locale/ja/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  41. data/locale/ja/foreman_azure_rm.po +187 -0
  42. data/locale/ko/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  43. data/locale/ko/foreman_azure_rm.po +186 -0
  44. data/locale/nl_NL/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  45. data/locale/nl_NL/foreman_azure_rm.po +187 -0
  46. data/locale/pl/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  47. data/locale/pl/foreman_azure_rm.po +188 -0
  48. data/locale/pt_BR/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  49. data/locale/pt_BR/foreman_azure_rm.po +190 -0
  50. data/locale/ru/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  51. data/locale/ru/foreman_azure_rm.po +190 -0
  52. data/locale/sv_SE/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  53. data/locale/sv_SE/foreman_azure_rm.po +187 -0
  54. data/locale/zh_CN/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  55. data/locale/zh_CN/foreman_azure_rm.po +188 -0
  56. data/locale/zh_TW/LC_MESSAGES/foreman_azure_rm.mo +0 -0
  57. data/locale/zh_TW/foreman_azure_rm.po +187 -0
  58. metadata +59 -2
@@ -0,0 +1,5 @@
1
+ # Autogenerated!
2
+ _("Action with sub plans")
3
+ _("Import facts")
4
+ _("Import Puppet classes")
5
+ _("Remote action:")
@@ -0,0 +1,185 @@
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
+ # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2020
8
+ #
9
+ msgid ""
10
+ msgstr ""
11
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
12
+ "Report-Msgid-Bugs-To: \n"
13
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
14
+ "Last-Translator: Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2020\n"
15
+ "Language-Team: Catalan (https://www.transifex.com/foreman/teams/114/ca/)\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Language: ca\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+
22
+ msgid "%{vm_size} VM Size"
23
+ msgstr ""
24
+
25
+ msgid "Action with sub plans"
26
+ msgstr ""
27
+
28
+ msgid "Actions"
29
+ msgstr "Accions"
30
+
31
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
32
+ msgstr ""
33
+
34
+ msgid "Azure Region"
35
+ msgstr ""
36
+
37
+ msgid "Azure Resource Manager as a compute resource for Foreman"
38
+ msgstr ""
39
+
40
+ msgid "Azure Subnet"
41
+ msgstr ""
42
+
43
+ msgid "Azure's Default"
44
+ msgstr ""
45
+
46
+ msgid "Azure's default"
47
+ msgstr ""
48
+
49
+ msgid "Client ID"
50
+ msgstr ""
51
+
52
+ msgid "Client ID for AzureRm"
53
+ msgstr ""
54
+
55
+ msgid "Client Secret"
56
+ msgstr ""
57
+
58
+ msgid "Client Secret for AzureRm"
59
+ msgstr ""
60
+
61
+ msgid "Comma seperated file URIs"
62
+ msgstr ""
63
+
64
+ msgid "Custom Script Command"
65
+ msgstr ""
66
+
67
+ msgid "Data Disk Caching"
68
+ msgstr ""
69
+
70
+ msgid "Default ReadWrite"
71
+ msgstr ""
72
+
73
+ msgid "Does this image support user data input?"
74
+ msgstr "La imatge admet l'entrada de dades d'usuari?"
75
+
76
+ msgid "Image"
77
+ msgstr "Imatge"
78
+
79
+ msgid "Import Puppet classes"
80
+ msgstr ""
81
+
82
+ msgid "Import facts"
83
+ msgstr ""
84
+
85
+ msgid "Load Regions"
86
+ msgstr ""
87
+
88
+ msgid "Marketplace Image URN"
89
+ msgstr ""
90
+
91
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
92
+ msgstr ""
93
+
94
+ msgid "Name"
95
+ msgstr "Nom"
96
+
97
+ msgid "OS Disk Caching"
98
+ msgstr ""
99
+
100
+ msgid "Password"
101
+ msgstr "Contrasenya"
102
+
103
+ msgid "Password to authenticate with - used for SSH finish step."
104
+ msgstr ""
105
+
106
+ msgid "Platform"
107
+ msgstr ""
108
+
109
+ msgid "Please select a Resource Group"
110
+ msgstr ""
111
+
112
+ msgid "Please select a VM Size"
113
+ msgstr ""
114
+
115
+ msgid "Please select an image"
116
+ msgstr "Si us plau, seleccioneu una imatge"
117
+
118
+ msgid "Premium OS Disk"
119
+ msgstr ""
120
+
121
+ msgid "Properties"
122
+ msgstr "Propietats"
123
+
124
+ msgid "Public IP"
125
+ msgstr ""
126
+
127
+ msgid "Region"
128
+ msgstr "Regió"
129
+
130
+ msgid "Reload Images, Sizes, vNets"
131
+ msgstr ""
132
+
133
+ msgid "Remote action:"
134
+ msgstr ""
135
+
136
+ msgid "Resource Group"
137
+ msgstr ""
138
+
139
+ msgid "SSH Key"
140
+ msgstr ""
141
+
142
+ msgid "Select"
143
+ msgstr "Selecciona"
144
+
145
+ msgid "Size"
146
+ msgstr "Mida"
147
+
148
+ msgid "Size (GB)"
149
+ msgstr "Mida (GB)"
150
+
151
+ msgid "State"
152
+ msgstr "Estat"
153
+
154
+ msgid "Static Private IP"
155
+ msgstr ""
156
+
157
+ msgid "Subscription ID"
158
+ msgstr "ID de subscripció"
159
+
160
+ msgid "Subscription ID for AzureRm"
161
+ msgstr ""
162
+
163
+ msgid "Tenant ID"
164
+ msgstr ""
165
+
166
+ msgid "The region you selected has no sizes associated with it"
167
+ msgstr ""
168
+
169
+ msgid "The selected image has no associated compute resource"
170
+ msgstr ""
171
+
172
+ msgid "The selected region has no subnets"
173
+ msgstr ""
174
+
175
+ msgid "The user that will be used to SSH into the VM for completion"
176
+ msgstr ""
177
+
178
+ msgid "To perform commands as root, prefix it with 'sudo'"
179
+ msgstr ""
180
+
181
+ msgid "Username"
182
+ msgstr "Nom d'usuari"
183
+
184
+ msgid "VM Size"
185
+ msgstr ""
@@ -0,0 +1,189 @@
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
+ # Pavel Borecki <pavel.borecki@gmail.com>, 2020
9
+ # mhulan <mhulan@redhat.com>, 2020
10
+ #
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
16
+ "Last-Translator: mhulan <mhulan@redhat.com>, 2020\n"
17
+ "Language-Team: Czech (Czech Republic) (https://www.transifex.com/foreman/teams"
18
+ "/114/cs_CZ/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: cs_CZ\n"
23
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= "
24
+ "4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
25
+
26
+ msgid "%{vm_size} VM Size"
27
+ msgstr ""
28
+
29
+ msgid "Action with sub plans"
30
+ msgstr ""
31
+
32
+ msgid "Actions"
33
+ msgstr "Akce"
34
+
35
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
36
+ msgstr ""
37
+
38
+ msgid "Azure Region"
39
+ msgstr ""
40
+
41
+ msgid "Azure Resource Manager as a compute resource for Foreman"
42
+ msgstr ""
43
+
44
+ msgid "Azure Subnet"
45
+ msgstr ""
46
+
47
+ msgid "Azure's Default"
48
+ msgstr ""
49
+
50
+ msgid "Azure's default"
51
+ msgstr ""
52
+
53
+ msgid "Client ID"
54
+ msgstr ""
55
+
56
+ msgid "Client ID for AzureRm"
57
+ msgstr ""
58
+
59
+ msgid "Client Secret"
60
+ msgstr ""
61
+
62
+ msgid "Client Secret for AzureRm"
63
+ msgstr ""
64
+
65
+ msgid "Comma seperated file URIs"
66
+ msgstr ""
67
+
68
+ msgid "Custom Script Command"
69
+ msgstr ""
70
+
71
+ msgid "Data Disk Caching"
72
+ msgstr ""
73
+
74
+ msgid "Default ReadWrite"
75
+ msgstr ""
76
+
77
+ msgid "Does this image support user data input?"
78
+ msgstr "Podporuje tento obraz vstup dat od uživatele?"
79
+
80
+ msgid "Image"
81
+ msgstr "Obraz"
82
+
83
+ msgid "Import Puppet classes"
84
+ msgstr ""
85
+
86
+ msgid "Import facts"
87
+ msgstr ""
88
+
89
+ msgid "Load Regions"
90
+ msgstr ""
91
+
92
+ msgid "Marketplace Image URN"
93
+ msgstr ""
94
+
95
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
96
+ msgstr ""
97
+
98
+ msgid "Name"
99
+ msgstr "Název"
100
+
101
+ msgid "OS Disk Caching"
102
+ msgstr ""
103
+
104
+ msgid "Password"
105
+ msgstr "Heslo"
106
+
107
+ msgid "Password to authenticate with - used for SSH finish step."
108
+ msgstr "Heslo které použít pro ověření se – použito pro krok dokončení po SSH."
109
+
110
+ msgid "Platform"
111
+ msgstr ""
112
+
113
+ msgid "Please select a Resource Group"
114
+ msgstr ""
115
+
116
+ msgid "Please select a VM Size"
117
+ msgstr ""
118
+
119
+ msgid "Please select an image"
120
+ msgstr "Vyberte obraz"
121
+
122
+ msgid "Premium OS Disk"
123
+ msgstr ""
124
+
125
+ msgid "Properties"
126
+ msgstr "Vlastnosti"
127
+
128
+ msgid "Public IP"
129
+ msgstr ""
130
+
131
+ msgid "Region"
132
+ msgstr "Oblast"
133
+
134
+ msgid "Reload Images, Sizes, vNets"
135
+ msgstr ""
136
+
137
+ msgid "Remote action:"
138
+ msgstr ""
139
+
140
+ msgid "Resource Group"
141
+ msgstr ""
142
+
143
+ msgid "SSH Key"
144
+ msgstr ""
145
+
146
+ msgid "Select"
147
+ msgstr "Vybrat"
148
+
149
+ msgid "Size"
150
+ msgstr "Velikost"
151
+
152
+ msgid "Size (GB)"
153
+ msgstr "Velikost (GB)"
154
+
155
+ msgid "State"
156
+ msgstr "Stav"
157
+
158
+ msgid "Static Private IP"
159
+ msgstr ""
160
+
161
+ msgid "Subscription ID"
162
+ msgstr "Identifikátor předplatného"
163
+
164
+ msgid "Subscription ID for AzureRm"
165
+ msgstr ""
166
+
167
+ msgid "Tenant ID"
168
+ msgstr ""
169
+
170
+ msgid "The region you selected has no sizes associated with it"
171
+ msgstr ""
172
+
173
+ msgid "The selected image has no associated compute resource"
174
+ msgstr ""
175
+
176
+ msgid "The selected region has no subnets"
177
+ msgstr ""
178
+
179
+ msgid "The user that will be used to SSH into the VM for completion"
180
+ msgstr ""
181
+
182
+ msgid "To perform commands as root, prefix it with 'sudo'"
183
+ msgstr ""
184
+
185
+ msgid "Username"
186
+ msgstr "Uživatelské jméno"
187
+
188
+ msgid "VM Size"
189
+ msgstr ""
@@ -0,0 +1,191 @@
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
+ # Ettore Atalan <atalanttore@googlemail.com>, 2020
9
+ # Wiederoder <stefanwiederoder@googlemail.com>, 2020
10
+ # abf90805572190d649c59f7a021d76cb, 2020
11
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
12
+ # Arnold Bechtoldt <mail@arnoldbechtoldt.com>, 2020
13
+ # mbacovsky <martin.bacovsky@gmail.com>, 2020
14
+ #
15
+ msgid ""
16
+ msgstr ""
17
+ "Project-Id-Version: foreman_azure_rm 2.0.8\n"
18
+ "Report-Msgid-Bugs-To: \n"
19
+ "PO-Revision-Date: 2020-04-21 13:58+0000\n"
20
+ "Last-Translator: mbacovsky <martin.bacovsky@gmail.com>, 2020\n"
21
+ "Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
22
+ "MIME-Version: 1.0\n"
23
+ "Content-Type: text/plain; charset=UTF-8\n"
24
+ "Content-Transfer-Encoding: 8bit\n"
25
+ "Language: de\n"
26
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
27
+
28
+ msgid "%{vm_size} VM Size"
29
+ msgstr ""
30
+
31
+ msgid "Action with sub plans"
32
+ msgstr ""
33
+
34
+ msgid "Actions"
35
+ msgstr "Aktionen"
36
+
37
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
38
+ msgstr ""
39
+
40
+ msgid "Azure Region"
41
+ msgstr ""
42
+
43
+ msgid "Azure Resource Manager as a compute resource for Foreman"
44
+ msgstr ""
45
+
46
+ msgid "Azure Subnet"
47
+ msgstr ""
48
+
49
+ msgid "Azure's Default"
50
+ msgstr ""
51
+
52
+ msgid "Azure's default"
53
+ msgstr ""
54
+
55
+ msgid "Client ID"
56
+ msgstr ""
57
+
58
+ msgid "Client ID for AzureRm"
59
+ msgstr ""
60
+
61
+ msgid "Client Secret"
62
+ msgstr ""
63
+
64
+ msgid "Client Secret for AzureRm"
65
+ msgstr ""
66
+
67
+ msgid "Comma seperated file URIs"
68
+ msgstr ""
69
+
70
+ msgid "Custom Script Command"
71
+ msgstr ""
72
+
73
+ msgid "Data Disk Caching"
74
+ msgstr ""
75
+
76
+ msgid "Default ReadWrite"
77
+ msgstr ""
78
+
79
+ msgid "Does this image support user data input?"
80
+ msgstr "Unterstützt dieses Image die Eingabe von Benutzerdaten?"
81
+
82
+ msgid "Image"
83
+ msgstr "Image"
84
+
85
+ msgid "Import Puppet classes"
86
+ msgstr ""
87
+
88
+ msgid "Import facts"
89
+ msgstr ""
90
+
91
+ msgid "Load Regions"
92
+ msgstr ""
93
+
94
+ msgid "Marketplace Image URN"
95
+ msgstr ""
96
+
97
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
98
+ msgstr ""
99
+
100
+ msgid "Name"
101
+ msgstr "Name"
102
+
103
+ msgid "OS Disk Caching"
104
+ msgstr ""
105
+
106
+ msgid "Password"
107
+ msgstr "Passwort"
108
+
109
+ msgid "Password to authenticate with - used for SSH finish step."
110
+ msgstr "Passwort zur Authentifizierung – verwendet im letzten Schritt von SSH."
111
+
112
+ msgid "Platform"
113
+ msgstr ""
114
+
115
+ msgid "Please select a Resource Group"
116
+ msgstr ""
117
+
118
+ msgid "Please select a VM Size"
119
+ msgstr ""
120
+
121
+ msgid "Please select an image"
122
+ msgstr "bitte ein Abbild auswählen"
123
+
124
+ msgid "Premium OS Disk"
125
+ msgstr ""
126
+
127
+ msgid "Properties"
128
+ msgstr "Eigenschaften"
129
+
130
+ msgid "Public IP"
131
+ msgstr ""
132
+
133
+ msgid "Region"
134
+ msgstr "Region"
135
+
136
+ msgid "Reload Images, Sizes, vNets"
137
+ msgstr ""
138
+
139
+ msgid "Remote action:"
140
+ msgstr ""
141
+
142
+ msgid "Resource Group"
143
+ msgstr ""
144
+
145
+ msgid "SSH Key"
146
+ msgstr ""
147
+
148
+ msgid "Select"
149
+ msgstr "Auswählen"
150
+
151
+ msgid "Size"
152
+ msgstr "Größe"
153
+
154
+ msgid "Size (GB)"
155
+ msgstr "Grösse (GB)"
156
+
157
+ msgid "State"
158
+ msgstr "Status"
159
+
160
+ msgid "Static Private IP"
161
+ msgstr ""
162
+
163
+ msgid "Subscription ID"
164
+ msgstr "Subskriptions-ID"
165
+
166
+ msgid "Subscription ID for AzureRm"
167
+ msgstr ""
168
+
169
+ msgid "Tenant ID"
170
+ msgstr ""
171
+
172
+ msgid "The region you selected has no sizes associated with it"
173
+ msgstr ""
174
+
175
+ msgid "The selected image has no associated compute resource"
176
+ msgstr ""
177
+
178
+ msgid "The selected region has no subnets"
179
+ msgstr ""
180
+
181
+ msgid "The user that will be used to SSH into the VM for completion"
182
+ msgstr ""
183
+
184
+ msgid "To perform commands as root, prefix it with 'sudo'"
185
+ msgstr ""
186
+
187
+ msgid "Username"
188
+ msgstr "Benutzername"
189
+
190
+ msgid "VM Size"
191
+ msgstr ""