Issue #12365 has been reported by Stefan Heijmans. ---------------------------------------- Bug #12365: 2.7.10 puppet resource file only displays 3 digits for file mode https://projects.puppetlabs.com/issues/12365
Author: Stefan Heijmans Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: Branch: running puppet resource file on a file, shows a 3 digit file mode, should be 4. as mentioned in the style guide; http://docs.puppetlabs.com/guides/style_guide.html#file-modes example; # rpm -q puppet puppet-2.7.10-1.el5 # # puppet resource file /etc/hosts /usr/lib/ruby/site_ruby/1.8/puppet/util/instrumentation/listeners/process_name.rb:88: warning: parenthesize argument(s) for future version file { '/etc/hosts': ensure => 'file', content => '{md5}7f9891702ded417769d632a1676ec793', ctime => 'Wed Nov 30 02:41:10 +0100 2011', group => '0', mode => '644', <== should be '0644' mtime => 'Wed Nov 30 02:25:47 +0100 2011', owner => '0', type => 'file', } # -- 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.
