github / github/octocatalog-diff

not showing any differences

Open
#132 5 comments 0 reactions 0 assignees View on GitHub
Operational
Dominant language
Ruby
Stars
252
Forks
95
PR merge metrics
No merged PRs in 30d

Description

> Description of problem

octodiff is not showing any differences when there should be differences.

I made a branch called 'octodiff_test'. I made a change in this branch that would impact node 'blah.domain.com'. When I run octodiff, it says 'No differences'. I expected differences to be be shown.

If I repeat this for a node that doesn't exist, I get the same outcome.

I followed the troubleshooting and when I create look at the compiled JSON, the file is basically empty.

- What did you do?
- What happened?
- What did you expect to happen?
- How can someone reproduce the problem?

> Command used and debugging output

See [run_output.txt](https://github.com/github/octocatalog-diff/files/1071445/run_output.txt) attached.

I tried following the troubleshooting and the catalog that is compiled is basically empty. I assume its creating this catalog for each branch and finding no diff.

See [troubleshooting.txt](https://github.com/github/octocatalog-diff/files/1071444/troubleshooting.txt) attached.

I think the issue is related to classification. We are setting the role of the host in environments/stress_test/manifests/site.pp, We dont use ENC, so I'm not sure how we can classify a node in Hiera.

> Platform and version information

- Your OS: Linux
- Your Ruby version: ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-linux]
- Your version of Puppet: 4.7.0 open source
- Your version of octocatalog-diff: 1.1.0

> Do the tests pass from a clean checkout?

I installed from gem, so assume this does not apply.

> Anything else to add that you think will be helpful?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.