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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d454d40d36c903cdb01917607ff7bb5a95ec18f
4
- data.tar.gz: a620ee8b99e5bf30147d2266378462473b326628
3
+ metadata.gz: 9fff9eac64ccb1b62640e34d82cc89c2453b85e8
4
+ data.tar.gz: 76a8cd81e26eb4fa703c01a3d659242f8afe9876
5
5
  SHA512:
6
- metadata.gz: 79200d8486340a22124c1f4b8f7df6645db83fc0c4933cf7f0a9b1269acc5a11648b810718c1dd8a97a9f9a4b0d0bf98fc0bfb638b56616c530cb28e0a1d150b
7
- data.tar.gz: 6e49893a8db8af0cde5e8dc7dd242e7de90569182555cfb3232a2c2eb7b01b7bade2ec248ac932714752fb3b7f14830f4acf6ecf4a6920af68faf7cf126afac6
6
+ metadata.gz: 6a79eb9494c88912b3d33cd22624a78eaeefa938263f8d49fbbe2ba5a2c22db35b0d638093b72e033f4bd5d3027f7b74e670e24a6217c09642b4d567fbdadbf4
7
+ data.tar.gz: 8bc987cfb7e8759e36530cdabb7935601a0d84ca2e71c83a82294897886bce6ce2914723fa390695d84d7ed10639b9d73b5eb9d0f8f0968544c10d486b3748cd
data/README.md CHANGED
@@ -16,7 +16,7 @@ for how to install Foreman plugins
16
16
  | 1.3 | 1.0.1 |
17
17
  | 1.4 | 1.1.0 |
18
18
  | 1.5 | 2.0.1 |
19
- | >= 1.6 | 2.1.0 |
19
+ | >= 1.6 | 3.0.0 |
20
20
 
21
21
  ## Usage
22
22
 
@@ -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": ".*"
@@ -1,3 +1,3 @@
1
1
  module ForemanDefaultHostgroup
2
- VERSION = "2.1.0"
2
+ VERSION = "3.0.0"
3
3
  end
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: 2.1.0
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