foreman_puppet 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_puppet/engine.rb +1 -0
- data/lib/foreman_puppet/version.rb +1 -1
- data/webpack/src/Extends/Host/PuppetTab/Routes.js +11 -12
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js +11 -8
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/EmptyPage.js +7 -6
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/DescriptionCard.js +23 -6
- data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/index.js +6 -1
- metadata +49 -87
- data/locale/ca/foreman_puppet.edit.po +0 -1221
- data/locale/ca/foreman_puppet.po.time_stamp +0 -0
- data/locale/cs_CZ/foreman_puppet.edit.po +0 -1208
- data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
- data/locale/de/foreman_puppet.edit.po +0 -1300
- data/locale/de/foreman_puppet.po.time_stamp +0 -0
- data/locale/en/foreman_puppet.edit.po +0 -998
- data/locale/en/foreman_puppet.po.time_stamp +0 -0
- data/locale/en/foreman_puppet.pox +0 -0
- data/locale/en_GB/foreman_puppet.edit.po +0 -1197
- data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
- data/locale/es/foreman_puppet.edit.po +0 -1275
- data/locale/es/foreman_puppet.po.time_stamp +0 -0
- data/locale/fr/foreman_puppet.edit.po +0 -1290
- data/locale/fr/foreman_puppet.po.time_stamp +0 -0
- data/locale/gl/foreman_puppet.edit.po +0 -1203
- data/locale/gl/foreman_puppet.po.time_stamp +0 -0
- data/locale/it/foreman_puppet.edit.po +0 -1233
- data/locale/it/foreman_puppet.po.time_stamp +0 -0
- data/locale/ja/foreman_puppet.edit.po +0 -1223
- data/locale/ja/foreman_puppet.po.time_stamp +0 -0
- data/locale/ko/foreman_puppet.edit.po +0 -1197
- data/locale/ko/foreman_puppet.po.time_stamp +0 -0
- data/locale/messages.mo +0 -0
- data/locale/nl_NL/foreman_puppet.edit.po +0 -1228
- data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
- data/locale/pl/foreman_puppet.edit.po +0 -1238
- data/locale/pl/foreman_puppet.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_puppet.edit.po +0 -1281
- data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
- data/locale/ru/foreman_puppet.edit.po +0 -1240
- data/locale/ru/foreman_puppet.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_puppet.edit.po +0 -1205
- data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_puppet.edit.po +0 -1212
- data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_puppet.edit.po +0 -1197
- data/locale/zh_TW/foreman_puppet.po.time_stamp +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4345e5b4481b1263e0d9a6af568f6d899288fb6e25843dbc0bb5cabf86b5b9
|
4
|
+
data.tar.gz: 61e41f2886a32d9b73b42513b69d1eb5f0ba28b3151a68c0be21a14b62ca039f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae6266081bbf344be643d88bbd57dfa2a8028f897dee6df45d6e08d5c7bddc451cae45b49759c484d8561a84fd8d96b35636fc5aa4165df49193e5b17d65edc8
|
7
|
+
data.tar.gz: 829314db4098020a1471276f94f6f1e8bc3421f7f3c1af3d5d08228f4ac811e999c5ce48bade42871a86775f9e630f40e991044a4411a07fb343a9ed8f9a2811
|
@@ -58,6 +58,7 @@ module ForemanPuppet
|
|
58
58
|
::Api::V2::TemplateCombinationsController.include ForemanPuppet::Extensions::ApiTemplateCombinationsController
|
59
59
|
::Api::V2::HostsController.include ForemanPuppet::Extensions::ParametersHost
|
60
60
|
::Api::V2::HostgroupsController.include ForemanPuppet::Extensions::ParametersHostgroup
|
61
|
+
::ComputeResourcesVmsController.helper ForemanPuppet::HostsAndHostgroupsHelper
|
61
62
|
::OperatingsystemsController.prepend ForemanPuppet::Extensions::OperatingsystemsController
|
62
63
|
::HostsController.include ForemanPuppet::Extensions::HostsControllerExtensions
|
63
64
|
::HostsController.include ForemanPuppet::Extensions::ParametersHost
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import PropTypes from 'prop-types';
|
2
2
|
import React from 'react';
|
3
3
|
import { Route, Switch, Redirect } from 'react-router-dom';
|
4
|
+
import { translate as __ } from 'foremanReact/common/I18n';
|
4
5
|
import { route } from './helpers';
|
5
6
|
import EmptyPage from './SubTabs/EmptyPage';
|
6
7
|
import Reports from './SubTabs/Reports';
|
@@ -9,24 +10,22 @@ import ENCPreview from './SubTabs/ENCPreview';
|
|
9
10
|
const SecondaryTabRoutes = ({ hostName, hostInfo, status }) => (
|
10
11
|
<Switch>
|
11
12
|
<Route path={route('reports')}>
|
12
|
-
{hostName
|
13
|
-
<Reports hostName={hostName} hostInfo={hostInfo} status={status} />
|
14
|
-
) : (
|
15
|
-
<EmptyPage header="Reports" />
|
16
|
-
)}
|
13
|
+
<Reports hostName={hostName} hostInfo={hostInfo} status={status} />
|
17
14
|
</Route>
|
18
15
|
<Route path={route('assigned')}>
|
19
|
-
<EmptyPage
|
16
|
+
<EmptyPage
|
17
|
+
header={__('Assigned classes')}
|
18
|
+
description={__('This tab is still a work in progress')}
|
19
|
+
/>
|
20
20
|
</Route>
|
21
21
|
<Route path={route('smart-classes')}>
|
22
|
-
<EmptyPage
|
22
|
+
<EmptyPage
|
23
|
+
header={__('Smart class parameters')}
|
24
|
+
description={__('This tab is still a work in progress')}
|
25
|
+
/>
|
23
26
|
</Route>
|
24
27
|
<Route path={route('yaml')}>
|
25
|
-
{hostName
|
26
|
-
<ENCPreview hostName={hostName} />
|
27
|
-
) : (
|
28
|
-
<EmptyPage header="ENC Preview" />
|
29
|
-
)}
|
28
|
+
<ENCPreview hostName={hostName} />
|
30
29
|
</Route>
|
31
30
|
<Redirect to={route('reports')} />
|
32
31
|
</Switch>
|
@@ -23,21 +23,20 @@ const ENCPreview = ({ hostName }) => {
|
|
23
23
|
return <Skeleton count={5} />;
|
24
24
|
}
|
25
25
|
|
26
|
-
if (status === STATUS.ERROR) {
|
26
|
+
if (status === STATUS.ERROR || !hostName) {
|
27
|
+
const description = !hostName
|
28
|
+
? __("Couldn't find any ENC data for this host")
|
29
|
+
: response?.response?.data?.message;
|
27
30
|
const icon = (
|
28
31
|
<EmptyStateIcon icon={ExclamationCircleIcon} color={dangerColor.value} />
|
29
32
|
);
|
30
33
|
return (
|
31
|
-
<EmptyState
|
32
|
-
header={__('Error!')}
|
33
|
-
icon={icon}
|
34
|
-
description={response?.response?.data?.message}
|
35
|
-
/>
|
34
|
+
<EmptyState header={__('Error!')} icon={icon} description={description} />
|
36
35
|
);
|
37
36
|
}
|
38
37
|
if (response !== '' || response !== undefined) {
|
39
38
|
return (
|
40
|
-
<div className="
|
39
|
+
<div className="enc-preview-tab" padding="16px 24px">
|
41
40
|
<ENCTab encData={response} />
|
42
41
|
</div>
|
43
42
|
);
|
@@ -47,7 +46,11 @@ const ENCPreview = ({ hostName }) => {
|
|
47
46
|
};
|
48
47
|
|
49
48
|
ENCPreview.propTypes = {
|
50
|
-
hostName: PropTypes.string
|
49
|
+
hostName: PropTypes.string,
|
50
|
+
};
|
51
|
+
|
52
|
+
ENCPreview.defaultProps = {
|
53
|
+
hostName: undefined,
|
51
54
|
};
|
52
55
|
|
53
56
|
export default ENCPreview;
|
@@ -2,18 +2,19 @@ import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import PFEmptyPage from 'foremanReact/components/common/EmptyState/EmptyStatePattern';
|
4
4
|
|
5
|
-
const EmptyPage = ({ header }) => (
|
5
|
+
const EmptyPage = ({ header, description }) => (
|
6
6
|
<div className="host-details-tab-item">
|
7
|
-
<PFEmptyPage
|
8
|
-
icon="enterprise"
|
9
|
-
header={header}
|
10
|
-
description="This is a demo for adding content to the new host page"
|
11
|
-
/>
|
7
|
+
<PFEmptyPage icon="enterprise" header={header} description={description} />
|
12
8
|
</div>
|
13
9
|
);
|
14
10
|
|
15
11
|
EmptyPage.propTypes = {
|
16
12
|
header: PropTypes.string.isRequired,
|
13
|
+
description: PropTypes.string,
|
14
|
+
};
|
15
|
+
|
16
|
+
EmptyPage.defaultProps = {
|
17
|
+
description: null,
|
17
18
|
};
|
18
19
|
|
19
20
|
export default EmptyPage;
|
@@ -12,7 +12,14 @@ import DefaultLoaderEmptyState from 'foremanReact/components/HostDetails/Details
|
|
12
12
|
import { STATUS } from 'foremanReact/constants';
|
13
13
|
import { translate as __ } from 'foremanReact/common/I18n';
|
14
14
|
|
15
|
-
const DescriptionCard = ({
|
15
|
+
const DescriptionCard = ({
|
16
|
+
proxyName,
|
17
|
+
caProxy,
|
18
|
+
proxyId,
|
19
|
+
caProxyId,
|
20
|
+
env,
|
21
|
+
status,
|
22
|
+
}) => (
|
16
23
|
<CardTemplate header={__('Puppet details')} expandable>
|
17
24
|
<DescriptionList isCompact>
|
18
25
|
<DescriptionListGroup>
|
@@ -23,30 +30,36 @@ const DescriptionCard = ({ proxyName, caProxy, env, status }) => (
|
|
23
30
|
status={status}
|
24
31
|
>
|
25
32
|
{env && (
|
26
|
-
<a href={`/foreman_puppet/environments
|
33
|
+
<a href={`/foreman_puppet/environments/?search=name+%3D+${env}`}>
|
34
|
+
{env}
|
35
|
+
</a>
|
27
36
|
)}
|
28
37
|
</SkeletonLoader>
|
29
38
|
</DescriptionListDescription>
|
30
39
|
</DescriptionListGroup>
|
31
40
|
<DescriptionListGroup>
|
32
|
-
<DescriptionListTerm>{__('Puppet
|
41
|
+
<DescriptionListTerm>{__('Puppet Smart Proxy')}</DescriptionListTerm>
|
33
42
|
<DescriptionListDescription>
|
34
43
|
<SkeletonLoader
|
35
44
|
emptyState={<DefaultLoaderEmptyState />}
|
36
45
|
status={status}
|
37
46
|
>
|
38
|
-
{proxyName
|
47
|
+
{proxyName && (
|
48
|
+
<a href={`/smart_proxies/${proxyId}#puppet`}>{proxyName}</a>
|
49
|
+
)}
|
39
50
|
</SkeletonLoader>
|
40
51
|
</DescriptionListDescription>
|
41
52
|
</DescriptionListGroup>
|
42
53
|
<DescriptionListGroup>
|
43
|
-
<DescriptionListTerm>{__('Puppet
|
54
|
+
<DescriptionListTerm>{__('Puppet CA Smart Proxy')}</DescriptionListTerm>
|
44
55
|
<DescriptionListDescription>
|
45
56
|
<SkeletonLoader
|
46
57
|
emptyState={<DefaultLoaderEmptyState />}
|
47
58
|
status={status}
|
48
59
|
>
|
49
|
-
{caProxy
|
60
|
+
{caProxy && (
|
61
|
+
<a href={`/smart_proxies/${caProxyId}#puppet-ca`}>{caProxy}</a>
|
62
|
+
)}
|
50
63
|
</SkeletonLoader>
|
51
64
|
</DescriptionListDescription>
|
52
65
|
</DescriptionListGroup>
|
@@ -56,14 +69,18 @@ const DescriptionCard = ({ proxyName, caProxy, env, status }) => (
|
|
56
69
|
|
57
70
|
DescriptionCard.propTypes = {
|
58
71
|
caProxy: PropTypes.string,
|
72
|
+
caProxyId: PropTypes.number,
|
59
73
|
env: PropTypes.string,
|
74
|
+
proxyId: PropTypes.number,
|
60
75
|
proxyName: PropTypes.string,
|
61
76
|
status: PropTypes.string,
|
62
77
|
};
|
63
78
|
|
64
79
|
DescriptionCard.defaultProps = {
|
65
80
|
caProxy: undefined,
|
81
|
+
caProxyId: undefined,
|
66
82
|
env: undefined,
|
83
|
+
proxyId: undefined,
|
67
84
|
proxyName: undefined,
|
68
85
|
status: STATUS.PENDING,
|
69
86
|
};
|
@@ -12,6 +12,8 @@ const Reports = ({
|
|
12
12
|
puppet_proxy_name: proxyName,
|
13
13
|
puppet_ca_proxy_name: caProxy,
|
14
14
|
environment_name: env,
|
15
|
+
puppet_proxy_id: proxyId,
|
16
|
+
puppet_ca_proxy_id: caProxyId,
|
15
17
|
},
|
16
18
|
}) => (
|
17
19
|
<div className="report-tab">
|
@@ -20,6 +22,8 @@ const Reports = ({
|
|
20
22
|
<DescriptionCard
|
21
23
|
proxyName={proxyName}
|
22
24
|
caProxy={caProxy}
|
25
|
+
proxyId={proxyId}
|
26
|
+
caProxyId={caProxyId}
|
23
27
|
env={env}
|
24
28
|
status={status}
|
25
29
|
/>
|
@@ -32,12 +36,13 @@ const Reports = ({
|
|
32
36
|
);
|
33
37
|
|
34
38
|
Reports.propTypes = {
|
35
|
-
hostName: PropTypes.string
|
39
|
+
hostName: PropTypes.string,
|
36
40
|
hostInfo: PropTypes.object,
|
37
41
|
status: PropTypes.string,
|
38
42
|
};
|
39
43
|
|
40
44
|
Reports.defaultProps = {
|
45
|
+
hostName: undefined,
|
41
46
|
hostInfo: {},
|
42
47
|
status: undefined,
|
43
48
|
};
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Allow assigning Puppet environments and classes to the Foreman Hosts.
|
15
15
|
email:
|
@@ -218,81 +218,43 @@ files:
|
|
218
218
|
- locale/Makefile
|
219
219
|
- locale/action_names.rb
|
220
220
|
- locale/ca/LC_MESSAGES/foreman_puppet.mo
|
221
|
-
- locale/ca/foreman_puppet.edit.po
|
222
221
|
- locale/ca/foreman_puppet.po
|
223
|
-
- locale/ca/foreman_puppet.po.time_stamp
|
224
222
|
- locale/cs_CZ/LC_MESSAGES/foreman_puppet.mo
|
225
|
-
- locale/cs_CZ/foreman_puppet.edit.po
|
226
223
|
- locale/cs_CZ/foreman_puppet.po
|
227
|
-
- locale/cs_CZ/foreman_puppet.po.time_stamp
|
228
224
|
- locale/de/LC_MESSAGES/foreman_puppet.mo
|
229
|
-
- locale/de/foreman_puppet.edit.po
|
230
225
|
- locale/de/foreman_puppet.po
|
231
|
-
- locale/de/foreman_puppet.po.time_stamp
|
232
226
|
- locale/en/LC_MESSAGES/foreman_puppet.mo
|
233
|
-
- locale/en/foreman_puppet.edit.po
|
234
227
|
- locale/en/foreman_puppet.po
|
235
|
-
- locale/en/foreman_puppet.po.time_stamp
|
236
|
-
- locale/en/foreman_puppet.pox
|
237
228
|
- locale/en_GB/LC_MESSAGES/foreman_puppet.mo
|
238
|
-
- locale/en_GB/foreman_puppet.edit.po
|
239
229
|
- locale/en_GB/foreman_puppet.po
|
240
|
-
- locale/en_GB/foreman_puppet.po.time_stamp
|
241
230
|
- locale/es/LC_MESSAGES/foreman_puppet.mo
|
242
|
-
- locale/es/foreman_puppet.edit.po
|
243
231
|
- locale/es/foreman_puppet.po
|
244
|
-
- locale/es/foreman_puppet.po.time_stamp
|
245
232
|
- locale/foreman_puppet.pot
|
246
233
|
- locale/fr/LC_MESSAGES/foreman_puppet.mo
|
247
|
-
- locale/fr/foreman_puppet.edit.po
|
248
234
|
- locale/fr/foreman_puppet.po
|
249
|
-
- locale/fr/foreman_puppet.po.time_stamp
|
250
235
|
- locale/gemspec.rb
|
251
236
|
- locale/gl/LC_MESSAGES/foreman_puppet.mo
|
252
|
-
- locale/gl/foreman_puppet.edit.po
|
253
237
|
- locale/gl/foreman_puppet.po
|
254
|
-
- locale/gl/foreman_puppet.po.time_stamp
|
255
238
|
- locale/it/LC_MESSAGES/foreman_puppet.mo
|
256
|
-
- locale/it/foreman_puppet.edit.po
|
257
239
|
- locale/it/foreman_puppet.po
|
258
|
-
- locale/it/foreman_puppet.po.time_stamp
|
259
240
|
- locale/ja/LC_MESSAGES/foreman_puppet.mo
|
260
|
-
- locale/ja/foreman_puppet.edit.po
|
261
241
|
- locale/ja/foreman_puppet.po
|
262
|
-
- locale/ja/foreman_puppet.po.time_stamp
|
263
242
|
- locale/ko/LC_MESSAGES/foreman_puppet.mo
|
264
|
-
- locale/ko/foreman_puppet.edit.po
|
265
243
|
- locale/ko/foreman_puppet.po
|
266
|
-
- locale/ko/foreman_puppet.po.time_stamp
|
267
|
-
- locale/messages.mo
|
268
244
|
- locale/nl_NL/LC_MESSAGES/foreman_puppet.mo
|
269
|
-
- locale/nl_NL/foreman_puppet.edit.po
|
270
245
|
- locale/nl_NL/foreman_puppet.po
|
271
|
-
- locale/nl_NL/foreman_puppet.po.time_stamp
|
272
246
|
- locale/pl/LC_MESSAGES/foreman_puppet.mo
|
273
|
-
- locale/pl/foreman_puppet.edit.po
|
274
247
|
- locale/pl/foreman_puppet.po
|
275
|
-
- locale/pl/foreman_puppet.po.time_stamp
|
276
248
|
- locale/pt_BR/LC_MESSAGES/foreman_puppet.mo
|
277
|
-
- locale/pt_BR/foreman_puppet.edit.po
|
278
249
|
- locale/pt_BR/foreman_puppet.po
|
279
|
-
- locale/pt_BR/foreman_puppet.po.time_stamp
|
280
250
|
- locale/ru/LC_MESSAGES/foreman_puppet.mo
|
281
|
-
- locale/ru/foreman_puppet.edit.po
|
282
251
|
- locale/ru/foreman_puppet.po
|
283
|
-
- locale/ru/foreman_puppet.po.time_stamp
|
284
252
|
- locale/sv_SE/LC_MESSAGES/foreman_puppet.mo
|
285
|
-
- locale/sv_SE/foreman_puppet.edit.po
|
286
253
|
- locale/sv_SE/foreman_puppet.po
|
287
|
-
- locale/sv_SE/foreman_puppet.po.time_stamp
|
288
254
|
- locale/zh_CN/LC_MESSAGES/foreman_puppet.mo
|
289
|
-
- locale/zh_CN/foreman_puppet.edit.po
|
290
255
|
- locale/zh_CN/foreman_puppet.po
|
291
|
-
- locale/zh_CN/foreman_puppet.po.time_stamp
|
292
256
|
- locale/zh_TW/LC_MESSAGES/foreman_puppet.mo
|
293
|
-
- locale/zh_TW/foreman_puppet.edit.po
|
294
257
|
- locale/zh_TW/foreman_puppet.po
|
295
|
-
- locale/zh_TW/foreman_puppet.po.time_stamp
|
296
258
|
- package.json
|
297
259
|
- test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
|
298
260
|
- test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
|
@@ -418,70 +380,70 @@ signing_key:
|
|
418
380
|
specification_version: 4
|
419
381
|
summary: Add Puppet features to Foreman
|
420
382
|
test_files:
|
421
|
-
- test/
|
422
|
-
- test/unit/foreman_puppet/puppet_class_importer_test.rb
|
423
|
-
- test/unit/foreman_puppet/template_rendering_test.rb
|
424
|
-
- test/unit/foreman_puppet/access_permissions_test.rb
|
425
|
-
- test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
|
426
|
-
- test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
|
427
|
-
- test/helpers/foreman_puppet/puppetclasses_helper_test.rb
|
428
|
-
- test/integration/foreman_puppet/dashboard_js_test.rb
|
429
|
-
- test/integration/foreman_puppet/host_js_test.rb
|
430
|
-
- test/integration/foreman_puppet/hostgroup_js_test.rb
|
431
|
-
- test/integration/foreman_puppet/smartclass_parameter_js_test.rb
|
432
|
-
- test/integration/foreman_puppet/puppetclass_js_test.rb
|
433
|
-
- test/integration/foreman_puppet/environment_js_test.rb
|
434
|
-
- test/factories/foreman_puppet_factories.rb
|
435
|
-
- test/factories/host_puppet_enhancements.rb
|
436
|
-
- test/factories/proxy_puppet_enhancements.rb
|
437
|
-
- test/integration_puppet_helper.rb
|
438
|
-
- test/models/foreman_puppet/config_group_test.rb
|
383
|
+
- test/test_puppet_helper.rb
|
439
384
|
- test/models/foreman_puppet/report_test.rb
|
440
|
-
- test/models/foreman_puppet/host_puppet_facet_test.rb
|
441
385
|
- test/models/foreman_puppet/host_test.rb
|
386
|
+
- test/models/foreman_puppet/smart_proxy_test.rb
|
442
387
|
- test/models/foreman_puppet/user_test.rb
|
443
|
-
- test/models/foreman_puppet/
|
388
|
+
- test/models/foreman_puppet/config_group_class_test.rb
|
389
|
+
- test/models/foreman_puppet/config_group_test.rb
|
390
|
+
- test/models/foreman_puppet/host_puppet_facet_test.rb
|
444
391
|
- test/models/foreman_puppet/host_config_group_test.rb
|
392
|
+
- test/models/foreman_puppet/puppetclass_test.rb
|
393
|
+
- test/models/foreman_puppet/provisioning_template_test.rb
|
445
394
|
- test/models/foreman_puppet/lookup_value_test.rb
|
446
|
-
- test/models/foreman_puppet/hostgroup_test.rb
|
447
|
-
- test/models/foreman_puppet/hostgroup_puppet_facet_test.rb
|
448
395
|
- test/models/foreman_puppet/puppetclass_lookup_key_test.rb
|
396
|
+
- test/models/foreman_puppet/hostgroup_puppet_facet_test.rb
|
449
397
|
- test/models/foreman_puppet/environment_test.rb
|
450
|
-
- test/models/foreman_puppet/
|
451
|
-
- test/
|
452
|
-
- test/
|
453
|
-
- test/
|
454
|
-
- test/
|
398
|
+
- test/models/foreman_puppet/hostgroup_test.rb
|
399
|
+
- test/services/foreman_puppet/host_counter_test.rb
|
400
|
+
- test/services/foreman_puppet/host_info_providers/config_groups_info_test.rb
|
401
|
+
- test/services/foreman_puppet/host_info_providers/puppet_info_test.rb
|
402
|
+
- test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
|
403
|
+
- test/factories/foreman_puppet_factories.rb
|
404
|
+
- test/factories/host_puppet_enhancements.rb
|
405
|
+
- test/factories/proxy_puppet_enhancements.rb
|
406
|
+
- test/unit/foreman_puppet/access_permissions_test.rb
|
407
|
+
- test/unit/foreman_puppet/template_rendering_test.rb
|
408
|
+
- test/unit/foreman_puppet/puppet_class_importer_test.rb
|
409
|
+
- test/unit/foreman_puppet_test.rb
|
410
|
+
- test/graphql/mutations/hosts/create_mutation_test.rb
|
411
|
+
- test/graphql/queries/environments_query_test.rb
|
455
412
|
- test/graphql/queries/location_query_test.rb
|
413
|
+
- test/graphql/queries/puppetclass_query_test.rb
|
456
414
|
- test/graphql/queries/organization_query_test.rb
|
457
|
-
- test/graphql/queries/puppetclasses_query_test.rb
|
458
|
-
- test/graphql/queries/environment_query_test.rb
|
459
|
-
- test/graphql/queries/environments_query_test.rb
|
460
415
|
- test/graphql/queries/host_puppet_query_test.rb
|
461
|
-
- test/graphql/
|
462
|
-
- test/
|
463
|
-
- test/
|
416
|
+
- test/graphql/queries/environment_query_test.rb
|
417
|
+
- test/graphql/queries/puppetclasses_query_test.rb
|
418
|
+
- test/graphql/queries/hostgroup_puppet_query_test.rb
|
464
419
|
- test/controllers/foreman_puppet/hostgroups_controller_test.rb
|
420
|
+
- test/controllers/foreman_puppet/config_groups_controller_test.rb
|
465
421
|
- test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
|
466
422
|
- test/controllers/foreman_puppet/environments_controller_test.rb
|
467
423
|
- test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
|
468
424
|
- test/controllers/foreman_puppet/hosts_controller_test.rb
|
469
|
-
- test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
|
470
|
-
- test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
|
471
|
-
- test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
|
472
425
|
- test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb
|
473
|
-
- test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
|
474
|
-
- test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
|
475
|
-
- test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
|
476
|
-
- test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
|
477
|
-
- test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
|
478
|
-
- test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
|
479
426
|
- test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
|
480
427
|
- test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
|
428
|
+
- test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
|
429
|
+
- test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
|
430
|
+
- test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
|
431
|
+
- test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
|
432
|
+
- test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
|
481
433
|
- test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
|
434
|
+
- test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
|
435
|
+
- test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
|
436
|
+
- test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
|
437
|
+
- test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
|
482
438
|
- test/controllers/foreman_puppet/puppetclasses_controller_test.rb
|
483
|
-
- test/controllers/
|
484
|
-
- test/
|
485
|
-
- test/
|
486
|
-
- test/
|
487
|
-
- test/
|
439
|
+
- test/controllers/provisioning_templates_controller_test.rb
|
440
|
+
- test/integration/foreman_puppet/puppetclass_js_test.rb
|
441
|
+
- test/integration/foreman_puppet/host_js_test.rb
|
442
|
+
- test/integration/foreman_puppet/environment_js_test.rb
|
443
|
+
- test/integration/foreman_puppet/dashboard_js_test.rb
|
444
|
+
- test/integration/foreman_puppet/smartclass_parameter_js_test.rb
|
445
|
+
- test/integration/foreman_puppet/hostgroup_js_test.rb
|
446
|
+
- test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
|
447
|
+
- test/helpers/foreman_puppet/puppetclasses_helper_test.rb
|
448
|
+
- test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
|
449
|
+
- test/integration_puppet_helper.rb
|