foreman_puppet 4.0.1 → 4.0.4

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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/db/migrate/20220208135305_migrate_environment_ignore_type.foreman_puppet.rb +2 -1
  3. data/lib/foreman_puppet/engine.rb +1 -0
  4. data/lib/foreman_puppet/version.rb +1 -1
  5. data/webpack/src/Extends/Host/PuppetTab/Routes.js +11 -12
  6. data/webpack/src/Extends/Host/PuppetTab/SubTabs/ENCPreview/index.js +11 -8
  7. data/webpack/src/Extends/Host/PuppetTab/SubTabs/EmptyPage.js +7 -6
  8. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/components/DescriptionCard.js +83 -42
  9. data/webpack/src/Extends/Host/PuppetTab/SubTabs/Reports/index.js +6 -1
  10. metadata +58 -96
  11. data/locale/ca/foreman_puppet.edit.po +0 -1221
  12. data/locale/ca/foreman_puppet.po.time_stamp +0 -0
  13. data/locale/cs_CZ/foreman_puppet.edit.po +0 -1208
  14. data/locale/cs_CZ/foreman_puppet.po.time_stamp +0 -0
  15. data/locale/de/foreman_puppet.edit.po +0 -1300
  16. data/locale/de/foreman_puppet.po.time_stamp +0 -0
  17. data/locale/en/foreman_puppet.edit.po +0 -998
  18. data/locale/en/foreman_puppet.po.time_stamp +0 -0
  19. data/locale/en/foreman_puppet.pox +0 -0
  20. data/locale/en_GB/foreman_puppet.edit.po +0 -1197
  21. data/locale/en_GB/foreman_puppet.po.time_stamp +0 -0
  22. data/locale/es/foreman_puppet.edit.po +0 -1275
  23. data/locale/es/foreman_puppet.po.time_stamp +0 -0
  24. data/locale/fr/foreman_puppet.edit.po +0 -1290
  25. data/locale/fr/foreman_puppet.po.time_stamp +0 -0
  26. data/locale/gl/foreman_puppet.edit.po +0 -1203
  27. data/locale/gl/foreman_puppet.po.time_stamp +0 -0
  28. data/locale/it/foreman_puppet.edit.po +0 -1233
  29. data/locale/it/foreman_puppet.po.time_stamp +0 -0
  30. data/locale/ja/foreman_puppet.edit.po +0 -1223
  31. data/locale/ja/foreman_puppet.po.time_stamp +0 -0
  32. data/locale/ko/foreman_puppet.edit.po +0 -1197
  33. data/locale/ko/foreman_puppet.po.time_stamp +0 -0
  34. data/locale/messages.mo +0 -0
  35. data/locale/nl_NL/foreman_puppet.edit.po +0 -1228
  36. data/locale/nl_NL/foreman_puppet.po.time_stamp +0 -0
  37. data/locale/pl/foreman_puppet.edit.po +0 -1238
  38. data/locale/pl/foreman_puppet.po.time_stamp +0 -0
  39. data/locale/pt_BR/foreman_puppet.edit.po +0 -1281
  40. data/locale/pt_BR/foreman_puppet.po.time_stamp +0 -0
  41. data/locale/ru/foreman_puppet.edit.po +0 -1240
  42. data/locale/ru/foreman_puppet.po.time_stamp +0 -0
  43. data/locale/sv_SE/foreman_puppet.edit.po +0 -1205
  44. data/locale/sv_SE/foreman_puppet.po.time_stamp +0 -0
  45. data/locale/zh_CN/foreman_puppet.edit.po +0 -1212
  46. data/locale/zh_CN/foreman_puppet.po.time_stamp +0 -0
  47. data/locale/zh_TW/foreman_puppet.edit.po +0 -1197
  48. 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: f9b85d7949eb3fc600be28a75d652d3945cb37f41e1f78d3f9ea607ce58f54e8
4
- data.tar.gz: '087e0a820caf4656d82c687c39696fb08fdc1fecca8cf305a8d78d3cbda50137'
3
+ metadata.gz: 314d7d6b144722c190425f83640ed9c147703933d8a393c111340625331bc690
4
+ data.tar.gz: 42b53c1aab258f5a421e66ff1709ff9eaf2fdf5f463954d1eee50a7c9f195c8f
5
5
  SHA512:
