Even when trying to compare a minimal catalog ('node tstpuppet01.localdomain {}') to itself, I get an error:
# puppet master --environment trunk_9_4_0_0 --compile tstpuppet01.localdomain > /tmp/tstpuppet01.localdomain.new.pson
# puppet catalog diff --debug tstpuppet01.localdomain.new.pson tstpuppet01.localdomain.new.pson
Debug: Runtime environment: puppet_version=5.0.1, ruby_version=2.4.1, run_mode=user, default_encoding=UTF-8
Error: Add --debug for realtime output, add --render-as {json,yaml} for parsed output
Error: undefined method `version' for #<Hash:0x007fdd1d8966b8> <<<<--------------
Error: Try 'puppet help catalog diff' for usage
Is this a versioning issue, perhaps? I'm using:
[root@tstpuppet01 tmp]# puppet --version
5.0.1
[root@tstpuppet01 tmp]# puppet module list
/etc/puppetlabs/code/environments/production/modules (no modules installed)
/etc/puppetlabs/code/modules
├── crayfishx-firewalld (v3.3.2)
├── example42-network (v3.3.7)
├── herculesteam-augeasproviders_core (v2.1.3)
├── herculesteam-augeasproviders_ssh (v2.5.3)
├── puppetlabs-concat (v4.0.1)
├── puppetlabs-firewall (v1.9.0)
├── puppetlabs-limits (v0.1.0)
├── puppetlabs-ntp (v6.2.0)
├── puppetlabs-stdlib (v4.19.0)
└── zack-catalog_diff (v1.6.0)
/opt/puppetlabs/puppet/modules (no modules installed)
Anyone seen this?
- Peter