Issue #13296 has been reported by Nick Lewis.

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

Author: Nick Lewis
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: Telly
Affected Puppet version: 
Keywords: 
Branch: 


<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