Issue #7295 has been updated by Nigel Kersten. Status changed from Needs More Information to Closed
I'm going to close this off now, Digant, please file new issues under another ticket, or re-open if there really is an outstanding request from this ticket. ---------------------------------------- Bug #7295: File chsecksum is not being written to state.yaml https://projects.puppetlabs.com/issues/7295 Author: Zach Leslie Status: Closed Priority: Low Assignee: Category: Target version: 2.6.x Affected Puppet version: 2.6.4 Keywords: Branch: When the following manifest is run, I expect that the md5sum gets written to state.yaml. <pre> file { "/tmp/test": content => "bla", audit => all, checksum => md5, } </pre> But no such content is written to state.yaml. <pre> $ sudo puppet -v /tmp/test.pp; sudo grep -A11 "/tmp/test" /var/lib/puppet/state/state.yaml notice: /Stage[main]//File[/tmp/test]/content: content changed '{md5}128ecf542a35ac5270a87dc740918404' to '{md5}bc164a80b614c873a25ea8ea38471ced' "File[/tmp/test]": !ruby/sym owner: 0 !ruby/sym mode: 420 !ruby/sym seluser: !ruby/sym group: 0 !ruby/sym selrole: !ruby/sym target: !ruby/sym notlink !ruby/sym seltype: !ruby/sym selrange: !ruby/sym checked: 2011-04-29 18:11:26.128960 -07:00 !ruby/sym synced: 2011-04-29 17:29:56.315849 -07:00 </pre> The only thing missing from what I can tell is the md5sum. Also, the mode here is 420, which looking at the file, is incorrect: <pre> $ ls -ld /tmp/test -rw-r--r-- 1 root wheel 4 Apr 29 18:14 /tmp/test </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
