Skip to content

Instantly share code, notes, and snippets.

@phobos182
Created August 15, 2012 21:23
Show Gist options
  • Save phobos182/3363783 to your computer and use it in GitHub Desktop.
Save phobos182/3363783 to your computer and use it in GitHub Desktop.
#_ FIRST RUN _#
root@server:~# puppet agent -t
info: Retrieving plugin
info: Caching catalog for server
info: Applying configuration version '1345065227'
notice: /Stage[main]/Test/File[/tmp/myfile]/content:
--- /tmp/myfile 2012-08-15 21:18:04.816031799 +0000
+++ /tmp/puppet-file20120815-627-do01b1-0 2012-08-15 21:18:32.011877658 +0000
@@ -1,6 +1,6 @@
-item1_value1 = 1
-item1_value2 = 2
-item1_value3 = 3
item2_value1 = 4
item2_value2 = 5
item2_value3 = 6
+item1_value1 = 1
+item1_value2 = 2
+item1_value3 = 3
info: FileBucket adding {md5}e7b7c7dd02874cf34e211be9295a1836
info: /Stage[main]/Test/File[/tmp/myfile]: Filebucketed /tmp/myfile to puppet with sum e7b7c7dd02874cf34e211be9295a1836
notice: /Stage[main]/Test/File[/tmp/myfile]/content: content changed '{md5}e7b7c7dd02874cf34e211be9295a1836' to '{md5}1f25c9f2c1efb8943f813f6c330f30d6'
notice: Finished catalog run in 7.93 seconds
#_ SECOND RUN _#
root@server:~# puppet agent -t
info: Retrieving plugin
info: Caching catalog for server
info: Applying configuration version '1345065185'
notice: /Stage[main]/Test/File[/tmp/myfile]/content:
--- /tmp/myfile 2012-08-15 21:18:32.071868496 +0000
+++ /tmp/puppet-file20120815-3822-1y2hy4g-0 2012-08-15 21:22:31.795250610 +0000
@@ -1,6 +1,6 @@
-item2_value1 = 4
-item2_value2 = 5
-item2_value3 = 6
item1_value1 = 1
item1_value2 = 2
item1_value3 = 3
+item2_value1 = 4
+item2_value2 = 5
+item2_value3 = 6
info: FileBucket adding {md5}1f25c9f2c1efb8943f813f6c330f30d6
info: /Stage[main]/Test/File[/tmp/myfile]: Filebucketed /tmp/myfile to puppet with sum 1f25c9f2c1efb8943f813f6c330f30d6
notice: /Stage[main]/Test/File[/tmp/myfile]/content: content changed '{md5}1f25c9f2c1efb8943f813f6c330f30d6' to '{md5}e7b7c7dd02874cf34e211be9295a1836'
notice: Finished catalog run in 7.93 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment