Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Add ability to pass --target-dir to beaker-module_install_helper #29

Open
canihavethisone opened this issue Feb 27, 2021 · 4 comments
Open

Comments

@canihavethisone
Copy link

The function install_module_dependencies_on has no param to specify a target-dir when installing deps.

A subfunction of install_puppet_module_via_pmt_on has a hash merge with default_module_install_opts however I am unable to get this to work when set in spec_heler_acceptance to use resolvable params such as #{agent[0].hostname}

@ekohl
Copy link
Member

ekohl commented Mar 2, 2021

I actually just merged #26. Does that solve your need?

@canihavethisone
Copy link
Author

Hi, thanks for that. I will look tonight however am unsure if the new opts you added will be available from the install_module_dependencies_on function?

@ekohl
Copy link
Member

ekohl commented Mar 3, 2021

Ah right, I only added it to install_module(_on). You would need to expand the API for install_module_dependencies(_on) in the same way.

@canihavethisone
Copy link
Author

yes, any help getting this code added would be awesome. :)

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