Issue #5786 has been updated by Nigel Kersten.

If we go down this path, I would like to fit this functionality into the 
existing package provider framework as much as possible without adding 
additional parameters that don't apply to any other package providers.

You'd always be free to add a notify to an exec that accomplished the above.
----------------------------------------
Feature #5786: Develop "archive" (bz2/gz) package provider.
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