Skip to content

Commit 0cd7802

Browse files
committed
Merge branch 'master' of https://github.com/voxpupuli/puppet-catalog-diff into viewer_class2
2 parents b43a395 + 0b61067 commit 0cd7802

File tree

12 files changed

+391
-83
lines changed

12 files changed

+391
-83
lines changed

.rubocop_todo.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2022-06-10 13:21:19 UTC using RuboCop version 1.22.3.
3+
# on 2022-06-12 18:47:33 UTC using RuboCop version 1.22.3.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 21
10-
# Cop supports --auto-correct.
11-
Lint/AmbiguousOperatorPrecedence:
12-
Exclude:
13-
- 'lib/puppet/catalog-diff/differ.rb'
14-
- 'lib/puppet/catalog-diff/formater.rb'
15-
- 'lib/puppet/face/catalog/diff.rb'
16-
179
# Offense count: 3
1810
# Configuration parameters: AllowSafeAssignment.
1911
Lint/AssignmentInCondition:
@@ -101,27 +93,3 @@ Style/MixinUsage:
10193
Style/MultilineBlockChain:
10294
Exclude:
10395
- 'lib/puppet/face/catalog/diff.rb'
104-
105-
# Offense count: 3
106-
# Cop supports --auto-correct.
107-
Style/RedundantParentheses:
108-
Exclude:
109-
- 'lib/puppet/catalog-diff/differ.rb'
110-
- 'lib/puppet/catalog-diff/formater.rb'
111-
112-
# Offense count: 7
113-
# Cop supports --auto-correct.
114-
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
115-
# SupportedStyles: slashes, percent_r, mixed
116-
Style/RegexpLiteral:
117-
Exclude:
118-
- 'lib/puppet/face/catalog/pull.rb'
119-
- 'spec/unit/puppet/catalog_diff/comparer_spec.rb'
120-
121-
# Offense count: 2
122-
# Cop supports --auto-correct.
123-
# Configuration parameters: Mode.
124-
Style/StringConcatenation:
125-
Exclude:
126-
- 'lib/puppet/catalog-diff/formater.rb'
127-
- 'spec/unit/puppet/catalog_diff/comparer_spec.rb'

