foreman_puppet 7.0.0 → 8.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: bb08d2e8cd47157ed5634acb2869a270236ce1834142ee32fd6573f300d66d60
4
- data.tar.gz: 94349749b93775be1aa74ea3c3586e230431597d1b7a2f712c4990bf7ecd91f9
3
+ metadata.gz: 8afb163e0a92e0237e545a8d6b99918f498126eab48a2ab0f1b5d47393919db9
4
+ data.tar.gz: 0123defbf5e8e8497b929b9f23aa8aeb7cebf15e07a4771cb951f5871a5d705d
5
5
  SHA512:
6
- metadata.gz: b3ab70124686db54ef9b3151a96a89619e48e7b132d72b70778494a2353b0f31bfe03497b3710944b7ea6b9ffc2595d63032d5d1710c27fdff28ba0302875284
7
- data.tar.gz: 7d56d68f6884f67fffc91188bd34b1f547cebd9796045b82f7bd3a79211f3364f3d22bd091a945630ca29222eb69a7031d622798016e4d7d02b9b78578ff6318
6
+ metadata.gz: 35845e3b125c4aaa9db265f32c21b260185761006af63b9ab73a98cee510b836e0359447108aa0f6babd900f8f2a20bd8ecc2b69ca642179dce3c14623cd5f8c
7
+ data.tar.gz: 62f7365a84ec1c7fb180a62e3cdd8ee2a1cc58f8367e033ae9c1512af4e40925f600479f908f7aceb913142ca750d4c99604b34323b7504ce23e99add62ac132
data/README.md CHANGED
@@ -33,7 +33,8 @@ Some features will remain in core:
33
33
 
34
34
  |Foreman version|Plugin version|Notes |
35
35
  |---------------|--------------|------------------------------------------|
36
- | >= 3.7 | ~> 6.0 | Required |
36
+ | >= 3.11 | ~> 7.0 | Required |
37
+ | ~> 3.7 - 3.10 | ~> 6.0 | Required |
37
38
  | ~> 3.5, 3.6 | ~> 5.0 | Required |
38
39
  | ~> 3.4 | ~> 4.1 | Required |
39
40
  | ~> 3.3 | ~> 4.0 | Required |
@@ -78,7 +79,7 @@ Fork and send a Pull Request. Thanks!
78
79
 
79
80
  ## Copyright
80
81
 
81
- Copyright (c) *2020-2023* *The Foreman developers*
82
+ Copyright (c) *2020-2024* *The Foreman developers*
82
83
 
83
84
  This program is free software: you can redistribute it and/or modify
84
85
  it under the terms of the GNU General Public License as published by
@@ -6,8 +6,10 @@ module ForemanPuppet
6
6
  config.paths['db/migrate'] << 'db/migrate_foreman' if Gem::Dependency.new('', ">= #{ForemanPuppet::FOREMAN_DROP_MIGRATIONS_VERSION}").match?('', SETTINGS[:version].notag)
7
7
  config.paths['config/routes.rb'].unshift('config/api_routes.rb')
8
8
 
9
- initializer 'foreman_puppet.register_plugin', before: :finisher_hook do |_app|
10
- require 'foreman_puppet/register'
9
+ initializer 'foreman_puppet.register_plugin', before: :finisher_hook do |app|
10
+ app.reloader.to_prepare do
11
+ require_relative 'register'
12
+ end
11
13
  Apipie.configuration.checksum_path += ['/foreman_puppet/api/']
12
14
  end
13
15
 
@@ -23,14 +25,10 @@ module ForemanPuppet
23
25
  SETTINGS[:foreman_puppet] = { assets: { precompile: ['foreman_puppet.scss'] } }
24
26
  end
25
27
 
26
- initializer 'foreman_puppet.patch_parameters' do
27
- # Parameters should go ASAP as they need to be applied before they are included in core controller
28
- Foreman::Controller::Parameters::TemplateCombination.include ForemanPuppet::Extensions::ParametersTemplateCombination
29
- end
30
-
31
28
  # Include concerns in this config.to_prepare block
32
29
  # rubocop:disable Metrics/BlockLength
33
30
  config.to_prepare do
31
+ Foreman::Controller::Parameters::TemplateCombination.include ForemanPuppet::Extensions::ParametersTemplateCombination
34
32
  # Facets extenstion is applied too early - before the Hostgroup is complete
35
33
  # We redefine thing, so we need to wait until complete definition of Hostgroup
36
34
  # thus separate patching instead of using facet patching
@@ -1,5 +1,5 @@
1
1
  Foreman::Plugin.register :foreman_puppet do
2
- requires_foreman '>= 3.7'
2
+ requires_foreman '>= 3.13'
3
3
  register_gettext
4
4
 
5
5
  # Add Global JS file for extending foreman-core components and routes
@@ -1,3 +1,3 @@
1
1
  module ForemanPuppet
2
- VERSION = '7.0.0'.freeze
2
+ VERSION = '8.0.0'.freeze
3
3
  end
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: 7.0.0
4
+ version: 8.0.0
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: 2024-08-02 00:00:00.000000000 Z
12
+ date: 2024-09-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Allow assigning Puppet environments and classes to the Foreman Hosts.
15
15
  email: