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

Fix calling class with service_ensure stopped #11

Merged
merged 4 commits into from
Mar 1, 2023

Conversation

bparak
Copy link
Contributor

@bparak bparak commented Feb 22, 2023

Pull Request (PR) description

Using the snap provider inside the snap class prevents us from using the class to stop snapd itself. Since this seems to be sort of supported based on params, this simple conditional fixes the problem.

This Pull Request (PR) fixes the following issues

n/a (none open on this repo)

Copy link
Owner

@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.

Hello @bparak and thanks for the PR!

Please rebase with master branch since I pushed some commits to fix the CI pipeline.

manifests/init.pp Outdated Show resolved Hide resolved
@root-expert root-expert added the bug Something isn't working label Feb 28, 2023
bparak and others added 3 commits February 28, 2023 17:59
Using the `snap` provider inside the `snap` class prevents us from using the class to stop `snapd` itself. Since this seems to be sort of supported based on params, this simple conditional fixes the problem.
Co-authored-by: Christos Papageorgiou <christos.papageorgioy@gmail.com>
@bparak
Copy link
Contributor Author

bparak commented Feb 28, 2023

Hi @root-expert ,
Suggestion accepted and branch rebased.

Copy link
Owner

@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.

Thanks!

@root-expert root-expert merged commit d0256bc into root-expert:master Mar 1, 2023
@bparak bparak deleted the patch-1 branch March 9, 2023 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants