foreman_default_hostgroup 4.0.0 → 4.0.1
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
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: eea2c1504b131e0856539a55695b98550c20114169a60dd36e300a8745e748d9
|
|
4
|
+
data.tar.gz: 1f7098318bbb2dc3bab72be79766c80f787922a1ba13542a74d2f8729285c591
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1091a967380e92d8653b7b80085919371dd03d2538380c950bad23e54a02a890de8c481ab409aceaaa052f539e14c5994c43c52bf99a6896b4961c1083d1246f
|
|
7
|
+
data.tar.gz: 8a35fbe829648e2f5e92517dfa519e0287d95604db70c1460e1aac0c1f0df4cdce6460e762b46eafa2ed8d480677f1b54b4e5566840b5877d1997aa9d227afed
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
# ^test$ - valid
|
|
13
13
|
# /^test$/ - also valid
|
|
14
14
|
#
|
|
15
|
-
# List the regexes in the order of
|
|
15
|
+
# List the regexes in the order of priority, you can have as many as you like. The
|
|
16
16
|
# first one to match will be used. Debug statements are written to the log if you
|
|
17
17
|
# are getting the wrong group applied.
|
|
18
18
|
---
|
|
@@ -5,6 +5,8 @@ module ForemanDefaultHostgroup
|
|
|
5
5
|
# the plugin. Thus, inherits from ::Rails::Engine and not from
|
|
6
6
|
# Rails::Engine
|
|
7
7
|
class Engine < ::Rails::Engine
|
|
8
|
+
engine_name 'foreman_default_hostgroup'
|
|
9
|
+
|
|
8
10
|
initializer 'foreman_default_hostgroup.load_default_settings',
|
|
9
11
|
before: :load_config_initializers do
|
|
10
12
|
require_dependency File.expand_path(
|
|
@@ -13,7 +15,7 @@ module ForemanDefaultHostgroup
|
|
|
13
15
|
|
|
14
16
|
initializer 'foreman_default_hostgroup.register_plugin',
|
|
15
17
|
before: :finisher_hook do
|
|
16
|
-
Foreman::Plugin.register :
|
|
18
|
+
Foreman::Plugin.register :foreman_default_hostgroup do
|
|
17
19
|
requires_foreman '>= 1.12'
|
|
18
20
|
end
|
|
19
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_default_hostgroup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Greg Sutcliffe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Adds the option to specify a default hostgroup for new hosts created
|
|
14
14
|
from facts/reports
|
|
@@ -51,11 +51,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
version: '0'
|
|
52
52
|
requirements: []
|
|
53
53
|
rubyforge_project:
|
|
54
|
-
rubygems_version: 2.
|
|
54
|
+
rubygems_version: 2.7.3
|
|
55
55
|
signing_key:
|
|
56
56
|
specification_version: 4
|
|
57
57
|
summary: Default Hostgroup Plugin for Foreman
|
|
58
58
|
test_files:
|
|
59
59
|
- test/test_plugin_helper.rb
|
|
60
|
-
- test/unit/default_hostgroup_test.rb
|
|
61
60
|
- test/unit/facts.json
|
|
61
|
+
- test/unit/default_hostgroup_test.rb
|