foreman_puppet 6.4.0 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d63691d998c91ff4d8b69d038ac37c63e5bdc657e895d97ae88f6832417b9434
4
- data.tar.gz: 530b34760965f3d259f63546b952d97952b7a1277d6b38b6bc5a3b0065f7ab15
3
+ metadata.gz: bb08d2e8cd47157ed5634acb2869a270236ce1834142ee32fd6573f300d66d60
4
+ data.tar.gz: 94349749b93775be1aa74ea3c3586e230431597d1b7a2f712c4990bf7ecd91f9
5
5
  SHA512:
6
- metadata.gz: 18b306ec3e92e0579f7671b9194a37c90f28c1293a16b51ce7feb9ba3402a13fdfe384c616e8371446195140a2524343ef6d03336691f4aa92844298bcf01cd6
7
- data.tar.gz: 92863444989b2a6f74e9bd49fbd6c6bee13db7f660ddc4dd744e45e9d91249cd2636c8e1f2498ba3b9fb73c4da3d32b959b4e87bc7b2b231e05ab3d89389b26a
6
+ metadata.gz: b3ab70124686db54ef9b3151a96a89619e48e7b132d72b70778494a2353b0f31bfe03497b3710944b7ea6b9ffc2595d63032d5d1710c27fdff28ba0302875284
7
+ data.tar.gz: 7d56d68f6884f67fffc91188bd34b1f547cebd9796045b82f7bd3a79211f3364f3d22bd091a945630ca29222eb69a7031d622798016e4d7d02b9b78578ff6318
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '6.4.0'.freeze
2
+ VERSION = '7.0.0'.freeze
3
3
  end
@@ -1,4 +1,6 @@
1
1
  import { registerReducer } from 'foremanReact/common/MountingService';
2
+ import { registerColumns } from 'foremanReact/components/HostsIndex/Columns/core';
3
+ import { translate as __ } from 'foremanReact/common/I18n';
2
4
  import reducers from './src/reducers';
3
5
  import { registerFills } from './src/Extends/Fills';
4
6
  import { registerLegacy } from './legacy';
@@ -9,3 +11,22 @@ registerReducer('puppet', reducers);
9
11
  registerFills();
10
12
  // TODO: the checkForUnavailablePuppetclasses is very nasty
11
13
  registerLegacy();
14
+
15
+ // register columns for React hosts index page
16
+ const puppetHostsIndexColumns = [
17
+ {
18
+ columnName: 'environment',
19
+ title: __('Puppet env'),
20
+ isSorted: true,
21
+ wrapper: hostDetails => hostDetails.environment_name,
22
+ weight: 2700,
23
+ },
24
+ ];
25
+
26
+ puppetHostsIndexColumns.forEach(column => {
27
+ column.tableName = 'hosts';
28
+ column.categoryName = 'Puppet';
29
+ column.categoryKey = 'puppet';
30
+ });
31
+
32
+ registerColumns(puppetHostsIndexColumns);
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: 6.4.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ondřej Ezr
@@ -245,7 +245,6 @@ files:
245
245
  - locale/de/LC_MESSAGES/foreman_puppet.mo
246
246
  - locale/de/foreman_puppet.po
247
247
  - locale/en/LC_MESSAGES/foreman_puppet.mo
248
- - locale/en/foreman_puppet.edit.po
249
248
  - locale/en/foreman_puppet.po
250
249
  - locale/en_GB/LC_MESSAGES/foreman_puppet.mo
251
250
  - locale/en_GB/foreman_puppet.po
@@ -408,76 +407,76 @@ required_rubygems_version: !ruby/object:Gem::Requirement
408
407
  - !ruby/object:Gem::Version
409
408
  version: '0'
410
409
  requirements: []
411
- rubygems_version: 3.1.2
410
+ rubygems_version: 3.3.27
412
411
  signing_key:
413
412
  specification_version: 4
414
413
  summary: Add Puppet features to Foreman
415
414
  test_files:
416
- - test/unit/foreman_puppet_test.rb
417
- - test/unit/foreman_puppet/global_id_test.rb
418
- - test/unit/foreman_puppet/puppet_class_importer_test.rb
419
- - test/unit/foreman_puppet/template_rendering_test.rb
420
- - test/unit/foreman_puppet/access_permissions_test.rb
421
- - test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
415
+ - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
416
+ - test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
417
+ - test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
418
+ - test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
419
+ - test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb
420
+ - test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
421
+ - test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
422
+ - test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
423
+ - test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
424
+ - test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
425
+ - test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
426
+ - test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
427
+ - test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
428
+ - test/controllers/foreman_puppet/config_groups_controller_test.rb
429
+ - test/controllers/foreman_puppet/environments_controller_test.rb
430
+ - test/controllers/foreman_puppet/hostgroups_controller_test.rb
431
+ - test/controllers/foreman_puppet/hosts_controller_test.rb
432
+ - test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
433
+ - test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
434
+ - test/controllers/foreman_puppet/puppetclasses_controller_test.rb
435
+ - test/controllers/provisioning_templates_controller_test.rb
436
+ - test/factories/foreman_puppet_factories.rb
437
+ - test/factories/host_puppet_enhancements.rb
438
+ - test/factories/proxy_puppet_enhancements.rb
439
+ - test/graphql/mutations/hosts/create_mutation_test.rb
440
+ - test/graphql/queries/environment_query_test.rb
441
+ - test/graphql/queries/environments_query_test.rb
442
+ - test/graphql/queries/host_puppet_query_test.rb
443
+ - test/graphql/queries/hostgroup_puppet_query_test.rb
444
+ - test/graphql/queries/location_query_test.rb
445
+ - test/graphql/queries/organization_query_test.rb
446
+ - test/graphql/queries/puppetclass_query_test.rb
447
+ - test/graphql/queries/puppetclasses_query_test.rb
422
448
  - test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
