gary <[email protected]> writes:

> The provided puppet-mode for emacs provides indent rules for puppet
> code. This is a fix for properly indenting the alias metaparameter:
>
> file { sshdconfig:
>     path => $operatingsystem ? {
>         solaris => "/usr/local/etc/ssh/sshd_config",
>         default => "/etc/ssh/sshd_config"
>     },
>     source => "..."
> }

Thanks!  Once I untangled the patch a little, this looks right.  For
future reference, your patch was reversed (undoing instead of making the
change you were proposing), and traditional diff format is fairly hard to
read.  When making patches, list the old file first and the newly modified
file second and always use the -u flag for the best results.

I'll include this in the update that I'm about to propose.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to