Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow customising module used for installing Puppet agent #539

Open
danielkza opened this issue Jan 4, 2024 · 1 comment
Open

Allow customising module used for installing Puppet agent #539

danielkza opened this issue Jan 4, 2024 · 1 comment

Comments

@danielkza
Copy link

Use Case

I need to use a custom module to install puppet agents onto targets, as the operating systems I am working with don't have packages from PuppetLabs repositories at the moment.

Describe the Solution You Would Like

Allow a way to configure some module name instead of puppet_agent. It doesn't even need to change the usage, as the module can still be assumed to have a task named install.

Describe Alternatives You've Considered

I'm trying to hack around a custom way to provision the VMs created by provision, but simply pointing to a custom module would make life so much easier.

@h0tw1r3
Copy link
Contributor

h0tw1r3 commented Apr 19, 2024

There's nothing that forces you to run the litmus:install_agent task, so roll your own 😄
I typically handle edge cases like this by replacing the rake task with a custom one. Eg, instead of calling rake litmus:install_agent, rake litmus:my_install_agent.

You could start by coping the litmus:install_agent rake task into a custom rake file.

This is an example of adding rake tasks to the litmus namespace.

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

No branches or pull requests

2 participants