ripienaar/puppet-catalog-diff — pull request #7 by masterzen (2012-10-20 14:08:18+00:00)
Title: Display file resource content diff

When given the option --content_diff, the catalog diff will also display the differences between the old and new content, instead of displaying only the differing checksum.

Like this:

Example output:
```
puppet catalog diff --content_diff c1.yaml c2.pson
...

Old Resource:
file{"/tmp/file":
content => 0d599f0ec05c3bda8c3b8a68c32a1b47
ensure => present
}

New Resource:
file{"/tmp/file":
content => 5fd8911af476985580a8fe70e04892c1
ensure => present
}

Content diff:
--- /tmp/puppet-diffing20121020-4295-162nvgh-0	2012-10-20 15:52:14.000000000 +0200
+++ /tmp/puppet-diffing20121020-4295-1g3xdav-0	2012-10-20 15:52:14.000000000 +0200
@@ -1,2 +1,2 @@
-blah
+meh
```

Note this changeset contains the puppet face commit.
Let me know if you need me to rebase.