Jira (PUP-9960) Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows

2023-01-27 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9960  
 
 
  Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Coremunity Phoenix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320612.1565660441000.5068.1674833700077%40Atlassian.JIRA.


Jira (PUP-9960) Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows

2019-08-19 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9960  
 
 
  Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 
 
Team: 
 Coremunity  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320612.1565660441000.60886.1566234060433%40Atlassian.JIRA.


Jira (PUP-9960) Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows

2019-08-13 Thread Henrik Lindberg (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Henrik Lindberg assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9960  
 
 
  Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows   
 

  
 
 
 
 

 
Change By: 
 Henrik Lindberg  
 
 
Assignee: 
 Henrik Lindberg  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320612.1565660441000.53148.1565703240622%40Atlassian.JIRA.


Jira (PUP-9960) Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows

2019-08-13 Thread Henrik Lindberg (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Henrik Lindberg updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9960  
 
 
  Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows   
 

  
 
 
 
 

 
Change By: 
 Henrik Lindberg  
 
 
Component/s: 
 Windows  
 
 
Component/s: 
 Functions  
 
 
Component/s: 
 Catalog Application  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.320612.1565660441000.53156.1565703240697%40Atlassian.JIRA.


Jira (PUP-9960) Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows

2019-08-12 Thread Trevor Vaughan (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Trevor Vaughan created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9960  
 
 
  Puppet::Util::Execution.execute('command') does not return a Puppet::ExecutionFailure on Windows   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 PUP 5.5.16  
 
 
Assignee: 
 Henrik Lindberg  
 
 
Components: 
 Functions, Windows  
 
 
Created: 
 2019/08/12 6:40 PM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Trevor Vaughan  
 

  
 
 
 
 

 
 Puppet Version: 5.5.16 Puppet Server Version: N/A OS Name/Version: Windows 2012r2 Running Puppet::Util::Execution.execute('foo') should raise a Puppet::ExecutionFailure exception but, instead raises Errno::ENOENT since the command is not found. This appears to go against the documented API of the function and makes creating code that is safe for all operating systems difficult. Desired Behavior: Always raise Puppet::ExecutionFailure on an error. Actual Behavior:   Errno::ENOENT is raised.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment