On Jun 3, 2010, at 12:04 PM, Christopher Johnston wrote: > # puppet -ddd foo1.pp > Could not parse for environment production: Syntax error at 'set > /files/etc/services/service-name[port = '1002'] app_tcp'; expected ']' at > /data/foo1.pp:5
It looks like you're trying to use single-quotes (for the port number) inside of single-quotes (for the entire set statement). You'll have to use double-quotes in one place or the other, or escaping the inner single-quotes might also work. I tested it using `augtool`, so it works. It's just a matter of translating it and quoting it correctly for Puppet. -- Rob McBroom <http://www.skurfer.com/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.