foreman_default_hostgroup 2.1.0 → 3.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 +1 -1
- data/default_hostgroup.yaml.example +27 -0
- data/lib/foreman_default_hostgroup/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9fff9eac64ccb1b62640e34d82cc89c2453b85e8
|
|
4
|
+
data.tar.gz: 76a8cd81e26eb4fa703c01a3d659242f8afe9876
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a79eb9494c88912b3d33cd22624a78eaeefa938263f8d49fbbe2ba5a2c22db35b0d638093b72e033f4bd5d3027f7b74e670e24a6217c09642b4d567fbdadbf4
|
|
7
|
+
data.tar.gz: 8bc987cfb7e8759e36530cdabb7935601a0d84ca2e71c83a82294897886bce6ce2914723fa390695d84d7ed10639b9d73b5eb9d0f8f0968544c10d486b3748cd
|
data/README.md
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Example default_hostgroup settings
|
|
2
|
+
#
|
|
3
|
+
# Must be placed in ~foreman/config/settings.plugins.d/
|
|
4
|
+
#
|
|
5
|
+
# :facts_map:
|
|
6
|
+
# <hostgroup>:
|
|
7
|
+
# <fact_name>: <regex>
|
|
8
|
+
#
|
|
9
|
+
# The Hostgroup is the full label, include any Parent Hostgroups, eg Base/Redhat
|
|
10
|
+
#
|
|
11
|
+
# The regex can be written either with or without the enclosing slashes:
|
|
12
|
+
# ^test$ - valid
|
|
13
|
+
# /^test$/ - also valid
|
|
14
|
+
#
|
|
15
|
+
# List the regexes in the order of prority, you can have as many as you like. The
|
|
16
|
+
# first one to match will be used. Debug statements are written to the log if you
|
|
17
|
+
# are getting the wrong group applied.
|
|
18
|
+
---
|
|
19
|
+
:default_hostgroup:
|
|
20
|
+
:facts_map:
|
|
21
|
+
"Redhat":
|
|
22
|
+
"osfamily": "RedHat"
|
|
23
|
+
"lsbdistcodename": "Santiago"
|
|
24
|
+
"Osx/Common":
|
|
25
|
+
"osfamily": "Darwin"
|
|
26
|
+
"Base":
|
|
27
|
+
"hostname": ".*"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_default_hostgroup
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Greg Sutcliffe
|
|
@@ -22,6 +22,7 @@ files:
|
|
|
22
22
|
- LICENSE
|
|
23
23
|
- README.md
|
|
24
24
|
- app/models/setting/default_hostgroup.rb
|
|
25
|
+
- default_hostgroup.yaml.example
|
|
25
26
|
- lib/default_hostgroup.rake
|
|
26
27
|
- lib/default_hostgroup_managed_host_patch.rb
|
|
27
28
|
- lib/foreman_default_hostgroup.rb
|