449
+ - test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
423
450
  - test/helpers/foreman_puppet/puppetclasses_helper_test.rb
424
451
  - test/integration/foreman_puppet/dashboard_js_test.rb
452
+ - test/integration/foreman_puppet/environment_js_test.rb
425
453
  - test/integration/foreman_puppet/host_js_test.rb
426
454
  - test/integration/foreman_puppet/hostgroup_js_test.rb
427
- - test/integration/foreman_puppet/smartclass_parameter_js_test.rb
428
455
  - test/integration/foreman_puppet/puppetclass_js_test.rb
429
- - test/integration/foreman_puppet/environment_js_test.rb
430
- - test/factories/foreman_puppet_factories.rb
431
- - test/factories/host_puppet_enhancements.rb
432
- - test/factories/proxy_puppet_enhancements.rb
456
+ - test/integration/foreman_puppet/smartclass_parameter_js_test.rb
433
457
  - test/integration_puppet_helper.rb
458
+ - test/models/foreman_puppet/config_group_class_test.rb
434
459
  - test/models/foreman_puppet/config_group_test.rb
435
- - test/models/foreman_puppet/report_test.rb
460
+ - test/models/foreman_puppet/environment_test.rb
461
+ - test/models/foreman_puppet/host_config_group_test.rb
436
462
  - test/models/foreman_puppet/host_puppet_facet_test.rb
437
463
  - test/models/foreman_puppet/host_test.rb
438
- - test/models/foreman_puppet/user_test.rb
439
- - test/models/foreman_puppet/provisioning_template_test.rb
440
- - test/models/foreman_puppet/host_config_group_test.rb
441
- - test/models/foreman_puppet/lookup_value_test.rb
442
- - test/models/foreman_puppet/hostgroup_test.rb
443
464
  - test/models/foreman_puppet/hostgroup_puppet_facet_test.rb
465
+ - test/models/foreman_puppet/hostgroup_test.rb
466
+ - test/models/foreman_puppet/lookup_value_test.rb
467
+ - test/models/foreman_puppet/provisioning_template_test.rb
444
468
  - test/models/foreman_puppet/puppetclass_lookup_key_test.rb
445
- - test/models/foreman_puppet/environment_test.rb
446
469
  - test/models/foreman_puppet/puppetclass_test.rb
447
- - test/models/foreman_puppet/config_group_class_test.rb
470
+ - test/models/foreman_puppet/report_test.rb
448
471
  - test/models/foreman_puppet/smart_proxy_test.rb
449
- - test/graphql/queries/hostgroup_puppet_query_test.rb
450
- - test/graphql/queries/puppetclass_query_test.rb
451
- - test/graphql/queries/location_query_test.rb
452
- - test/graphql/queries/organization_query_test.rb
453
- - test/graphql/queries/puppetclasses_query_test.rb
454
- - test/graphql/queries/environment_query_test.rb
455
- - test/graphql/queries/environments_query_test.rb
456
- - test/graphql/queries/host_puppet_query_test.rb
457
- - test/graphql/mutations/hosts/create_mutation_test.rb
458
- - test/test_puppet_helper.rb
459
- - test/controllers/provisioning_templates_controller_test.rb
460
- - test/controllers/foreman_puppet/hostgroups_controller_test.rb
461
- - test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
462
- - test/controllers/foreman_puppet/environments_controller_test.rb
463
- - test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
464
- - test/controllers/foreman_puppet/hosts_controller_test.rb
465
- - test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
466
- - test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
467
- - test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
468
- - test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb
469
- - test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
470
- - test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
471
- - test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
472
- - test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
473
- - test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
474
- - test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
475
- - test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
476
- - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
477
- - test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
478
- - test/controllers/foreman_puppet/puppetclasses_controller_test.rb
479
- - test/controllers/foreman_puppet/config_groups_controller_test.rb
480
- - test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
472
+ - test/models/foreman_puppet/user_test.rb
481
473
  - test/services/foreman_puppet/host_counter_test.rb
482
474
  - test/services/foreman_puppet/host_info_providers/config_groups_info_test.rb
483
475
  - test/services/foreman_puppet/host_info_providers/puppet_info_test.rb
476
+ - test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
477
+ - test/test_puppet_helper.rb
478
+ - test/unit/foreman_puppet/access_permissions_test.rb
479
+ - test/unit/foreman_puppet/global_id_test.rb
480
+ - test/unit/foreman_puppet/puppet_class_importer_test.rb
481
+ - test/unit/foreman_puppet/template_rendering_test.rb
482
+ - test/unit/foreman_puppet_test.rb
File without changes