Skip to content

Commit 49ecddd

Browse files
committed
released as 2.3.1
relaxes puppet dependency
1 parent d8d6c81 commit 49ecddd

File tree

4 files changed

+49
-21
lines changed

4 files changed

+49
-21
lines changed

.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.3.1

doc/optionsref.md

+45-17
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ Usage: octocatalog-diff [command line options]
6666
--[no-]display-source Show source file and line for each difference
6767
--[no-]validate-references "before,require,subscribe,notify"
6868
References to validate
69-
--[no-]compare-file-text Compare text, not source location, of file resources
69+
--[no-]compare-file-text[=force]
70+
Compare text, not source location, of file resources
71+
--storeconfigs-backend TERMINUS
72+
Set the terminus used for storeconfigs
7073
--[no-]storeconfigs Enable integration with puppetdb for collected resources
7174
--retry-failed-catalog N Retry building a failed catalog N times
7275
--no-enc Disable ENC
@@ -106,7 +109,7 @@ Usage: octocatalog-diff [command line options]
106109
--puppetdb-token-file PATH Path containing token for PuppetDB API, relative or absolute
107110
--puppetdb-url URL PuppetDB base URL
108111
--puppetdb-ssl-ca FILENAME CA certificate that signed the PuppetDB certificate
109-
--puppetdb-ssl-crl FILENAME Certificate Revocation List of the CA that signed PuppetDB's certificate.
112+
--puppetdb-ssl-crl FILENAME Certificate Revocation List provided by the Puppetserver
110113
--puppetdb-ssl-client-cert FILENAME
111114
SSL client certificate to connect to PuppetDB
112115
--puppetdb-ssl-client-key FILENAME
@@ -373,7 +376,14 @@ diffing activity. The catalog will be printed to STDOUT or written to the output
373376
When a file is specified with `source => 'puppet:///modules/something/foo.txt'`, remove
374377
the 'source' attribute and populate the 'content' attribute with the text of the file.
375378
This allows for a diff of the content, rather than a diff of the location, which is
376-
what is most often desired. (<a href="../lib/octocatalog-diff/cli/options/compare_file_text.rb">compare_file_text.rb</a>)
379+
what is most often desired.
380+
This has historically been a binary option, so --compare-file-text with no argument will
381+
set this to `true` and --no-compare-file-text will set this to `false`. Note that
382+
--no-compare-file-text does not accept an argument.
383+
File text comparison will be auto-disabled in circumstances other than compiling and
384+
comparing two catalogs. To force file text comparison to be enabled at other times,
385+
set --compare-file-text=force. This allows the content of the file to be substituted
386+
in to --catalog-only compilations, for example. (<a href="../lib/octocatalog-diff/cli/options/compare_file_text.rb">compare_file_text.rb</a>)
377387
</td>
378388
</tr>
379389

@@ -388,7 +398,14 @@ what is most often desired. (<a href="../lib/octocatalog-diff/cli/options/compar
388398
When a file is specified with `source => 'puppet:///modules/something/foo.txt'`, remove
389399
the 'source' attribute and populate the 'content' attribute with the text of the file.
390400
This allows for a diff of the content, rather than a diff of the location, which is
391-
what is most often desired. (<a href="../lib/octocatalog-diff/cli/options/compare_file_text.rb">compare_file_text.rb</a>)
401+
what is most often desired.
402+
This has historically been a binary option, so --compare-file-text with no argument will
403+
set this to `true` and --no-compare-file-text will set this to `false`. Note that
404+
--no-compare-file-text does not accept an argument.
405+
File text comparison will be auto-disabled in circumstances other than compiling and
406+
comparing two catalogs. To force file text comparison to be enabled at other times,
407+
set --compare-file-text=force. This allows the content of the file to be substituted
408+
in to --catalog-only compilations, for example. (<a href="../lib/octocatalog-diff/cli/options/compare_file_text.rb">compare_file_text.rb</a>)
392409
</td>
393410
</tr>
394411

@@ -1441,19 +1458,6 @@ matches the name you are using to connecting. (<a href="../lib/octocatalog-diff/
14411458
</td>
14421459
</tr>
14431460

1444-
<tr>
1445-
<td valign=top>
1446-
<pre><code>--puppetdb-ssl-crl FILENAME</code></pre>
1447-
</td>
1448-
<td valign=top>
1449-
Certificate Revocation List that is supplied by Puppetserver
1450-
</td>
1451-
<td valign=top>
1452-
Specify the Certificate Revocation List file.
1453-
(<a href="../lib/octocatalog-diff/cli/options/puppetdb_ssl_crl.rb">puppetdb_ssl_crl.rb</a>)
1454-
</td>
1455-
</tr>
1456-
14571461
<tr>
14581462
<td valign=top>
14591463
<pre><code>--puppetdb-ssl-client-cert FILENAME</code></pre>
@@ -1506,6 +1510,18 @@ the text of the password won't appear in the process list. (<a href="../lib/octo
15061510
</td>
15071511
</tr>
15081512

1513+
<tr>
1514+
<td valign=top>
1515+
<pre><code>--puppetdb-ssl-crl FILENAME</code></pre>
1516+
</td>
1517+
<td valign=top>
1518+
Certificate Revocation List provided by the Puppetserver
1519+
</td>
1520+
<td valign=top>
1521+
Specify the Certificate Revocation List for PuppetDB SSL. (<a href="../lib/octocatalog-diff/cli/options/puppetdb_ssl_crl.rb">puppetdb_ssl_crl.rb</a>)
1522+
</td>
1523+
</tr>
1524+
15091525
<tr>
15101526
<td valign=top>
15111527
<pre><code>--puppetdb-token TOKEN</code></pre>
@@ -1614,6 +1630,18 @@ cached directory). (<a href="../lib/octocatalog-diff/cli/options/safe_to_delete_
16141630
</td>
16151631
</tr>
16161632

1633+
<tr>
1634+
<td valign=top>
1635+
<pre><code>--storeconfigs-backend TERMINUS</code></pre>
1636+
</td>
1637+
<td valign=top>
1638+
Set the terminus used for storeconfigs
1639+
</td>
1640+
<td valign=top>
1641+
Set storeconfigs (integration with PuppetDB for collected resources) (<a href="../lib/octocatalog-diff/cli/options/storeconfigs_backend.rb">storeconfigs_backend.rb</a>)
1642+
</td>
1643+
</tr>
1644+
16171645
<tr>
16181646
<td valign=top>
16191647
<pre><code>--suppress-absent-file-details

octocatalog-diff.gemspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require 'json'
22

3-
DEFAULT_PUPPET_VERSION = '5.5.22'.freeze
3+
DEFAULT_PUPPET_VERSION = '7.32.1'.freeze
44

55
Gem::Specification.new do |s|
66
s.required_ruby_version = '>= 2.6.0'
@@ -30,8 +30,8 @@ EOF
3030
s.add_runtime_dependency 'hashdiff', '>= 0.3.0'
3131
s.add_runtime_dependency 'parallel', '>= 1.12.0'
3232
s.add_runtime_dependency 'rugged', '>= 0.25.0b2'
33-
s.add_runtime_dependency 'puppet', puppet_version
34-
s.add_development_dependency 'puppet', puppet_version
33+
s.add_runtime_dependency 'puppet', '>= 5.5.0'
34+
s.add_development_dependency 'puppet', '>= 5.5.0'
3535
s.add_development_dependency 'rspec', '~> 3.4.0'
3636
s.add_development_dependency 'rake', '12.3.3'
3737
s.add_development_dependency 'parallel_tests', '2.7.1'

vendor/cache/puppet-7.32.1.gem

1.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)