bolt 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bolt might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/bolt/inventory/group.rb +1 -1
- data/lib/bolt/puppetdb/client.rb +1 -3
- data/lib/bolt/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cdc9ce6823fb077d899fce7bfa0154f5de9a0a7e994116f879b4395f8f65f59
|
4
|
+
data.tar.gz: 68ab9662c1613e93b1e8c51a6d5ce036de0e51e2961e759c25b67c37bb85c48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be80c448bea05fbfe6a210093fc94fe90ca2e9ad3f8c8deeba4431732fa6e5e5f10f969fa976e91be0c49b9bb56117d38a74ab2e1e4435128b7a6124b7cac913
|
7
|
+
data.tar.gz: 6770076579d8c73e13536c2c9d2ec1c415b532b11d02f278a4f829a6f0c74455e98512717a06f9608afa258c309d3941e6d772fb99522a19e9e9c9416442ded2
|
data/lib/bolt/inventory/group.rb
CHANGED
@@ -8,7 +8,7 @@ module Bolt
|
|
8
8
|
attr_accessor :name, :nodes, :aliases, :name_or_alias, :groups, :config, :rest, :facts, :vars, :features
|
9
9
|
|
10
10
|
# Regex used to validate group names and target aliases.
|
11
|
-
NAME_REGEX = /\A[a-z0-9_]
|
11
|
+
NAME_REGEX = /\A[a-z0-9_][a-z0-9_-]*\Z/.freeze
|
12
12
|
|
13
13
|
def initialize(data)
|
14
14
|
@logger = Logging.logger[self]
|
data/lib/bolt/puppetdb/client.rb
CHANGED
@@ -50,10 +50,8 @@ module Bolt
|
|
50
50
|
|
51
51
|
begin
|
52
52
|
response = http_client.post(url, body: body, header: headers)
|
53
|
-
rescue SocketError, OpenSSL::SSL::SSLError, SystemCallError, Net::ProtocolError, IOError => err
|
54
|
-
raise Bolt::PuppetDBFailoverError, "Failed to query PuppetDB: #{err}"
|
55
53
|
rescue StandardError => err
|
56
|
-
raise Bolt::
|
54
|
+
raise Bolt::PuppetDBFailoverError, "Failed to query PuppetDB: #{err}"
|
57
55
|
end
|
58
56
|
|
59
57
|
if response.code != 200
|
data/lib/bolt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -230,14 +230,14 @@ dependencies:
|
|
230
230
|
name: bundler
|
231
231
|
requirement: !ruby/object:Gem::Requirement
|
232
232
|
requirements:
|
233
|
-
- - "
|
233
|
+
- - ">="
|
234
234
|
- !ruby/object:Gem::Version
|
235
235
|
version: '1.14'
|
236
236
|
type: :development
|
237
237
|
prerelease: false
|
238
238
|
version_requirements: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
|
-
- - "
|
240
|
+
- - ">="
|
241
241
|
- !ruby/object:Gem::Version
|
242
242
|
version: '1.14'
|
243
243
|
- !ruby/object:Gem::Dependency
|