octocatalog-diff: puppet master subcommand is not available with puppet 6
Running octocatalog-diff with puppet 6 from git master branch, fails with Error: Unknown Puppet subcommand 'master'
.
I think this is related to ticket SERVER-990. The proposed alternative is the command puppet catalog find
.
full octocatalog-diff output:
W, [2018-05-31T07:28:38.544598 #16441] WARN -- : Puppet command failed: STDOUT:
Error: Unknown Puppet subcommand 'master'
See 'puppet help' for help on available puppet subcommands
STDERR:
W, [2018-05-31T07:28:38.545095 #16441] WARN -- : Failed build_catalog for HEAD validation: OctocatalogDiff::Errors::CatalogError Catalog failed:
/home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/catalogs.rb:259:in `catalog_validator': Catalog failed: (OctocatalogDiff::Errors::CatalogError)
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:39:in `call'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:39:in `validate'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:202:in `execute_task'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:119:in `block (2 levels) in run_tasks_parallel'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:117:in `fork'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:117:in `block in run_tasks_parallel'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:114:in `each'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:114:in `each_with_index'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:114:in `run_tasks_parallel'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/parallel.rb:94:in `run_tasks'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/catalogs.rb:92:in `build_catalog_parallelizer'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/util/catalogs.rb:29:in `catalogs'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/api/v1/catalog-diff.rb:34:in `catalog_diff'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/api/v1.rb:19:in `catalog_diff'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/lib/octocatalog-diff/cli.rb:119:in `cli'
from /home/user/workspace/odiff/bundle/ruby/gems/octocatalog-diff-1.5.3/bin/octocatalog-diff:34:in `<top (required)>'
from ../odiff/bin/octocatalog-diff:12:in `load'
from ../odiff/bin/octocatalog-diff:12:in `<main>'
[user@server puppetenv (master)]$ /opt/octocatalog-diff-suite/bin/puppet-dev --version
6.0.0
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 1
- Comments: 17 (7 by maintainers)
Commits related to this issue
- Fix for Puppet 6 https://github.com/github/octocatalog-diff/issues/186 — committed to makandra/octocatalog-diff by raphink 5 years ago
Maybe we should do PR and invite someone from maintainers?
@jvperrin thank you! Had the same problem with this error above.
FYI, puppet 6.5 should be released tomorrow (June 19th) and will contain
puppet catalog compile
that behaves the same aspuppet master --compile
did.Perhaps this change will be of use: https://tickets.puppetlabs.com/browse/PUP-9055