Package not found. Please check the package name and try again.
foreman_puppet 7.0.0 → 8.0.0
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.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/foreman_puppet/engine.rb +5 -7
- data/lib/foreman_puppet/register.rb +1 -1
- data/lib/foreman_puppet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8afb163e0a92e0237e545a8d6b99918f498126eab48a2ab0f1b5d47393919db9
|
|
4
|
+
data.tar.gz: 0123defbf5e8e8497b929b9f23aa8aeb7cebf15e07a4771cb951f5871a5d705d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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-
|
|
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 |
|
|
10
|
-
|
|
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
|
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
|
+
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-
|
|
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:
|