Jira (PUP-6066) Puppet::Util::Execution.execute handling of escape double quotes in array

2016-03-19 Thread Nan Liu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nan Liu created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-6066 
 
 
 
  Puppet::Util::Execution.execute handling of escape double quotes in array  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Kylo Ginsberg 
 
 
 

Components:
 

 Client 
 
 
 

Created:
 

 2016/03/17 10:02 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nan Liu 
 
 
 
 
 
 
 
 
 
 
Puppet::Util::Execution.execute does not handle \" escape double quotes for array commands properly: 
cmd = ["wget", "http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz", "-O", "/tmp/jdk-7u80-linux-x64.tar.gz_20160317-16253-1m9avpd", "--max-redirect=5", "--header=\"Cookie: oraclelicense=accept-securebackup-cookie\""] 
This results in a html file: Puppet::Util::Execution.execute(cmd) But this works with a proper download: Puppet::Util::Execution.execute(cmd.join(' ')) 
This affects provider commands methods, so this does not work properly: commands :wget => 'wget' wget(params)  
See https://github.com/voxpupuli/puppet-archive/issues/142 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
   

Jira (PUP-3979) Windows Package Should Switch between Execute and Install Mode

2015-02-13 Thread Nan Liu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nan Liu commented on  PUP-3979 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Windows Package Should Switch between Execute and Install Mode  
 
 
 
 
 
 
 
 
 
 
Can you use loglevel = debug for the exec? or just use unless = 'change.exe usr /install', if you don't want to see the events? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3656) Prefetch eats all exceptions, there is no way to fail out.

2014-12-18 Thread Nan Liu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nan Liu commented on  PUP-3656 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Prefetch eats all exceptions, there is no way to fail out.  
 
 
 
 
 
 
 
 
 
 
Kylo Ginsberg, I would think those are bugs anyhow. I can't imagine anyone want their providers to create resources if prefetch failed which is the current behavior. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3656) Prefetch eats all exceptions, there is no way to fail out.

2014-12-10 Thread Nan Liu (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nan Liu commented on  PUP-3656 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
  Re: Prefetch eats all exceptions, there is no way to fail out.  
 
 
 
 
 
 
 
 
 
 
+1, can no longer tell the difference between api failure and resource provider problems. Since #6907 was intended to handle unsuitable providers, there's really only two exceptions to catch: 
 

LoadError, gems that are unavailable.
 

Command not available. This is currently a very generic Puppet::Error, and simply need a more specific exception class: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/command.rb#L22
 
 
If people are happy with this proposal, I'm happy to write a patch. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 


 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-3386) Puppet Module Gem Dependency Metadata and Installation

2014-10-03 Thread Nan Liu (JIRA)
Title: Message Title










 

 Nan Liu created an issue


















 Puppet /  PUP-3386



  Puppet Module Gem Dependency Metadata and Installation 










Issue Type:

  New Feature




Assignee:

 Andy Parker




Components:


 Modules




Created:


 03/Oct/14 10:41 AM




Priority:

  Normal




Reporter:

 Nan Liu










Puppet module metadata.json currently are only concerned with module dependencies. Some modules have gem dependencies that needs to be installed on the master, and the metadata.json file should either include these dependencies or refer to the module Gemfile regarding this dependency. 
The additional info should allow the puppet module tool list the gem dependency and optionally install them as well.
There is a thread on Puppet User regarding this:  https://groups.google.com/forum/#!topic/puppet-users/fScJS3KRZHM












   

 Add Comment











Jira (HI-127) PR (185) Allow escaping %{...} in hiera data so that hiera does not try to perform a replacement

2014-07-26 Thread Nan Liu (JIRA)
Title: Message Title










 

 Nan Liu commented on an issue


















  Re: PR (185) Allow escaping %{...} in hiera data so that hiera does not try to perform a replacement 










This feature should be added to the documentation.












   

 Add Comment

























 Hiera /  HI-127



  PR (185) Allow escaping %{...} in hiera data so that hiera does not try to perform a replacement 







 I have some data that contains Apache variables (such as %{SERVER_NAME}, %{QUERY_STRING}, etc )  in a Hiera file (Yaml backend). However, when I retrieve the value, the string is replaced with  empty value. For instance, for:   myserver: http://%{SERVER_NAME}   I got the value http//   I found out that during the lookup in the YAML backend, the answ...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.