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

Add parameter to manage default target #270

Merged
merged 1 commit into from
May 4, 2022
Merged

Add parameter to manage default target #270

merged 1 commit into from
May 4, 2022

Conversation

jcpunk
Copy link
Contributor

@jcpunk jcpunk commented Apr 18, 2022

Pull Request (PR) description

I was a bit surprised to discover that the default target for systemd was not already something this class managed.

Merging this should probably result in a meaningful version bump since folks who want a different target will need to set one explicitly. The default from systemd upstream is multi-user.target thus that is what I selected.

manifests/init.pp Outdated Show resolved Hide resolved
@jcpunk jcpunk requested a review from kenyon April 18, 2022 22:51
manifests/init.pp Outdated Show resolved Hide resolved
@jcpunk jcpunk changed the title Add parameter to manage default target (breaking change) Add parameter to manage default target Apr 19, 2022
manifests/init.pp Outdated Show resolved Hide resolved
manifests/init.pp Outdated Show resolved Hide resolved
manifests/init.pp Outdated Show resolved Hide resolved
@jcpunk jcpunk changed the title (breaking change) Add parameter to manage default target Add parameter to manage default target Apr 19, 2022
@jcpunk
Copy link
Contributor Author

jcpunk commented Apr 19, 2022

I've reworked it as a non-breaking change using undef as the default-target. This look better?

@jcpunk jcpunk requested review from kenyon and smortex April 19, 2022 19:19
manifests/init.pp Outdated Show resolved Hide resolved
Copy link
Member

@root-expert root-expert left a comment

Choose a reason for hiding this comment

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

LGTM

@root-expert root-expert added enhancement New feature or request and removed backwards-incompatible labels Apr 20, 2022
@jcpunk
Copy link
Contributor Author

jcpunk commented May 3, 2022

I'd love to see this merged in...

@root-expert root-expert merged commit cbf0d92 into voxpupuli:master May 4, 2022
@jcpunk jcpunk deleted the default-target branch May 4, 2022 14:29
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.

4 participants