Issue #5786 has been updated by Michael Knox.

I like the idea of handling tar's (gz, bzip2, or uncompressed) as a packaging 
provider, it's sounds like a better fit.


----------------------------------------
Feature #5786: Support tar/gzip as source
https://projects.puppetlabs.com/issues/5786

Author: Michael Knox
Status: Needs Decision
Priority: Normal
Assignee: Nigel Kersten
Category: fileserving
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Many of my manifests for applications need to cover the following process:
1. Download <application>.tar.gz to host
1. Expand <application>.tar.gz
1. Whatever install process is required


As an example (assuming Feature Request#5783):
 file {"/srv/<application>":
   source => "<puppet|http>://<path>/<application>.tar.gz",
   expand => true,
   recurse => true,
   ensure  => directory,
 }

This would create a directory, and populate it with the contents of 
<application>.tar.gz
It would also keep the contents in sync with <application>.tar.gz.

Expand is a new option for file, but perhaps this could be inferred (and the 
option not needed) as ensure => directory and source is a file.


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