Skip to content

Instantly share code, notes, and snippets.

@lak
Created April 6, 2011 21:54
Show Gist options
  • Save lak/906625 to your computer and use it in GitHub Desktop.
Save lak/906625 to your computer and use it in GitHub Desktop.
luke@syringe $ md5sum /tmp/baz
e31be87da5b8002afc983eecd1e29223 /tmp/baz
luke@syringe $ echo asdfasdf >> ~/etc/puppet/modules/mymod/files/myfile
luke@syringe $ puppet agent --verbose --test --server localhost
info: Caching catalog for localhost
info: Applying configuration version '1302126831'
--- /tmp/baz 2011-04-06 14:51:40.000000000 -0700
+++ /var/folders/8B/8BmBDildHw40ZzYiLHHQuk+++TI/-Tmp-/puppet-file20110406-29205-xza4j7-0 2011-04-06 14:53:52.000000000 -0700
@@ -1,2 +1,4 @@
mainfile
foobar
+asdfasdf
+asdfasdf
info: FileBucket adding {md5}e31be87da5b8002afc983eecd1e29223
info: /Stage[main]/Testing/File[/tmp/baz]: Filebucketed /tmp/baz to puppet with sum e31be87da5b8002afc983eecd1e29223
notice: /Stage[main]/Testing/File[/tmp/baz]/content: content changed '{md5}e31be87da5b8002afc983eecd1e29223' to '{md5}9aedba7f413c97dc65895b1cd9421f2c'
notice: Finished catalog run in 0.39 seconds
luke@syringe $ md5sum /tmp/baz
9aedba7f413c97dc65895b1cd9421f2c /tmp/baz
luke@syringe $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment