foreman_puppet 4.1.0 → 4.1.1

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: 745a9b5da4d9e341965da09876aea703a9a9e40f2bfc989f002e1263aa67547b
4
- data.tar.gz: 2e80676582c1105c5839682d076f2e03ae6240721e46daf04a7c76e0721aafca
3
+ metadata.gz: 85029a61a622dd49d223e5e0c57bfc096d417c8b5761f5574d05635f03d6569a
4
+ data.tar.gz: 9bd16fa183dfc25f913110c4ad18172c0982c41f453649a65f6531ab3826f0f0
5
5
  SHA512:
6
- metadata.gz: a246077d90bf3e91c5963bb603680354ee18c94a0e523067d85683ebd48ee4cd4757e88a8438a456438abd6086a3db88087099e69520bdf79f1213ddddb0b282
7
- data.tar.gz: 58f460b97fad16c5d4ca45850d58baf059e70fd72b7ab898369c64200bfe5a3dd3b472d3b52dfdc0f2650061c49604e59a6cafec5b97933ad996d9aed9332640
6
+ metadata.gz: 0ec5b4da654c66eef0bf8ffda2bf487adda07d35295e3f91eca999022a515370ff109aec6b14b0c39b9999e58af845b3770faccdbb256098322ff72ae6c95861
7
+ data.tar.gz: d6a1447d180e49d0f7c6d21a889110bc455299b7c3bac9230e033b2a65c6d9ab7e29989f313a0d800c66191b025da172f3e56f6ca0e5b57f63aa3f1e992932b2
@@ -30,7 +30,7 @@ module ForemanPuppet
30
30
  def search_by_puppetclass(_key, operator, value)
31
31
  conditions = sanitize_sql_for_conditions(["puppetclasses.name #{operator} ?", value_to_sql(operator, value)])
32
32
  config_group_ids = ForemanPuppet::ConfigGroup.joins(:puppetclasses).where(conditions).pluck(:id)
33
- host_ids = ::Host.authorized(:view_hosts, Host).joins(puppet: :puppetclasses).where(conditions).distinct.pluck(:id)
33
+ host_ids = ::Host.authorized(:view_hosts).joins(puppet: :puppetclasses).where(conditions).distinct.pluck(:id)
34
34
  host_ids += ForemanPuppet::HostConfigGroup
35
35
  .where(host_type: 'ForemanPuppet::HostPuppetFacet')
36
36
  .where(config_group_id: config_group_ids)
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '4.1.0'.freeze
2
+ VERSION = '4.1.1'.freeze
3
3
  end
@@ -1,15 +1,5 @@
1
1
  require 'rake/testtask'
2
2
 
3
- # Tasks
4
- namespace :foreman_puppet do
5
- namespace :example do
6
- desc 'Example Task'
7
- task task: :environment do
8
- # Task goes here
9
- end
10
- end
11
- end
12
-
13
3
  # Tests
14
4
  namespace :test do
15
5
  desc 'Test ForemanPuppet'
