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 usage of PE installer source when using puppet_agent::install #3346

Open
tuxmea opened this issue Sep 11, 2024 · 2 comments
Open

Allow usage of PE installer source when using puppet_agent::install #3346

tuxmea opened this issue Sep 11, 2024 · 2 comments
Labels
Feature New features and improvements.

Comments

@tuxmea
Copy link
Contributor

tuxmea commented Sep 11, 2024

Use Case

A PE Customer runs an air-gapped environment and want to make use of bolt apply.
Bolt apply uses puppet_agent::install to install the agent.
Default is to install from public source (apt, vum.puppetlabs.com).

One can run the puppet_agent::install task providing the PE yum, apt and msi source.
But the customer prefers to make use of the PE installer script.

Describe the Solution You Would Like

Bolt should be able to identify the target OS and use the appropriate PE installer source.

Describe Alternatives You've Considered

Finding os and the proper PE package paths is time consuming.

@tuxmea tuxmea added the Feature New features and improvements. label Sep 11, 2024
@donoghuc
Copy link
Contributor

I'm not quite following the use case here. So in this case they want to use bolt on targets that want to get packages from PE, but are not actually managed by PE? Apply is careful to not attempt an install if puppet library code is detected. I'm not sure what we can detect on an un-managed target to determine if it is associated in any way with a particular PE instance. Maybe I am misunderstanding the use case though?

@tuxmea
Copy link
Contributor Author

tuxmea commented Sep 12, 2024

I already thought about adding a parameter to puppet_agent::install task, which will point to the pe server.
This would still mean that one must run the task individually, but will allow using existing pe installer source instead of creating a local mirror of Puppet repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New features and improvements.
Projects
None yet
Development

No branches or pull requests

2 participants