On Wed, Jan 5, 2011 at 2:52 PM, Michael Knox <michael.knox...@gmail.com>wrote:
> It would be neat if puppet could use tar.gz's as a source, instead of just > bare directory trees. So I've lodged a feature request: > https://projects.puppetlabs.com/issues/5786 > > Many of my manifests for applications need to cover the following process: > 1. Download .tar.gz to host > 2. Expand .tar.gz > 3. Whatever install process is required > I'm not totally against this, but I am curious why you haven't decided to build packages for these applications, as that should essentially contain all your desired functionality right? > > 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 .tar.gz > It would also keep the contents in sync with .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. > > > -- > Michael Knox > > Systems Administrator, DEK Technologies P/L > > Email:michael.k...@dektech.com.au <email%3amichael.k...@dektech.com.au>, > Skype: michael.knox.au > Phone: +61 (0) 3 9302 8940, Mobile: +61 (0) 410 124 816 > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.