File without changes
@@ -21,6 +21,8 @@ const PuppetTab = ({ response, status, location: { pathname } }) => {
21
21
  {SECONDARY_TABS.map(({ key, title }) => (
22
22
  <Tab
23
23
  key={key}
24
+ id={`puppet-subtab-${key}`}
25
+ ouiaId={`puppet-subtab-${key}`}
24
26
  eventKey={key}
25
27
  title={<TabTitleText>{title}</TabTitleText>}
26
28
  />
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.1.0
4
+ version: 4.1.1
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-12-25 00:00:00.000000000 Z
12
+ date: 2023-03-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Allow assigning Puppet environments and classes to the Foreman Hosts.
15
15
  email:
@@ -224,6 +224,7 @@ files:
224
224
  - locale/de/LC_MESSAGES/foreman_puppet.mo
225
225
  - locale/de/foreman_puppet.po
226
226
  - locale/en/LC_MESSAGES/foreman_puppet.mo
227
+ - locale/en/foreman_puppet.edit.po
227
228
  - locale/en/foreman_puppet.po
228
229
  - locale/en_GB/LC_MESSAGES/foreman_puppet.mo
229
230
  - locale/en_GB/foreman_puppet.po
@@ -360,7 +361,7 @@ homepage: https://github.com/theforeman/foreman_puppet
360
361
  licenses:
361
362
  - GPL-3.0
362
363
  metadata: {}
363
- post_install_message:
364
+ post_install_message:
364
365
  rdoc_options: []
365
366
  require_paths:
366
367
  - lib
@@ -375,75 +376,75 @@ required_rubygems_version: !ruby/object:Gem::Requirement
375
376
  - !ruby/object:Gem::Version
376
377
  version: '0'
377
378
  requirements: []
378
- rubygems_version: 3.1.6
379
- signing_key:
379
+ rubygems_version: 3.1.2
380
+ signing_key:
380
381
  specification_version: 4
381
382
  summary: Add Puppet features to Foreman
382
383
  test_files:
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
416
- - test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
384
+ - test/unit/foreman_puppet_test.rb
385
+ - test/unit/foreman_puppet/puppet_class_importer_test.rb
386
+ - test/unit/foreman_puppet/template_rendering_test.rb
387
+ - test/unit/foreman_puppet/access_permissions_test.rb
417
388
  - test/helpers/foreman_puppet/puppetclass_lookup_keys_helper_test.rb
389
+ - test/helpers/foreman_puppet/hosts_and_hostgroups_helper_test.rb
418
390
  - test/helpers/foreman_puppet/puppetclasses_helper_test.rb
419
391
  - test/integration/foreman_puppet/dashboard_js_test.rb
420
- - test/integration/foreman_puppet/environment_js_test.rb
421
392
  - test/integration/foreman_puppet/host_js_test.rb
422
393
  - test/integration/foreman_puppet/hostgroup_js_test.rb
423
- - test/integration/foreman_puppet/puppetclass_js_test.rb
424
394
  - test/integration/foreman_puppet/smartclass_parameter_js_test.rb
425
- - test/models/foreman_puppet/config_group_class_test.rb
395
+ - test/integration/foreman_puppet/puppetclass_js_test.rb
396
+ - test/integration/foreman_puppet/environment_js_test.rb
397
+ - test/factories/foreman_puppet_factories.rb
398
+ - test/factories/host_puppet_enhancements.rb
399
+ - test/factories/proxy_puppet_enhancements.rb
400
+ - test/integration_puppet_helper.rb
426
401
  - 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
433
402
  - test/models/foreman_puppet/report_test.rb
434
- - test/models/foreman_puppet/smart_proxy_test.rb
435
- - test/models/foreman_puppet/user_test.rb
436
403
  - test/models/foreman_puppet/host_puppet_facet_test.rb
437
404
  - test/models/foreman_puppet/host_test.rb
405
+ - test/models/foreman_puppet/user_test.rb
438
406
  - test/models/foreman_puppet/provisioning_template_test.rb
407
+ - test/models/foreman_puppet/host_config_group_test.rb
408
+ - test/models/foreman_puppet/lookup_value_test.rb
409
+ - test/models/foreman_puppet/hostgroup_test.rb
410
+ - test/models/foreman_puppet/hostgroup_puppet_facet_test.rb
411
+ - test/models/foreman_puppet/puppetclass_lookup_key_test.rb
412
+ - test/models/foreman_puppet/environment_test.rb
439
413
  - test/models/foreman_puppet/puppetclass_test.rb
414
+ - test/models/foreman_puppet/config_group_class_test.rb
415
+ - test/models/foreman_puppet/smart_proxy_test.rb
416
+ - test/graphql/queries/hostgroup_puppet_query_test.rb
417
+ - test/graphql/queries/puppetclass_query_test.rb
418
+ - test/graphql/queries/location_query_test.rb
419
+ - test/graphql/queries/organization_query_test.rb
420
+ - test/graphql/queries/puppetclasses_query_test.rb
421
+ - test/graphql/queries/environment_query_test.rb
422
+ - test/graphql/queries/environments_query_test.rb
423
+ - test/graphql/queries/host_puppet_query_test.rb
424
+ - test/graphql/mutations/hosts/create_mutation_test.rb
425
+ - test/test_puppet_helper.rb
426
+ - test/controllers/provisioning_templates_controller_test.rb
427
+ - test/controllers/foreman_puppet/hostgroups_controller_test.rb
428
+ - test/controllers/foreman_puppet/puppetclass_lookup_keys_controller_test.rb
429
+ - test/controllers/foreman_puppet/environments_controller_test.rb
430
+ - test/controllers/foreman_puppet/puppet_smart_proxies_controller_test.rb
431
+ - test/controllers/foreman_puppet/hosts_controller_test.rb
432
+ - test/controllers/foreman_puppet/api/v2/template_combinations_controller_test.rb
433
+ - test/controllers/foreman_puppet/api/v2/smart_class_parameters_controller_test.rb
434
+ - test/controllers/foreman_puppet/api/v2/host_classes_controller_test.rb
435
+ - test/controllers/foreman_puppet/api/v2/hostgroups_controller_test.rb
436
+ - test/controllers/foreman_puppet/api/v2/lookups_common_controller_test.rb
437
+ - test/controllers/foreman_puppet/api/v2/environments_controller_test.rb
438
+ - test/controllers/foreman_puppet/api/v2/hosts_controller_test.rb
439
+ - test/controllers/foreman_puppet/api/v2/hostgroup_classes_controller_test.rb
440
+ - test/controllers/foreman_puppet/api/v2/puppetclasses_controller_test.rb
441
+ - test/controllers/foreman_puppet/api/v2/smart_proxies_controller_test.rb
442
+ - test/controllers/foreman_puppet/api/v2/override_values_controller_test.rb
443
+ - test/controllers/foreman_puppet/api/v2/config_groups_controller_test.rb
444
+ - test/controllers/foreman_puppet/api/v2/provisioning_templates_controller_test.rb
445
+ - test/controllers/foreman_puppet/puppetclasses_controller_test.rb
446
+ - test/controllers/foreman_puppet/config_groups_controller_test.rb
447
+ - test/services/foreman_puppet/input_type/puppet_parameter_input_test.rb
440
448
  - test/services/foreman_puppet/host_counter_test.rb
441
449
  - test/services/foreman_puppet/host_info_providers/config_groups_info_test.rb
442
450
  - 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