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 to install caddy from repos #114

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jay7x
Copy link
Member

@jay7x jay7x commented Nov 30, 2024

Closes #62

@jay7x jay7x force-pushed the manage_repo branch 2 times, most recently from 9a80cc2 to 9a6dcf0 Compare December 1, 2024 14:10
#
class caddy (
String[1] $version = '2.0.0',
Optional[Enum['github']] $install_method = undef,
Optional[Enum['github','repo']] $install_method = undef,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if we should remove the 'Optional' part and add something like 'upstream'. Some people use Hiera to change settings in modules, and the current way make it impossible to revert to upstream on one host if another level in the hierarchy set it to something else.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have that in my mind, but it'll be breaking change (potentially, if someone do class { 'caddy': install_method => undef }). So far I'm trying to keep backward compatibility.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, I'll change this, just in different PR.

@jay7x jay7x marked this pull request as draft December 7, 2024 06:11
@jay7x
Copy link
Member Author

jay7x commented Dec 7, 2024

#115 is required to be merged before to fix acceptance tests.

@jay7x jay7x force-pushed the manage_repo branch 2 times, most recently from dc75bdf to 0cd7c9b Compare December 8, 2024 09:05
@jay7x jay7x force-pushed the manage_repo branch 2 times, most recently from b755324 to 4d3d8cd Compare December 8, 2024 10:41
@jay7x
Copy link
Member Author

jay7x commented Dec 8, 2024

Debian family is good now. Need to fix voxpupuli/puppet-yum#340 to make RedHat family happy.

@jay7x jay7x added the enhancement New feature or request label Dec 14, 2024
@jay7x jay7x marked this pull request as ready for review December 14, 2024 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for .deb / .rpm repositories
2 participants