Skip to content

puppet master subcommand is not available with puppet 6 #186

@vinzent

Description

@vinzent

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions