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,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
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2020
8
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2020
9
+ # Giuseppe Pignataro <rogepix@gmail.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: Giuseppe Pignataro <rogepix@gmail.com>, 2020\n"
17
+ "Language-Team: Italian (https://www.transifex.com/foreman/teams/114/it/)\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Language: it\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 "Azioni"
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 "Questa immagine supporta l'input dei dati utente?"
77
+
78
+ msgid "Image"
79
+ msgstr "Immagine"
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 "Nome"
98
+
99
+ msgid "OS Disk Caching"
100
+ msgstr ""
101
+
102
+ msgid "Password"
103
+ msgstr "Password"
104
+
105
+ msgid "Password to authenticate with - used for SSH finish step."
106
+ msgstr "Password per un'autenticazione con -used per la fase finale di SSH."
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 "Selezionare una immagine"
119
+
120
+ msgid "Premium OS Disk"
121
+ msgstr ""
122
+
123
+ msgid "Properties"
124
+ msgstr "Proprietà"
125
+
126
+ msgid "Public IP"
127
+ msgstr ""
128
+
129
+ msgid "Region"
130
+ msgstr "Regione"
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 "Seleziona"
146
+
147
+ msgid "Size"
148
+ msgstr "Dimensione"
149
+
150
+ msgid "Size (GB)"
151
+ msgstr "Dimensione (GB)"
152
+
153
+ msgid "State"
154
+ msgstr "Stato"
155
+
156
+ msgid "Static Private IP"
157
+ msgstr ""
158
+
159
+ msgid "Subscription ID"
160
+ msgstr "ID sottoscrizione"
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 "Nome utente"
185
+
186
+ msgid "VM Size"
187
+ msgstr ""
@@ -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
+ # Lukáš Zapletal, 2020
8
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2020
9
+ # Bryan Kearney <bryan.kearney@gmail.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: Bryan Kearney <bryan.kearney@gmail.com>, 2020\n"
17
+ "Language-Team: Japanese (https://www.transifex.com/foreman/teams/114/ja/)\n"
18
+ "MIME-Version: 1.0\n"
19
+ "Content-Type: text/plain; charset=UTF-8\n"
20
+ "Content-Transfer-Encoding: 8bit\n"
21
+ "Language: ja\n"
22
+ "Plural-Forms: nplurals=1; plural=0;\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 "アクション"
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 "名前"
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 "認証に使用するパスワード - SSH の最終ステップで使用されます。"
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 "サイズ"
149
+
150
+ msgid "Size (GB)"
151
+ msgstr "サイズ (GB)"
152
+
153
+ msgid "State"
154
+ msgstr "状態"
155
+
156
+ msgid "Static Private IP"
157
+ msgstr ""
158
+
159
+ msgid "Subscription ID"
160
+ msgstr "サブスクリプション ID"
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,186 @@
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
+ # Bryan Kearney <bryan.kearney@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: Bryan Kearney <bryan.kearney@gmail.com>, 2020\n"
16
+ "Language-Team: Korean (https://www.transifex.com/foreman/teams/114/ko/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: ko\n"
21
+ "Plural-Forms: nplurals=1; plural=0;\n"
22
+
23
+ msgid "%{vm_size} VM Size"
24
+ msgstr ""
25
+
26
+ msgid "Action with sub plans"
27
+ msgstr ""
28
+
29
+ msgid "Actions"
30
+ msgstr "동작 "
31
+
32
+ msgid "Additional number of disks can be added based on VM Size. For more details, please refer to Microsoft Azure's documentation"
33
+ msgstr ""
34
+
35
+ msgid "Azure Region"
36
+ msgstr ""
37
+
38
+ msgid "Azure Resource Manager as a compute resource for Foreman"
39
+ msgstr ""
40
+
41
+ msgid "Azure Subnet"
42
+ msgstr ""
43
+
44
+ msgid "Azure's Default"
45
+ msgstr ""
46
+
47
+ msgid "Azure's default"
48
+ msgstr ""
49
+
50
+ msgid "Client ID"
51
+ msgstr ""
52
+
53
+ msgid "Client ID for AzureRm"
54
+ msgstr ""
55
+
56
+ msgid "Client Secret"
57
+ msgstr ""
58
+
59
+ msgid "Client Secret for AzureRm"
60
+ msgstr ""
61
+
62
+ msgid "Comma seperated file URIs"
63
+ msgstr ""
64
+
65
+ msgid "Custom Script Command"
66
+ msgstr ""
67
+
68
+ msgid "Data Disk Caching"
69
+ msgstr ""
70
+
71
+ msgid "Default ReadWrite"
72
+ msgstr ""
73
+
74
+ msgid "Does this image support user data input?"
75
+ msgstr "이 이미지는 사용자 데이터 입력을 지원하고 있습니까?"
76
+
77
+ msgid "Image"
78
+ msgstr "이미지 "
79
+
80
+ msgid "Import Puppet classes"
81
+ msgstr ""
82
+
83
+ msgid "Import facts"
84
+ msgstr ""
85
+
86
+ msgid "Load Regions"
87
+ msgstr ""
88
+
89
+ msgid "Marketplace Image URN"
90
+ msgstr ""
91
+
92
+ msgid "Marketplace URN (e.g. OpenLogic:CentOS:7.5:latest)"
93
+ msgstr ""
94
+
95
+ msgid "Name"
96
+ msgstr "이름 "
97
+
98
+ msgid "OS Disk Caching"
99
+ msgstr ""
100
+
101
+ msgid "Password"
102
+ msgstr "암호 "
103
+
104
+ msgid "Password to authenticate with - used for SSH finish step."
105
+ msgstr "인증에 사용될 암호 - SSH 마지막 단계에서 사용됩니다."
106
+
107
+ msgid "Platform"
108
+ msgstr ""
109
+
110
+ msgid "Please select a Resource Group"
111
+ msgstr ""
112
+
113
+ msgid "Please select a VM Size"
114
+ msgstr ""
115
+
116
+ msgid "Please select an image"
117
+ msgstr "이미지를 선택하십시오"
118
+
119
+ msgid "Premium OS Disk"
120
+ msgstr ""
121
+
122
+ msgid "Properties"
123
+ msgstr "속성 "
124
+
125
+ msgid "Public IP"
126
+ msgstr ""
127
+
128
+ msgid "Region"
129
+ msgstr "지역 "
130
+
131
+ msgid "Reload Images, Sizes, vNets"
132
+ msgstr ""
133
+
134
+ msgid "Remote action:"
135
+ msgstr ""
136
+
137
+ msgid "Resource Group"
138
+ msgstr ""
139
+
140
+ msgid "SSH Key"
141
+ msgstr ""
142
+
143
+ msgid "Select"
144
+ msgstr "선택 "
145
+
146
+ msgid "Size"
147
+ msgstr "사이즈"
148
+
149
+ msgid "Size (GB)"
150
+ msgstr "크기 (GB)"
151
+
152
+ msgid "State"
153
+ msgstr "상태 "
154
+
155
+ msgid "Static Private IP"
156
+ msgstr ""
157
+
158
+ msgid "Subscription ID"
159
+ msgstr "서브스크립션 ID"
160
+
161
+ msgid "Subscription ID for AzureRm"
162
+ msgstr ""
163
+
164
+ msgid "Tenant ID"
165
+ msgstr ""
166
+
167
+ msgid "The region you selected has no sizes associated with it"
168
+ msgstr ""
169
+
170
+ msgid "The selected image has no associated compute resource"
171
+ msgstr ""
172
+
173
+ msgid "The selected region has no subnets"
174
+ msgstr ""
175
+
176
+ msgid "The user that will be used to SSH into the VM for completion"
177
+ msgstr ""
178
+
179
+ msgid "To perform commands as root, prefix it with 'sudo'"
180
+ msgstr ""
181
+
182
+ msgid "Username"
183
+ msgstr "사용자 이름 "
184
+
185
+ msgid "VM Size"
186
+ msgstr ""