Issue #3389 has been updated by James Turnbull.

Status changed from Unreviewed to Rejected

I see this as syntax error rather than a bug.
----------------------------------------
Bug #3389: Autorequire in exec sensitive to leading whitespace
http://projects.puppetlabs.com/issues/3389

Author: Alan Harder
Status: Rejected
Priority: Low
Assigned to: 
Category: 
Target version: 
Affected version: 0.25.4
Keywords: exec autorequire
Branch: 


I had an exec with command => "/full/path/to/script.sh params..", and was 
relying on the autorequire for File["/full/path/to/script.sh"].  I changed the 
params and it got a bit long, so I changed it to:
<pre>
  command => "
    /full/path/to/script.sh params.."
</pre>
for readability.. it seems the autorequire no longer took effect due to this 
leading newline/whitespace.


-- 
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