puppet-syntax 2.4.3 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c2d5ed9b5ecdfbad2253a6e53cb64577e59672e580aef20ba577122bfd84b46
4
- data.tar.gz: 77e8fa3182add57817b9a3b6a3dc2f1b26dd5497fbec13197072231067f0610f
3
+ metadata.gz: cbbd3aba8d6bec0241405c588e3681c1f1e5a139d760b1ec395f80f7ca7ca121
4
+ data.tar.gz: 7622c3904efa27007315dd1aa10d9301e103d183faa6abf08d1f3862f85f0f2f
5
5
  SHA512:
6
- metadata.gz: ae928b3759c9a417561ec58a6ed851df0cd835473d554c1a3ea578d230cfa8514155351757fc52e6e787fb41762f91ac69a5c5a1bfe767b6fc43d4154ae07920
7
- data.tar.gz: df4b04fdf1a0a6cbd26e3f847336e0a28c7f11fdeccb1040f08c011f4663eb50c477fb3037d187b109e4375993e47bd8d53030e48c3f175117fdf61649a8847f
6
+ metadata.gz: 90baf9b29551b81073c0ded34b3edbc5fd7a77478d5e25fa4f1054a7546505d06fb7e7b5fa0312379686500b5eb986648240e3e433af034b75578716e8720f72
7
+ data.tar.gz: f88be032866ad40ccd014e43c1acd3b7ac31c4e53c9194b6d41a9141d6a44a3d9749807656d78dced4818c7542fa0a4740898d0e9d25cddd7839f2b8846f866b
@@ -11,6 +11,7 @@ env:
11
11
  - PUPPET_VERSION="~> 5.5.10"
12
12
  - PUPPET_VERSION="~> 6.1.0"
13
13
  - PUPPET_VERSION="~> 6.2.0"
14
+ - PUPPET_VERSION="~> 6.5.0"
14
15
  - PUPPET_VERSION=">= 0"
15
16
  - PUPPET_VERSION="git://github.com/puppetlabs/puppet.git#master"
16
17
  matrix:
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [v2.5.0](https://github.com/voxpupuli/puppet-syntax/tree/v2.5.0) (2019-07-07)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.3...v2.5.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Support puppet 6.5 [\#106](https://github.com/voxpupuli/puppet-syntax/pull/106) ([alexjfisher](https://github.com/alexjfisher))
12
+
5
13
  ## [v2.4.3](https://github.com/voxpupuli/puppet-syntax/tree/v2.4.3) (2019-02-09)
6
14
 
7
15
  [Full Changelog](https://github.com/voxpupuli/puppet-syntax/compare/v2.4.2...v2.4.3)
@@ -21,9 +21,13 @@ module PuppetSyntax
21
21
  filelist.each do |puppet_file|
22
22
  Puppet::Test::TestHelper.before_each_test
23
23
  begin
24
- validate_manifest(puppet_file)
24
+ error = validate_manifest(puppet_file)
25
+ if error.is_a?(Hash) # Puppet 6.5.0 onwards
26
+ output << error.values.first unless error.empty?
27
+ end
25
28
  rescue SystemExit
26
29
  # Disregard exit(1) from face.
30
+ # This is how puppet < 6.5.0 `validate_manifest` worked.
27
31
  rescue => error
28
32
  output << error
29
33
  ensure
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = '2.4.3'
2
+ VERSION = '2.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-syntax
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-09 00:00:00.000000000 Z
11
+ date: 2019-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.0.2
145
+ rubygems_version: 3.0.4
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Syntax checks for Puppet manifests, templates, and Hiera YAML