Issue #5216 has been reported by Garrett Honeycutt.

----------------------------------------
Bug #5216: puppet resource reports incorrect mode
https://projects.puppetlabs.com/issues/5216

Author: Garrett Honeycutt
Status: Duplicate
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.1
Keywords: 
Branch: 


The file is created with the mode given on the command line, though the 
reported mode is incorrect. The mapping between specified and incorrect modes 
seems to be consistent.

<pre>
$ puppet resource file /tmp/bug ensure=present mode=644
notice: /File[/tmp/bug]/ensure: created
file { '/tmp/bug':
    ensure => 'file',
    mode => '420'
}
</pre>

<pre>
$ ls -la /tmp/bug
-rw-r--r-- 1 root root 0 Nov  1 12:02 /tmp/bug
</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.

Reply via email to