CHANGELOG.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,66 @@
1-
# Change log
2-
3-
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
Each new release typically also includes the latest modulesync defaults.
5+
These should not affect the functionality of the module.
6+
7+
## [v3.0.0](https://github.com/voxpupuli/puppet-catalog_diff/tree/v3.0.0) (2022-07-20)
8+
9+
[Full Changelog](https://github.com/voxpupuli/puppet-catalog_diff/compare/v2.3.0...v3.0.0)
10+
11+
**Breaking changes:**
12+
13+
- Remove legacy Puppet manifest [\#36](https://github.com/voxpupuli/puppet-catalog_diff/pull/36) ([raphink](https://github.com/raphink))
14+
15+
**Implemented enhancements:**
16+
17+
- Document fact bootstrapping for new puppetserver [\#89](https://github.com/voxpupuli/puppet-catalog_diff/pull/89) ([bastelfreak](https://github.com/bastelfreak))
18+
- Support custom TLS certificates for old Puppetserver [\#87](https://github.com/voxpupuli/puppet-catalog_diff/pull/87) ([bastelfreak](https://github.com/bastelfreak))
19+
- Add support for custom certificates to old PuppetDB [\#72](https://github.com/voxpupuli/puppet-catalog_diff/pull/72) ([bastelfreak](https://github.com/bastelfreak))
20+
- Add Puppet 7 support [\#70](https://github.com/voxpupuli/puppet-catalog_diff/pull/70) ([bastelfreak](https://github.com/bastelfreak))
21+
- Implement support for custom PuppetDB URLs [\#68](https://github.com/voxpupuli/puppet-catalog_diff/pull/68) ([bastelfreak](https://github.com/bastelfreak))
22+
- comparer: exit early if checksum in old/new catalog is equal [\#65](https://github.com/voxpupuli/puppet-catalog_diff/pull/65) ([bastelfreak](https://github.com/bastelfreak))
23+
- compilecatalog: Switch to new HTTP client implementation [\#61](https://github.com/voxpupuli/puppet-catalog_diff/pull/61) ([bastelfreak](https://github.com/bastelfreak))
24+
25+
**Fixed bugs:**
26+
27+
- comparer: exit earily if old/new contents are empty [\#66](https://github.com/voxpupuli/puppet-catalog_diff/pull/66) ([bastelfreak](https://github.com/bastelfreak))
28+
- Don't format Floats as Strings [\#54](https://github.com/voxpupuli/puppet-catalog_diff/pull/54) ([alexjfisher](https://github.com/alexjfisher))
29+
30+
**Closed issues:**
31+
32+
- node\_list doesn't work as intended [\#62](https://github.com/voxpupuli/puppet-catalog_diff/issues/62)
33+
- Migrating this Repository to Voxpupuli [\#60](https://github.com/voxpupuli/puppet-catalog_diff/issues/60)
34+
- doing diff on same node - 2 different environments? [\#41](https://github.com/voxpupuli/puppet-catalog_diff/issues/41)
35+
- Saving a report doesn't work when passing two catalogs into the CLI [\#37](https://github.com/voxpupuli/puppet-catalog_diff/issues/37)
36+
37+
**Merged pull requests:**
38+
39+
- Document talks/blogposts about puppet-catalog-diff [\#86](https://github.com/voxpupuli/puppet-catalog_diff/pull/86) ([bastelfreak](https://github.com/bastelfreak))
40+
- Document --certless advantage/trusted facts setup [\#85](https://github.com/voxpupuli/puppet-catalog_diff/pull/85) ([bastelfreak](https://github.com/bastelfreak))
41+
- rubocop: various small cleanups part 4 [\#84](https://github.com/voxpupuli/puppet-catalog_diff/pull/84) ([bastelfreak](https://github.com/bastelfreak))
42+
- rubocop: various small cleanups part 3 [\#83](https://github.com/voxpupuli/puppet-catalog_diff/pull/83) ([bastelfreak](https://github.com/bastelfreak))
43+
- rubocop: various small cleanups part 1 [\#82](https://github.com/voxpupuli/puppet-catalog_diff/pull/82) ([bastelfreak](https://github.com/bastelfreak))
44+
- rubocop: various small cleanups part 1 [\#81](https://github.com/voxpupuli/puppet-catalog_diff/pull/81) ([bastelfreak](https://github.com/bastelfreak))
45+
- rubocop: Fix Style/TrailingCommaInArguments [\#80](https://github.com/voxpupuli/puppet-catalog_diff/pull/80) ([bastelfreak](https://github.com/bastelfreak))
46+
- rubocop: Fix Style/SymbolProc [\#79](https://github.com/voxpupuli/puppet-catalog_diff/pull/79) ([bastelfreak](https://github.com/bastelfreak))
47+
- rubocop: Fix Style/BlockDelimiters [\#78](https://github.com/voxpupuli/puppet-catalog_diff/pull/78) ([bastelfreak](https://github.com/bastelfreak))
48+
- rubocop: Fix Layout/IndentationWidth [\#77](https://github.com/voxpupuli/puppet-catalog_diff/pull/77) ([bastelfreak](https://github.com/bastelfreak))
49+
- rubocop: Fix Layout/EmptyLineAfterGuardClause [\#76](https://github.com/voxpupuli/puppet-catalog_diff/pull/76) ([bastelfreak](https://github.com/bastelfreak))
50+
- rubocop: Fix Layout/IndentationConsistency [\#75](https://github.com/voxpupuli/puppet-catalog_diff/pull/75) ([bastelfreak](https://github.com/bastelfreak))
51+
- rubocop: Fix Layout/EndAlignment [\#74](https://github.com/voxpupuli/puppet-catalog_diff/pull/74) ([bastelfreak](https://github.com/bastelfreak))
52+
- rubocop: Fix Layout/ElseAlignment [\#73](https://github.com/voxpupuli/puppet-catalog_diff/pull/73) ([bastelfreak](https://github.com/bastelfreak))
53+
- Clarify supported Puppet versions in README.md [\#71](https://github.com/voxpupuli/puppet-catalog_diff/pull/71) ([bastelfreak](https://github.com/bastelfreak))
54+
- Cleanup old code [\#67](https://github.com/voxpupuli/puppet-catalog_diff/pull/67) ([bastelfreak](https://github.com/bastelfreak))
55+
- comparer: cleanup trailing whitespace [\#64](https://github.com/voxpupuli/puppet-catalog_diff/pull/64) ([bastelfreak](https://github.com/bastelfreak))
56+
- auth.conf: Document how to update it with Puppet [\#63](https://github.com/voxpupuli/puppet-catalog_diff/pull/63) ([bastelfreak](https://github.com/bastelfreak))
57+
- Adding --node\_list option [\#55](https://github.com/voxpupuli/puppet-catalog_diff/pull/55) ([as0bu](https://github.com/as0bu))
58+
- Make --output\_report work when diffing two catalog files or directories. [\#50](https://github.com/voxpupuli/puppet-catalog_diff/pull/50) ([natemccurdy](https://github.com/natemccurdy))
59+
- Prevent 'false' from showing up in the console report [\#49](https://github.com/voxpupuli/puppet-catalog_diff/pull/49) ([natemccurdy](https://github.com/natemccurdy))
60+
- README.md: fix installation command [\#48](https://github.com/voxpupuli/puppet-catalog_diff/pull/48) ([aerickson](https://github.com/aerickson))
61+
- Fix `threads` option in `pull` face [\#40](https://github.com/voxpupuli/puppet-catalog_diff/pull/40) ([alexjfisher](https://github.com/alexjfisher))
62+
- Adds backward compatibility with older version of PuppetDB used in Puppet 3, to support Puppet 3 to 5 upgrades [\#39](https://github.com/voxpupuli/puppet-catalog_diff/pull/39) ([JohnEricson](https://github.com/JohnEricson))
63+
- Fix "Error: invalid byte sequence in UTF-8" error when retrieving catalogues with invalid encoding from PuppetDB on Puppet 3 server [\#38](https://github.com/voxpupuli/puppet-catalog_diff/pull/38) ([JohnEricson](https://github.com/JohnEricson))
464

565
## [v2.3.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.3.0) (2020-08-18)
666

HISTORY.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
1+
## [v2.3.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.3.0) (2020-08-18)
2+
3+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v2.2.1...v2.3.0)
4+
5+
### Added
6+
7+
- Use `prefer\_requested\_environment` `true` [\#35](https://github.com/camptocamp/puppet-catalog-diff/pull/35) ([alexjfisher](https://github.com/alexjfisher))
8+
- Include list of `all\_changed\_nodes` in json report [\#34](https://github.com/camptocamp/puppet-catalog-diff/pull/34) ([alexjfisher](https://github.com/alexjfisher))
9+
- Hide sensitive parameters [\#33](https://github.com/camptocamp/puppet-catalog-diff/pull/33) ([alexjfisher](https://github.com/alexjfisher))
10+
- Add link to upload\_facts.rb script and documentation how to use it in Puppet upgrades to README [\#30](https://github.com/camptocamp/puppet-catalog-diff/pull/30) ([JohnEricson](https://github.com/JohnEricson))
11+
12+
## [v2.2.1](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.2.1) (2020-07-15)
13+
14+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v2.2.0...v2.2.1)
15+
16+
### Fixed
17+
18+
- Get rid of obsolete URI.escape [\#29](https://github.com/camptocamp/puppet-catalog-diff/pull/29) ([raphink](https://github.com/raphink))
19+
- Fix problem where a node's details wouldn't load/show in puppet-catalog-diff-viewer [\#28](https://github.com/camptocamp/puppet-catalog-diff/pull/28) ([JohnEricson](https://github.com/JohnEricson))
20+
21+
## [v2.2.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.2.0) (2020-06-19)
22+
23+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v2.1.1...v2.2.0)
24+
25+
### Added
26+
27+
- Add --exclude\_resource\_types= flag [\#27](https://github.com/camptocamp/puppet-catalog-diff/pull/27) ([raphink](https://github.com/raphink))
28+
29+
## [v2.1.1](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.1.1) (2020-06-10)
30+
31+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v2.1.0...v2.1.1)
32+
33+
## [v2.1.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.1.0) (2020-06-10)
34+
35+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v2.0.0...v2.1.0)
36+
37+
### Added
38+
39+
- Use \#notice instead of \#err for realtime message [\#26](https://github.com/camptocamp/puppet-catalog-diff/pull/26) ([raphink](https://github.com/raphink))
40+
- Add --exclude\_defined\_resources [\#25](https://github.com/camptocamp/puppet-catalog-diff/pull/25) ([raphink](https://github.com/raphink))
41+
42+
## [v2.0.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v2.0.0) (2020-05-05)
43+
44+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v1.7.0...v2.0.0)
45+
46+
### Changed
47+
48+
- Decommission old fact\_search methods [\#17](https://github.com/camptocamp/puppet-catalog-diff/pull/17) ([raphink](https://github.com/raphink))
49+
50+
### Added
51+
52+
- Add coveralls [\#20](https://github.com/camptocamp/puppet-catalog-diff/pull/20) ([raphink](https://github.com/raphink))
53+
- Test comparer [\#18](https://github.com/camptocamp/puppet-catalog-diff/pull/18) ([raphink](https://github.com/raphink))
54+
- Update Readme [\#16](https://github.com/camptocamp/puppet-catalog-diff/pull/16) ([raphink](https://github.com/raphink))
55+
- Refactor/lint [\#15](https://github.com/camptocamp/puppet-catalog-diff/pull/15) ([raphink](https://github.com/raphink))
56+
57+
### Fixed
58+
59+
- Fix convert\_pdb [\#21](https://github.com/camptocamp/puppet-catalog-diff/pull/21) ([raphink](https://github.com/raphink))
60+
61+
## [v1.7.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v1.7.0) (2020-05-05)
62+
63+
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v1.6.0...v1.7.0)
64+
65+
### Added
66+
67+
- Refactor [\#14](https://github.com/camptocamp/puppet-catalog-diff/pull/14) ([raphink](https://github.com/raphink))
68+
- Lint [\#13](https://github.com/camptocamp/puppet-catalog-diff/pull/13) ([raphink](https://github.com/raphink))
69+
- Ignore parameters [\#12](https://github.com/camptocamp/puppet-catalog-diff/pull/12) ([raphink](https://github.com/raphink))
70+
- Sort hash keys in formater [\#11](https://github.com/camptocamp/puppet-catalog-diff/pull/11) ([raphink](https://github.com/raphink))
71+
- Include environment in report [\#10](https://github.com/camptocamp/puppet-catalog-diff/pull/10) ([raphink](https://github.com/raphink))
72+
- Update to current PDK template [\#9](https://github.com/camptocamp/puppet-catalog-diff/pull/9) ([DavidS](https://github.com/DavidS))
73+
- Cache str diffs [\#8](https://github.com/camptocamp/puppet-catalog-diff/pull/8) ([raphink](https://github.com/raphink))
74+
- Puppetdb catalog [\#7](https://github.com/camptocamp/puppet-catalog-diff/pull/7) ([raphink](https://github.com/raphink))
75+
- Output endpoint in debug [\#6](https://github.com/camptocamp/puppet-catalog-diff/pull/6) ([raphink](https://github.com/raphink))
76+
- Support certless API [\#3](https://github.com/camptocamp/puppet-catalog-diff/pull/3) ([raphink](https://github.com/raphink))
77+
- Use v3 catalog API [\#2](https://github.com/camptocamp/puppet-catalog-diff/pull/2) ([raphink](https://github.com/raphink))
78+
79+
### Fixed
80+
81+
- Fix: v4/catalog returns an embedded catalog [\#5](https://github.com/camptocamp/puppet-catalog-diff/pull/5) ([raphink](https://github.com/raphink))
82+
- Check key in parsed catalog [\#1](https://github.com/camptocamp/puppet-catalog-diff/pull/1) ([raphink](https://github.com/raphink))
83+
184
## [v1.6.0](https://github.com/camptocamp/puppet-catalog-diff/tree/v1.6.0) (2015-06-04)
285
[Full Changelog](https://github.com/camptocamp/puppet-catalog-diff/compare/v1.5.2...v1.6.0)
386

0 commit comments

Comments
 (0)