6
- metadata.gz: '078f8509685aef37991c64e86aa3578e63ba03adf5d26c9d825de30954450895768101944fcb6e2328e6ed71f37fea1b9f907825e392f6cf932090ef5b3419f5'
7
- data.tar.gz: f1226b5e4974c139ec1d5206941e1e420387356836b3497cd63052fc5e563c355d9ada7595881b99e4241b02bad5b8af272c15c944de9eeaf9978c5e847ce79d
6
+ metadata.gz: 0ecbde2f0782d0fe4c4fafd8906367f088d878643bb5b6bc633619a4ccb2270ace2a07bda66b3cce041b8fb2623afec9352bc6f690c363eefbde140720e18461
7
+ data.tar.gz: 3834a356630a973ac6b074dcb350207ed99f5845e10afe2414d67b163acee77433add99b08606c75023a629e2578c4b44b911f19a1ea6d3793b16cae53a4038f
@@ -7,7 +7,8 @@ class MigrateEnvironmentIgnoreType < ActiveRecord::Migration[6.0]
7
7
  new_types = tax.ignore_types.reject { |type| type == 'Environment' }
8
8
  tax.update_columns(ignore_types: new_types)
9
9
  taxable_rows = environment_ids.map do |env_id|
10
- { taxable_id: env_id, taxable_type: 'ForemanPuppet::Environment', taxonomy_id: tax.id }
10
+ data = { taxable_id: env_id, taxable_type: 'ForemanPuppet::Environment', taxonomy_id: tax.id }
11
+ TaxableTaxonomy.column_names.include?('created_at') ? data.merge({ created_at: Time.zone.now, updated_at: Time.zone.now }) : data
11
12
  end
12
13
  TaxableTaxonomy.insert_all(taxable_rows) if taxable_rows.any?
13
14
  end
@@ -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,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '4.0.1'.freeze
2
+ VERSION = '4.0.4'.freeze
3
3
  end
