puppet-catalog-diff icon indicating copy to clipboard operation
puppet-catalog-diff copied to clipboard

exclude_classes fail with Error: puppet catalog diff takes 2 arguments, but you gave 3

Open jenkins101 opened this issue 8 years ago • 3 comments

Hi,

I am trying to use exclude_classes like this: puppet catalog diff --exclude_classes filebeat --content_diff --use_puppetdb --show_resource_diff ./puppet_catalogs_2.7/server1.pson ./puppet_catalogs_3/server1.pson

But get the following error: Error: puppet catalog diff takes 2 arguments, but you gave 3

What am I doing wrong here?

jenkins101 avatar Apr 22 '16 12:04 jenkins101

Have you tried using --exclude_classes=filebeat?

raphink avatar Apr 22 '16 12:04 raphink

yes. it says invalid argument

jenkins101 avatar Apr 22 '16 14:04 jenkins101

Error: Could not parse application options: needless argument: --exclude_classes=filebeat

jenkins101 avatar Apr 22 '16 14:04 jenkins101