foreman_google 0.0.2 → 1.0.1
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.
- checksums.yaml +4 -4
- data/app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb +21 -0
- data/app/controllers/foreman_google/api/v2/apipie_extensions.rb +16 -0
- data/app/controllers/foreman_google/api/v2/compute_resources_extensions.rb +22 -0
- data/app/models/foreman_google/gce.rb +5 -1
- data/lib/foreman_google/engine.rb +5 -5
- data/lib/foreman_google/version.rb +1 -1
- data/locale/cs_CZ/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/cs_CZ/foreman_google.po +99 -0
- data/locale/de/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/de/foreman_google.po +106 -0
- data/locale/el/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/el/foreman_google.po +96 -0
- data/locale/en/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/en/foreman_google.po +1 -1
- data/locale/es/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/es/foreman_google.po +104 -0
- data/locale/fr/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/fr/foreman_google.po +101 -0
- data/locale/it/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/it/foreman_google.po +100 -0
- data/locale/ja/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/ja/foreman_google.po +98 -0
- data/locale/ka/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/ka/foreman_google.po +96 -0
- data/locale/ko/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/ko/foreman_google.po +97 -0
- data/locale/pl/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/pl/foreman_google.po +99 -0
- data/locale/pt_BR/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/pt_BR/foreman_google.po +103 -0
- data/locale/ru/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/ru/foreman_google.po +102 -0
- data/locale/sv_SE/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/sv_SE/foreman_google.po +99 -0
- data/locale/zh_CN/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/zh_CN/foreman_google.po +100 -0
- data/locale/zh_TW/LC_MESSAGES/foreman_google.mo +0 -0
- data/locale/zh_TW/foreman_google.po +99 -0
- data/test/unit/foreman_google/google_compute_adapter_test.rb +0 -15
- metadata +37 -4
- data/app/controllers/concerns/foreman_google/temporary_prepend_path.rb +0 -16
@@ -0,0 +1,102 @@
|
|
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_google package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Vladimir Pavlov <v.pavlov@i-teco.ru>, 2022
|
8
|
+
# Andrei Burd <burdandrei@gmail.com>, 2022
|
9
|
+
# Yulia <yulia.poyarkova@redhat.com>, 2022
|
10
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
11
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2022
|
12
|
+
#
|
13
|
+
#, fuzzy
|
14
|
+
msgid ""
|
15
|
+
msgstr ""
|
16
|
+
"Project-Id-Version: foreman_google 1.0.0\n"
|
17
|
+
"Report-Msgid-Bugs-To: \n"
|
18
|
+
"PO-Revision-Date: 2022-08-01 12:51+0000\n"
|
19
|
+
"Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2022\n"
|
20
|
+
"Language-Team: Russian (https://www.transifex.com/foreman/teams/114/ru/)\n"
|
21
|
+
"MIME-Version: 1.0\n"
|
22
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
23
|
+
"Content-Transfer-Encoding: 8bit\n"
|
24
|
+
"Language: ru\n"
|
25
|
+
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
|
26
|
+
"4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=1"
|
27
|
+
"1 && n%100<=14)? 2 : 3);\n"
|
28
|
+
|
29
|
+
msgid "Action with sub plans"
|
30
|
+
msgstr "Действия с подпланами"
|
31
|
+
|
32
|
+
msgid "Actions"
|
33
|
+
msgstr "Действия"
|
34
|
+
|
35
|
+
msgid "Associate Ephemeral External IP"
|
36
|
+
msgstr ""
|
37
|
+
|
38
|
+
msgid "Does this image support user data input (e.g. via cloud-init)?"
|
39
|
+
msgstr "Разрешить предоставление пользовательских данных (например, с помощью cloud-init)"
|
40
|
+
|
41
|
+
msgid "Google Compute Engine plugin for the Foreman."
|
42
|
+
msgstr ""
|
43
|
+
|
44
|
+
msgid "Image"
|
45
|
+
msgstr "Образ"
|
46
|
+
|
47
|
+
msgid "Import Puppet classes"
|
48
|
+
msgstr "Импорт классов Puppet"
|
49
|
+
|
50
|
+
msgid "Import facts"
|
51
|
+
msgstr "Импорт фактов"
|
52
|
+
|
53
|
+
msgid "JSON key"
|
54
|
+
msgstr ""
|
55
|
+
|
56
|
+
msgid "Load Zones"
|
57
|
+
msgstr ""
|
58
|
+
|
59
|
+
msgid "Machine Type"
|
60
|
+
msgstr "Тип машины"
|
61
|
+
|
62
|
+
msgid "Machine type"
|
63
|
+
msgstr "Тип машины"
|
64
|
+
|
65
|
+
msgid "Missing an image for operating system!"
|
66
|
+
msgstr ""
|
67
|
+
|
68
|
+
msgid "Name"
|
69
|
+
msgstr "Имя"
|
70
|
+
|
71
|
+
msgid "Network"
|
72
|
+
msgstr "Сеть"
|
73
|
+
|
74
|
+
msgid "Please select an image"
|
75
|
+
msgstr "Выберите образ"
|
76
|
+
|
77
|
+
msgid "Preupgrade job"
|
78
|
+
msgstr ""
|
79
|
+
|
80
|
+
msgid "Properties"
|
81
|
+
msgstr "Свойства "
|
82
|
+
|
83
|
+
msgid "Remote action:"
|
84
|
+
msgstr "Удаленное действие:"
|
85
|
+
|
86
|
+
msgid "Size (GB)"
|
87
|
+
msgstr "Размер (ГБ)"
|
88
|
+
|
89
|
+
msgid "State"
|
90
|
+
msgstr "Состояние"
|
91
|
+
|
92
|
+
msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
|
93
|
+
msgstr ""
|
94
|
+
|
95
|
+
msgid "Type"
|
96
|
+
msgstr "Тип"
|
97
|
+
|
98
|
+
msgid "Zone"
|
99
|
+
msgstr "Зона"
|
100
|
+
|
101
|
+
msgid "console is not available at this time because the instance is powered off"
|
102
|
+
msgstr ""
|
Binary file
|
@@ -0,0 +1,99 @@
|
|
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_google package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Mikael Fridh <frimik@gmail.com>, 2022
|
8
|
+
# Fredrik Wendt <fredrik@wendt.se>, 2022
|
9
|
+
# johnny.westerlund <johnny.westerlund@gmail.com>, 2022
|
10
|
+
#
|
11
|
+
#, fuzzy
|
12
|
+
msgid ""
|
13
|
+
msgstr ""
|
14
|
+
"Project-Id-Version: foreman_google 1.0.0\n"
|
15
|
+
"Report-Msgid-Bugs-To: \n"
|
16
|
+
"PO-Revision-Date: 2022-08-01 12:51+0000\n"
|
17
|
+
"Last-Translator: johnny.westerlund <johnny.westerlund@gmail.com>, 2022\n"
|
18
|
+
"Language-Team: Swedish (Sweden) (https://www.transifex.com/foreman/teams/114/s"
|
19
|
+
"v_SE/)\n"
|
20
|
+
"MIME-Version: 1.0\n"
|
21
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
22
|
+
"Content-Transfer-Encoding: 8bit\n"
|
23
|
+
"Language: sv_SE\n"
|
24
|
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
25
|
+
|
26
|
+
msgid "Action with sub plans"
|
27
|
+
msgstr ""
|
28
|
+
|
29
|
+
msgid "Actions"
|
30
|
+
msgstr "Åtgärder"
|
31
|
+
|
32
|
+
msgid "Associate Ephemeral External IP"
|
33
|
+
msgstr ""
|
34
|
+
|
35
|
+
msgid "Does this image support user data input (e.g. via cloud-init)?"
|
36
|
+
msgstr "Stödjer denna bild användardata (såsom via cloud-init)?"
|
37
|
+
|
38
|
+
msgid "Google Compute Engine plugin for the Foreman."
|
39
|
+
msgstr ""
|
40
|
+
|
41
|
+
msgid "Image"
|
42
|
+
msgstr "Avbildning"
|
43
|
+
|
44
|
+
msgid "Import Puppet classes"
|
45
|
+
msgstr ""
|
46
|
+
|
47
|
+
msgid "Import facts"
|
48
|
+
msgstr ""
|
49
|
+
|
50
|
+
msgid "JSON key"
|
51
|
+
msgstr ""
|
52
|
+
|
53
|
+
msgid "Load Zones"
|
54
|
+
msgstr ""
|
55
|
+
|
56
|
+
msgid "Machine Type"
|
57
|
+
msgstr "Maskintyp"
|
58
|
+
|
59
|
+
msgid "Machine type"
|
60
|
+
msgstr "Maskintyp"
|
61
|
+
|
62
|
+
msgid "Missing an image for operating system!"
|
63
|
+
msgstr ""
|
64
|
+
|
65
|
+
msgid "Name"
|
66
|
+
msgstr "Namn"
|
67
|
+
|
68
|
+
msgid "Network"
|
69
|
+
msgstr "Nätverk"
|
70
|
+
|
71
|
+
msgid "Please select an image"
|
72
|
+
msgstr "Vänligen välj en avbildning"
|
73
|
+
|
74
|
+
msgid "Preupgrade job"
|
75
|
+
msgstr ""
|
76
|
+
|
77
|
+
msgid "Properties"
|
78
|
+
msgstr "Egenskaper"
|
79
|
+
|
80
|
+
msgid "Remote action:"
|
81
|
+
msgstr ""
|
82
|
+
|
83
|
+
msgid "Size (GB)"
|
84
|
+
msgstr "Storlek (GB)"
|
85
|
+
|
86
|
+
msgid "State"
|
87
|
+
msgstr "Tillstånd"
|
88
|
+
|
89
|
+
msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
|
90
|
+
msgstr ""
|
91
|
+
|
92
|
+
msgid "Type"
|
93
|
+
msgstr "Typ"
|
94
|
+
|
95
|
+
msgid "Zone"
|
96
|
+
msgstr "Zon"
|
97
|
+
|
98
|
+
msgid "console is not available at this time because the instance is powered off"
|
99
|
+
msgstr ""
|
Binary file
|
@@ -0,0 +1,100 @@
|
|
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_google package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2022
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
9
|
+
# tim123, 2022
|
10
|
+
# Amit Upadhye <aupadhye@redhat.com>, 2022
|
11
|
+
#
|
12
|
+
#, fuzzy
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Project-Id-Version: foreman_google 1.0.0\n"
|
16
|
+
"Report-Msgid-Bugs-To: \n"
|
17
|
+
"PO-Revision-Date: 2022-08-01 12:51+0000\n"
|
18
|
+
"Last-Translator: Amit Upadhye <aupadhye@redhat.com>, 2022\n"
|
19
|
+
"Language-Team: Chinese (China) (https://www.transifex.com/foreman/teams/114/zh"
|
20
|
+
"_CN/)\n"
|
21
|
+
"MIME-Version: 1.0\n"
|
22
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
23
|
+
"Content-Transfer-Encoding: 8bit\n"
|
24
|
+
"Language: zh_CN\n"
|
25
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
26
|
+
|
27
|
+
msgid "Action with sub plans"
|
28
|
+
msgstr "有子计划的操作"
|
29
|
+
|
30
|
+
msgid "Actions"
|
31
|
+
msgstr "操作"
|
32
|
+
|
33
|
+
msgid "Associate Ephemeral External IP"
|
34
|
+
msgstr "关联临时外部 IP"
|
35
|
+
|
36
|
+
msgid "Does this image support user data input (e.g. via cloud-init)?"
|
37
|
+
msgstr "这个镜像是否支持用户数据输入(例如:通过 cloud-init)?"
|
38
|
+
|
39
|
+
msgid "Google Compute Engine plugin for the Foreman."
|
40
|
+
msgstr "Foreman 的 Google Compute Engine 插件。"
|
41
|
+
|
42
|
+
msgid "Image"
|
43
|
+
msgstr "镜像"
|
44
|
+
|
45
|
+
msgid "Import Puppet classes"
|
46
|
+
msgstr "导入 Puppet 类"
|
47
|
+
|
48
|
+
msgid "Import facts"
|
49
|
+
msgstr "导入事实"
|
50
|
+
|
51
|
+
msgid "JSON key"
|
52
|
+
msgstr "JSON 键"
|
53
|
+
|
54
|
+
msgid "Load Zones"
|
55
|
+
msgstr "加载区域"
|
56
|
+
|
57
|
+
msgid "Machine Type"
|
58
|
+
msgstr "机器型号"
|
59
|
+
|
60
|
+
msgid "Machine type"
|
61
|
+
msgstr "机器类型"
|
62
|
+
|
63
|
+
msgid "Missing an image for operating system!"
|
64
|
+
msgstr "缺少操作系统镜像!"
|
65
|
+
|
66
|
+
msgid "Name"
|
67
|
+
msgstr "名称"
|
68
|
+
|
69
|
+
msgid "Network"
|
70
|
+
msgstr "网络"
|
71
|
+
|
72
|
+
msgid "Please select an image"
|
73
|
+
msgstr "请选择一个镜像"
|
74
|
+
|
75
|
+
msgid "Preupgrade job"
|
76
|
+
msgstr "升级前的作业"
|
77
|
+
|
78
|
+
msgid "Properties"
|
79
|
+
msgstr "属性"
|
80
|
+
|
81
|
+
msgid "Remote action:"
|
82
|
+
msgstr "远程操作:"
|
83
|
+
|
84
|
+
msgid "Size (GB)"
|
85
|
+
msgstr "大小 (GB)"
|
86
|
+
|
87
|
+
msgid "State"
|
88
|
+
msgstr "状态"
|
89
|
+
|
90
|
+
msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
|
91
|
+
msgstr "用于 ssh 到实例的用户,通常为 cloud-user、ec2-user、ubuntu 等:Google 引擎不支持 root 用户的 SSH。"
|
92
|
+
|
93
|
+
msgid "Type"
|
94
|
+
msgstr "类型"
|
95
|
+
|
96
|
+
msgid "Zone"
|
97
|
+
msgstr "区"
|
98
|
+
|
99
|
+
msgid "console is not available at this time because the instance is powered off"
|
100
|
+
msgstr "控制台目前不可用,因为实例已关闭"
|
Binary file
|
@@ -0,0 +1,99 @@
|
|
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_google package.
|
4
|
+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
5
|
+
#
|
6
|
+
# Translators:
|
7
|
+
# Isaac Tseng <isaac.kuang@gmail.com>, 2022
|
8
|
+
# Bryan Kearney <bryan.kearney@gmail.com>, 2022
|
9
|
+
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2022
|
10
|
+
#
|
11
|
+
#, fuzzy
|
12
|
+
msgid ""
|
13
|
+
msgstr ""
|
14
|
+
"Project-Id-Version: foreman_google 1.0.0\n"
|
15
|
+
"Report-Msgid-Bugs-To: \n"
|
16
|
+
"PO-Revision-Date: 2022-08-01 12:51+0000\n"
|
17
|
+
"Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2022\n"
|
18
|
+
"Language-Team: Chinese (Taiwan) (https://www.transifex.com/foreman/teams/114/z"
|
19
|
+
"h_TW/)\n"
|
20
|
+
"MIME-Version: 1.0\n"
|
21
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
22
|
+
"Content-Transfer-Encoding: 8bit\n"
|
23
|
+
"Language: zh_TW\n"
|
24
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
25
|
+
|
26
|
+
msgid "Action with sub plans"
|
27
|
+
msgstr "有子計畫的動作"
|
28
|
+
|
29
|
+
msgid "Actions"
|
30
|
+
msgstr "動作"
|
31
|
+
|
32
|
+
msgid "Associate Ephemeral External IP"
|
33
|
+
msgstr ""
|
34
|
+
|
35
|
+
msgid "Does this image support user data input (e.g. via cloud-init)?"
|
36
|
+
msgstr "這映像檔是否支援使用者資料輸入(比方說透過 cloud-init)?"
|
37
|
+
|
38
|
+
msgid "Google Compute Engine plugin for the Foreman."
|
39
|
+
msgstr ""
|
40
|
+
|
41
|
+
msgid "Image"
|
42
|
+
msgstr "影像"
|
43
|
+
|
44
|
+
msgid "Import Puppet classes"
|
45
|
+
msgstr "匯入 Puppet 類別"
|
46
|
+
|
47
|
+
msgid "Import facts"
|
48
|
+
msgstr "匯入詳情"
|
49
|
+
|
50
|
+
msgid "JSON key"
|
51
|
+
msgstr ""
|
52
|
+
|
53
|
+
msgid "Load Zones"
|
54
|
+
msgstr ""
|
55
|
+
|
56
|
+
msgid "Machine Type"
|
57
|
+
msgstr "機器類型"
|
58
|
+
|
59
|
+
msgid "Machine type"
|
60
|
+
msgstr "機器類型"
|
61
|
+
|
62
|
+
msgid "Missing an image for operating system!"
|
63
|
+
msgstr ""
|
64
|
+
|
65
|
+
msgid "Name"
|
66
|
+
msgstr "名稱"
|
67
|
+
|
68
|
+
msgid "Network"
|
69
|
+
msgstr "網路"
|
70
|
+
|
71
|
+
msgid "Please select an image"
|
72
|
+
msgstr "請選擇一個映像檔"
|
73
|
+
|
74
|
+
msgid "Preupgrade job"
|
75
|
+
msgstr ""
|
76
|
+
|
77
|
+
msgid "Properties"
|
78
|
+
msgstr "屬性"
|
79
|
+
|
80
|
+
msgid "Remote action:"
|
81
|
+
msgstr "遠端動作:"
|
82
|
+
|
83
|
+
msgid "Size (GB)"
|
84
|
+
msgstr "大小(GB)"
|
85
|
+
|
86
|
+
msgid "State"
|
87
|
+
msgstr "狀態"
|
88
|
+
|
89
|
+
msgid "The user that is used to ssh into the instance, normally cloud-user, ec2-user, ubuntu, etc. Note: Google engine doesn't support SSH for the root user."
|
90
|
+
msgstr ""
|
91
|
+
|
92
|
+
msgid "Type"
|
93
|
+
msgstr "類型"
|
94
|
+
|
95
|
+
msgid "Zone"
|
96
|
+
msgstr "區域"
|
97
|
+
|
98
|
+
msgid "console is not available at this time because the instance is powered off"
|
99
|
+
msgstr ""
|
@@ -6,21 +6,6 @@ module ForemanGoogle
|
|
6
6
|
class GoogleComputeAdapterTest < GoogleTestCase
|
7
7
|
subject { ForemanGoogle::GoogleComputeAdapter.new(auth_json_string: gauth_json) }
|
8
8
|
|
9
|
-
describe 'authentication' do
|
10
|
-
it 'passes the auth json to the service client' do
|
11
|
-
credentials = stub(client: stub(apply: { authorization: "Bearer #{google_access_token}" }))
|
12
|
-
::Google::Cloud::Compute::V1::Zones::Credentials.expects(:new).with(JSON.parse(gauth_json), has_key(:scope)).returns(credentials)
|
13
|
-
stub_request(:get, 'https://compute.googleapis.com/compute/v1/projects/coastal-haven-123456/zones')
|
14
|
-
.to_return(body: '{
|
15
|
-
"id": "projects/coastal-haven-123456/zones",
|
16
|
-
"items": [],
|
17
|
-
"selfLink": "https://www.googleapis.com/compute/v1/projects/coastal-haven-123456/zones",
|
18
|
-
"kind": "compute#zoneList"
|
19
|
-
}')
|
20
|
-
subject.zones
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
9
|
describe '#instance' do
|
25
10
|
setup do
|
26
11
|
stub_request(:get, 'https://compute.googleapis.com/compute/v1/projects/coastal-haven-123456/zones/us-east1-b/instances/instance-1')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_google
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Foreman Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-compute_v1
|
@@ -62,7 +62,9 @@ files:
|
|
62
62
|
- LICENSE
|
63
63
|
- README.md
|
64
64
|
- Rakefile
|
65
|
-
- app/controllers/concerns/
|
65
|
+
- app/controllers/concerns/foreman/controller/parameters/compute_resource_extension.rb
|
66
|
+
- app/controllers/foreman_google/api/v2/apipie_extensions.rb
|
67
|
+
- app/controllers/foreman_google/api/v2/compute_resources_extensions.rb
|
66
68
|
- app/lib/foreman_google/google_compute_adapter.rb
|
67
69
|
- app/lib/google_cloud_compute/compute_attributes.rb
|
68
70
|
- app/lib/google_cloud_compute/compute_collection.rb
|
@@ -85,11 +87,42 @@ files:
|
|
85
87
|
- lib/tasks/foreman_google_tasks.rake
|
86
88
|
- locale/Makefile
|
87
89
|
- locale/action_names.rb
|
90
|
+
- locale/cs_CZ/LC_MESSAGES/foreman_google.mo
|
91
|
+
- locale/cs_CZ/foreman_google.po
|
92
|
+
- locale/de/LC_MESSAGES/foreman_google.mo
|
93
|
+
- locale/de/foreman_google.po
|
94
|
+
- locale/el/LC_MESSAGES/foreman_google.mo
|
95
|
+
- locale/el/foreman_google.po
|
96
|
+
- locale/en/LC_MESSAGES/foreman_google.mo
|
88
97
|
- locale/en/foreman_google.edit.po
|
89
98
|
- locale/en/foreman_google.po
|
90
99
|
- locale/en/foreman_google.po.time_stamp
|
100
|
+
- locale/es/LC_MESSAGES/foreman_google.mo
|
101
|
+
- locale/es/foreman_google.po
|
91
102
|
- locale/foreman_google.pot
|
103
|
+
- locale/fr/LC_MESSAGES/foreman_google.mo
|
104
|
+
- locale/fr/foreman_google.po
|
92
105
|
- locale/gemspec.rb
|
106
|
+
- locale/it/LC_MESSAGES/foreman_google.mo
|
107
|
+
- locale/it/foreman_google.po
|
108
|
+
- locale/ja/LC_MESSAGES/foreman_google.mo
|
109
|
+
- locale/ja/foreman_google.po
|
110
|
+
- locale/ka/LC_MESSAGES/foreman_google.mo
|
111
|
+
- locale/ka/foreman_google.po
|
112
|
+
- locale/ko/LC_MESSAGES/foreman_google.mo
|
113
|
+
- locale/ko/foreman_google.po
|
114
|
+
- locale/pl/LC_MESSAGES/foreman_google.mo
|
115
|
+
- locale/pl/foreman_google.po
|
116
|
+
- locale/pt_BR/LC_MESSAGES/foreman_google.mo
|
117
|
+
- locale/pt_BR/foreman_google.po
|
118
|
+
- locale/ru/LC_MESSAGES/foreman_google.mo
|
119
|
+
- locale/ru/foreman_google.po
|
120
|
+
- locale/sv_SE/LC_MESSAGES/foreman_google.mo
|
121
|
+
- locale/sv_SE/foreman_google.po
|
122
|
+
- locale/zh_CN/LC_MESSAGES/foreman_google.mo
|
123
|
+
- locale/zh_CN/foreman_google.po
|
124
|
+
- locale/zh_TW/LC_MESSAGES/foreman_google.mo
|
125
|
+
- locale/zh_TW/foreman_google.po
|
93
126
|
- package.json
|
94
127
|
- test/factories/gce.rb
|
95
128
|
- test/fixtures/disks_delete.json
|
@@ -144,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
177
|
- !ruby/object:Gem::Version
|
145
178
|
version: '0'
|
146
179
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
180
|
+
rubygems_version: 3.3.26
|
148
181
|
signing_key:
|
149
182
|
specification_version: 4
|
150
183
|
summary: Google Compute Engine plugin for the Foreman
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module ForemanGoogle
|
2
|
-
# This module prepends core paths so view for gce takes precedence over core ones
|
3
|
-
# This module NEEDS to get deleted once the core support for gce is dropped.
|
4
|
-
# or this plugin is merged to core
|
5
|
-
module TemporaryPrependPath
|
6
|
-
extend ActiveSupport::Concern
|
7
|
-
|
8
|
-
included do
|
9
|
-
before_action :prepare_views
|
10
|
-
end
|
11
|
-
|
12
|
-
def prepare_views
|
13
|
-
prepend_view_path ForemanGoogle::Engine.root.join('app', 'views')
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|