@@ -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 header="Assigned classes" />
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 header="Smart class parameters" />
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="yaml-tab" padding="16px 24px">
39
+ <div className="enc-preview-tab" style={{ 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.isRequired,
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;
@@ -1,7 +1,11 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React from 'react';
3
- import CardTemplate from 'foremanReact/components/HostDetails/Templates/CardItem/CardTemplate';
4
3
  import {
4
+ Card,
5
+ CardBody,
6
+ CardHeader,
7
+ CardTitle,
8
+ CardExpandableContent,
5
9
  DescriptionList,
6
10
  DescriptionListTerm,
7
11
  DescriptionListGroup,
@@ -12,58 +16,95 @@ import DefaultLoaderEmptyState from 'foremanReact/components/HostDetails/Details
12
16
  import { STATUS } from 'foremanReact/constants';
13
17
  import { translate as __ } from 'foremanReact/common/I18n';
14
18
 
15
- const DescriptionCard = ({ proxyName, caProxy, env, status }) => (
16
- <CardTemplate header={__('Puppet details')} expandable>
17
- <DescriptionList isCompact>
18
- <DescriptionListGroup>
19
- <DescriptionListTerm>{__('Puppet environment')}</DescriptionListTerm>
20
- <DescriptionListDescription>
21
- <SkeletonLoader
22
- emptyState={<DefaultLoaderEmptyState />}
23
- status={status}
24
- >
25
- {env && (
26
- <a href={`/foreman_puppet/environments/${env}/edit`}>{env}</a>
27
- )}
28
- </SkeletonLoader>
29
- </DescriptionListDescription>
30
- </DescriptionListGroup>
31
- <DescriptionListGroup>
32
- <DescriptionListTerm>{__('Puppet smart proxy')}</DescriptionListTerm>
33
- <DescriptionListDescription>
34
- <SkeletonLoader
35
- emptyState={<DefaultLoaderEmptyState />}
36
- status={status}
37
- >
38
- {proxyName}
39
- </SkeletonLoader>
40
- </DescriptionListDescription>
41
- </DescriptionListGroup>
42
- <DescriptionListGroup>
43
- <DescriptionListTerm>{__('Puppet server CA')}</DescriptionListTerm>
44
- <DescriptionListDescription>
45
- <SkeletonLoader
46
- emptyState={<DefaultLoaderEmptyState />}
47
- status={status}
48
- >
49
- {caProxy}
50
- </SkeletonLoader>
51
- </DescriptionListDescription>
52
- </DescriptionListGroup>
53
- </DescriptionList>
54
- </CardTemplate>
55
- );
19
+ const DescriptionCard = ({
20
+ proxyName,
21
+ caProxy,
22
+ proxyId,
23
+ caProxyId,
24
+ env,
25
+ status,
26
+ }) => {
27
+ const [isExpanded, setIsExpanded] = React.useState(false);
28
+ return (
29
+ <Card isExpanded={isExpanded} ouiaId="card-template">
30
+ <CardHeader onExpand={() => setIsExpanded(v => !v)}>
31
+ <CardTitle id="expandable-card-title">{__('Puppet details')}</CardTitle>
32
+ </CardHeader>
33
+ <CardExpandableContent>
34
+ <CardBody>
35
+ <DescriptionList isCompact>
36
+ <DescriptionListGroup>
37
+ <DescriptionListTerm>
38
+ {__('Puppet environment')}
39
+ </DescriptionListTerm>
40
+ <DescriptionListDescription>
41
+ <SkeletonLoader
42
+ emptyState={<DefaultLoaderEmptyState />}
43
+ status={status}
44
+ >
45
+ {env && (
46
+ <a
47
+ href={`/foreman_puppet/environments/?search=name+%3D+${env}`}
48
+ >
49
+ {env}
50
+ </a>
51
+ )}
52
+ </SkeletonLoader>
53
+ </DescriptionListDescription>
54
+ </DescriptionListGroup>
55
+ <DescriptionListGroup>
56
+ <DescriptionListTerm>
57
+ {__('Puppet Smart Proxy')}
58
+ </DescriptionListTerm>
59
+ <DescriptionListDescription>
60
+ <SkeletonLoader
61
+ emptyState={<DefaultLoaderEmptyState />}
62
+ status={status}
63
+ >
64
+ {proxyName && (
65
+ <a href={`/smart_proxies/${proxyId}#puppet`}>{proxyName}</a>
66
+ )}
67
+ </SkeletonLoader>
68
+ </DescriptionListDescription>
69
+ </DescriptionListGroup>
70
+ <DescriptionListGroup>
71
+ <DescriptionListTerm>
72
+ {__('Puppet CA Smart Proxy')}
73
+ </DescriptionListTerm>
74
+ <DescriptionListDescription>
75
+ <SkeletonLoader
76
+ emptyState={<DefaultLoaderEmptyState />}
77
+ status={status}
78
+ >
79
+ {caProxy && (
80
+ <a href={`/smart_proxies/${caProxyId}#puppet-ca`}>
81
+ {caProxy}
82
+ </a>
83
+ )}
84
+ </SkeletonLoader>
85
+ </DescriptionListDescription>
86
+ </DescriptionListGroup>
87
+ </DescriptionList>
88
+ </CardBody>
89
+ </CardExpandableContent>
90
+ </Card>
91
+ );
92
+ };
56
93
 
57
94
  DescriptionCard.propTypes = {
58
95
  caProxy: PropTypes.string,
96
+ caProxyId: PropTypes.number,
59
97
  env: PropTypes.string,
98
+ proxyId: PropTypes.number,
60
99
  proxyName: PropTypes.string,
61
100
  status: PropTypes.string,
62
101
  };
63
102
 
64
103
  DescriptionCard.defaultProps = {
65
104
  caProxy: undefined,
105
+ caProxyId: undefined,
66
106
  env: undefined,
107
+ proxyId: undefined,
67
108
  proxyName: undefined,
68
109
  status: STATUS.PENDING,
69
110
  };
@@ -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.isRequired,
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,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
8
8
  - Shira Maximov
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-06-03 00:00:00.000000000 Z
12
+ date: 2022-12-20 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
@@ -398,7 +360,7 @@ homepage: https://github.com/theforeman/foreman_puppet
398
360
  licenses:
399
361
  - GPL-3.0
400
362
  metadata: {}
401
- post_install_message:
363
+ post_install_message:
402
364
  rdoc_options: []
403
365
  require_paths:
404
366
  - lib
@@ -413,75 +375,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
413
375
  - !ruby/object:Gem::Version
414
376
  version: '0'
415
377
  requirements: []
416
- rubygems_version: 3.1.2
417
- signing_key:
378
+ rubygems_version: 3.1.6
379
+ signing_key:
418
380
  specification_version: 4
419
381
  summary: Add Puppet features to Foreman
420
382
  test_files:
421
- - test/unit/foreman_puppet_test.rb
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
383
+ - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
384
+ - test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
385
+ - test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
386
+ - test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb
387
+ - test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
388
+ - test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
389
+ - test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
390
+ - test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
391
+ - test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
392
+ - test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
393
+ - test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
394
+ - test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
395
+ - test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
396
+ - test/controllers/foreman_puppet/config_groups_controller_test.rb
397
+ - test/controllers/foreman_puppet/hostgroups_controller_test.rb
398
+ - test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
399
+ - test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
400
+ - test/controllers/foreman_puppet/puppetclasses_controller_test.rb
401
+ - test/controllers/foreman_puppet/environments_controller_test.rb
402
+ - test/controllers/foreman_puppet/hosts_controller_test.rb
403
+ - test/controllers/provisioning_templates_controller_test.rb
404
+ - test/factories/foreman_puppet_factories.rb
405
+ - test/factories/host_puppet_enhancements.rb
406
+ - test/factories/proxy_puppet_enhancements.rb
407
+ - test/graphql/mutations/hosts/create_mutation_test.rb
408
+ - test/graphql/queries/environments_query_test.rb
409
+ - test/graphql/queries/host_puppet_query_test.rb
410
+ - test/graphql/queries/hostgroup_puppet_query_test.rb
411
+ - test/graphql/queries/location_query_test.rb
412
+ - test/graphql/queries/organization_query_test.rb
413
+ - test/graphql/queries/puppetclasses_query_test.rb
414
+ - test/graphql/queries/environment_query_test.rb
415
+ - test/graphql/queries/puppetclass_query_test.rb
426
416
  - test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
417
+ - test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
427
418
  - test/helpers/foreman_puppet/puppetclasses_helper_test.rb
428
419
  - test/integration/foreman_puppet/dashboard_js_test.rb
420
+ - test/integration/foreman_puppet/environment_js_test.rb
429
421
  - test/integration/foreman_puppet/host_js_test.rb
430
422
  - test/integration/foreman_puppet/hostgroup_js_test.rb
431
- - test/integration/foreman_puppet/smartclass_parameter_js_test.rb
432
423
  - 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
424
+ - test/integration/foreman_puppet/smartclass_parameter_js_test.rb
425
+ - test/models/foreman_puppet/config_group_class_test.rb
438
426
  - test/models/foreman_puppet/config_group_test.rb
427
+ - test/models/foreman_puppet/environment_test.rb
428
+ - test/models/foreman_puppet/host_config_group_test.rb
429
+ - test/models/foreman_puppet/hostgroup_puppet_facet_test.rb
430
+ - test/models/foreman_puppet/hostgroup_test.rb
431
+ - test/models/foreman_puppet/lookup_value_test.rb
432
+ - test/models/foreman_puppet/puppetclass_lookup_key_test.rb
439
433
  - test/models/foreman_puppet/report_test.rb
434
+ - test/models/foreman_puppet/smart_proxy_test.rb
435
+ - test/models/foreman_puppet/user_test.rb
440
436
  - test/models/foreman_puppet/host_puppet_facet_test.rb
441
437
  - test/models/foreman_puppet/host_test.rb
442
- - test/models/foreman_puppet/user_test.rb
443
438
  - test/models/foreman_puppet/provisioning_template_test.rb
444
- - test/models/foreman_puppet/host_config_group_test.rb
445
- - 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
- - test/models/foreman_puppet/puppetclass_lookup_key_test.rb
449
- - test/models/foreman_puppet/environment_test.rb
450
439
  - test/models/foreman_puppet/puppetclass_test.rb
451
- - test/models/foreman_puppet/config_group_class_test.rb
452
- - test/models/foreman_puppet/smart_proxy_test.rb
453
- - test/graphql/queries/hostgroup_puppet_query_test.rb
454
- - test/graphql/queries/puppetclass_query_test.rb
455
- - test/graphql/queries/location_query_test.rb
456
- - 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
- - test/graphql/queries/host_puppet_query_test.rb
461
- - test/graphql/mutations/hosts/create_mutation_test.rb
462
- - test/test_puppet_helper.rb
463
- - test/controllers/provisioning_templates_controller_test.rb
464
- - test/controllers/foreman_puppet/hostgroups_controller_test.rb
465
- - test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
466
- - test/controllers/foreman_puppet/environments_controller_test.rb
467
- - test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
468
- - 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
- - 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
- - test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
480
- - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
481
- - test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
482
- - test/controllers/foreman_puppet/puppetclasses_controller_test.rb
483
- - test/controllers/foreman_puppet/config_groups_controller_test.rb
484
- - test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
485
440
  - test/services/foreman_puppet/host_counter_test.rb
486
441
  - test/services/foreman_puppet/host_info_providers/config_groups_info_test.rb
487
442
  - test/services/foreman_puppet/host_info_providers/puppet_info_test.rb
443
+ - test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
444
+ - test/test_puppet_helper.rb
445
+ - test/unit/foreman_puppet/access_permissions_test.rb
446
+ - test/unit/foreman_puppet/puppet_class_importer_test.rb
447
+ - test/unit/foreman_puppet/template_rendering_test.rb
448
+ - test/unit/foreman_puppet_test.rb
449
+ - test/integration_puppet_helper.rb