Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Replace direct usage of ${name} #23

Open
doino-gretchenliev opened this issue Apr 24, 2014 · 1 comment
Open

Replace direct usage of ${name} #23

doino-gretchenliev opened this issue Apr 24, 2014 · 1 comment

Comments

@doino-gretchenliev
Copy link

Replace direct usage of ${name}. Use some other field to pass the name of archive. Currently scenario where there is need to extract one archive to multiple destination is not possible. Maybe something like:

define archive::extract (
  $archive_name = $title,
  $target,
  $ensure=present,
  $src_target='/usr/src',
  $root_dir='',
  $extension='tar.gz',
  $timeout=120) { ...
@mcanevet
Copy link
Contributor

@doino-gretchenliev PR welcome

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants