Issue #2259 has been updated by Nigel Kersten.

Subject changed from ralsh output of macauthorization types doesn't produce 
valid output to ralsh doesn't cope with single quotes in property values.
Category deleted (OSX)

<code>
nigelk$ echo "It don't work" > /tmp/testfile
nigelk$ ralsh file /tmp/testfile
file { '/tmp/testfile':
    type => 'file',
    checksum => '{md5}ad5863d556baf4126d4572fb0cb1fb28',
    owner => '56230',
    mode => '420',
    content => 'It don't work
',
    ensure => 'file',
    group => '0'
}
</code>

So this is a more general problem with ralsh and single quoted strings.

Not sure what the best category for this is... poking at the ralsh code now.
----------------------------------------
Bug #2259: ralsh doesn't cope with single quotes in property values.
http://projects.reductivelabs.com/issues/2259

Author: Clay Caviness
Status: Accepted
Priority: Normal
Assigned to: Nigel Kersten
Category: 
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


Specifically, comment fields can include unescaped quotes, which results in 
incorrect syntax:

$ ralsh macauthorization system.identity.write.self
macauthorization { 'system.identity.write.self':
    comment => 'Checked when changing authentication credentials (password or 
certificate) for the current *user's* account.',
    authenticate_user => 'false',
    auth_type => 'right',
    auth_class => 'user',
    ensure => 'present',
    session_owner => 'true'
}


-- 
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