Issue #13296 has been updated by Daniel Pittman.

Target version changed from 3.X to 3.0.0


----------------------------------------
Bug #13296: Using 'unless' when declaring an exec resource causes a syntax error
https://projects.puppetlabs.com/issues/13296#change-62362

Author: Nick Lewis
Status: Merged - Pending Release
Priority: Normal
Assignee: Jeff Weiss
Category: language
Target version: 3.0.0
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.

Reply via email to