puppetdb_foreman 3.1.1 → 3.1.2
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/app/models/setting/puppetdb.rb +1 -1
- data/app/services/puppetdb.rb +3 -3
- data/lib/puppetdb_foreman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 012d05bfdd197afed1c498c95114aab2a3154243
|
|
4
|
+
data.tar.gz: ac4dcd46faa3bc80e68e6814254978b5ec58d68b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e90b059fff04ec699cb74f5c200ee6dbe7db6772a666b1a1a33fd0482dab34250f34f9dfa9df9a1f37575b99acdcd70e92341798360309f44fa1b0e3d31e04e
|
|
7
|
+
data.tar.gz: 528500da760e05edfb6e238138fb1962d5d8f80db4bbae995ede84ef7014ef551c8c801987be4c2f0279b86fdd86b747dd678796837689b931a2870a19e5f960
|
|
@@ -31,7 +31,7 @@ class Setting::Puppetdb < ::Setting
|
|
|
31
31
|
set('puppetdb_ssl_ca_file', _('Foreman will send PuppetDB requests with this CA file'), default_ssl_ca_file),
|
|
32
32
|
set('puppetdb_ssl_certificate', _('Foreman will send PuppetDB requests with this certificate file'), default_ssl_certificate),
|
|
33
33
|
set('puppetdb_ssl_private_key', _('Foreman will send PuppetDB requests with this key file'), default_ssl_private_key),
|
|
34
|
-
set('puppetdb_api_version', _('Foreman will use this PuppetDB API version'), default_api_version, N_('PuppetDB API Version'), nil, collection: proc { ::
|
|
34
|
+
set('puppetdb_api_version', _('Foreman will use this PuppetDB API version'), default_api_version, N_('PuppetDB API Version'), nil, collection: proc { ::Puppetdb::API_VERSIONS })
|
|
35
35
|
]
|
|
36
36
|
end
|
|
37
37
|
|
data/app/services/puppetdb.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
module Puppetdb
|
|
2
2
|
API_VERSIONS = {
|
|
3
|
-
'4' => 'v4: PuppetDB
|
|
4
|
-
'3' => 'v3: PuppetDB
|
|
5
|
-
'
|
|
3
|
+
'4' => 'v4: PuppetDB 4.0, 4.1, 4.2, 4.3',
|
|
4
|
+
'3' => 'v3: PuppetDB 3.0, 3.1, 3.2',
|
|
5
|
+
'1' => 'v1: PuppetDB 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1, 2.2, 2.3'
|
|
6
6
|
}.freeze
|
|
7
7
|
|
|
8
8
|
def self.client
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppetdb_foreman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Lobato Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|