Issue #13296 has been updated by Jeff Weiss. Estimated time changed from 1.00 to 5.00
---------------------------------------- Bug #13296: Using 'unless' when declaring an exec resource causes a syntax error https://projects.puppetlabs.com/issues/13296#change-58534 Author: Nick Lewis Status: In Topic Branch Pending Review Priority: Normal Assignee: Jeff Weiss Category: language Target version: Telly Affected Puppet version: development Keywords: Branch: https://github.com/puppetlabs/puppet/pull/589 <pre> $ cat test.pp exec { "/bin/echo foo": unless => "/usr/bin/false", } $ puppet apply test.pp err: Could not parse for environment production: Syntax error at 'unless'; expected '}' at /Users/nicklewis/projects/puppet/test.pp:2 on node nick-lewis.puppetlabs.lan </pre> The same happens using other reserved words as parameters, but this one is more of an issue because we're already using it as a parameter.. -- 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.
