foreman_puppet 1.0.0.rc.2 → 1.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 49e644faeeffa930e09b12d75395777a23aa7bec00b9dbdf16eeed14b3d2e9bc
|
|
4
|
+
data.tar.gz: 9da4592a03b0fc3431a8f3c12c8bd046782544b5df29419949471b5919388c66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e40390e1c1b70276056a455672397f0425c48fa71dda42cdf814f3718b3869f6b59ab3fa0250acbb5699754a9bdc7ef64640aef07e0cf1388e9b5b4ebc4fe27
|
|
7
|
+
data.tar.gz: c6a7e53a32381af7bef757d359e14e5828b3a3536e31f9291fda67af175ca637e971d605c302e479f49bf2e09c9ce8cdcf22494bcd28afe2244f19bbe429f053
|
|
@@ -11,7 +11,7 @@ module ForemanPuppet
|
|
|
11
11
|
protected
|
|
12
12
|
|
|
13
13
|
def show_deprecation_for_core_routes
|
|
14
|
-
return if request.path.starts_with?('/foreman_puppet')
|
|
14
|
+
return if request.path.starts_with?('/foreman_puppet') || request.path.starts_with?('/api/smart_proxies')
|
|
15
15
|
Foreman::Deprecation.api_deprecation_warning(
|
|
16
16
|
format(
|
|
17
17
|
'/api/v2/%{controller} API endpoints are deprecated, please use /foreman_puppet/api/v2/%{controller} instead',
|
|
@@ -43,7 +43,7 @@ module ForemanPuppet
|
|
|
43
43
|
# the environment used by #clases nees to be self.environment and not self.parent.environment
|
|
44
44
|
def parent_classes
|
|
45
45
|
return [] unless host.hostgroup
|
|
46
|
-
host.hostgroup.puppet&.classes(environment)
|
|
46
|
+
host.hostgroup.puppet&.classes(environment) || []
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
def parent_config_groups
|
|
@@ -33,7 +33,6 @@ module ForemanPuppet
|
|
|
33
33
|
engine_name 'foreman_puppet'
|
|
34
34
|
isolate_namespace ForemanPuppet
|
|
35
35
|
|
|
36
|
-
config.paths['db/migrate'] << 'db/migrate_foreman' if Gem::Dependency.new('', ">= #{ForemanPuppet::FOREMAN_EXTRACTION_VERSION}").match?('', SETTINGS[:version])
|
|
37
36
|
config.paths['config/routes.rb'].unshift('config/api_routes.rb')
|
|
38
37
|
|
|
39
38
|
initializer 'foreman_puppet.register_plugin', before: :finisher_hook do |_app|
|
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: 1.0.0
|
|
4
|
+
version: 1.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: 2021-
|
|
12
|
+
date: 2021-09-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: Allow assigning Puppet environmets and classes to the Foreman Hosts.
|
|
15
15
|
email:
|
|
@@ -307,9 +307,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
307
307
|
version: '0'
|
|
308
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
309
|
requirements:
|
|
310
|
-
- - "
|
|
310
|
+
- - ">="
|
|
311
311
|
- !ruby/object:Gem::Version
|
|
312
|
-
version:
|
|
312
|
+
version: '0'
|
|
313
313
|
requirements: []
|
|
314
314
|
rubygems_version: 3.1.6
|
|
315
315
|
signing_key:
|