Issue #1757 has been updated by luke.

Status changed from Accepted to Code Insufficient
Target version changed from 0.24.7 to 0.25.0

I'm bumping this ticket, because it's harder than I thought.

I made a first go at it in the tickets/0.24.x/1757 branch in my repo, but it 
doesn't work because it causes all parameter values to be converted to 
human-readable forms even in cases we might not want it.

I think this will have to wait until we find a way to combine the TransObject 
class and the Puppet::Type class.
----------------------------------------
Bug #1757: File mode is printed as decimal instead of octal
http://projects.reductivelabs.com/issues/show/1757

Author: luke
Status: Code Insufficient
Priority: Normal
Assigned to: luke
Category: RAL
Target version: 0.25.0
Complexity: Medium
Affected version: 0.24.6
Keywords: 


When you use ralsh (or anything using the RAL internally) to print file modes, 
it's printed as decimal instead of octal:
<pre>
[EMAIL PROTECTED](0) $ touch /tmp/test
[EMAIL PROTECTED](0) $ ralsh file /tmp/test
file { '/tmp/test':
    type => 'file',
    checksum => '{md5}d41d8cd98f00b204e9800998ecf8427e',
    selrole => '',
    seltype => '',
    mode => '420',
    owner => '501',
    selrange => '',
    group => '0',
    ensure => 'file',
    seluser => ''
}
[EMAIL PROTECTED](0) $
</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://reductivelabs.com/redmine/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