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 code ordering for ubuntu 18.04 and puppet6 #921

Closed
wants to merge 1 commit into from

Conversation

asifbadkarma
Copy link

@asifbadkarma asifbadkarma commented Jul 4, 2019

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Fixes : #920

@asifbadkarma asifbadkarma reopened this Jul 4, 2019
@gittygoo
Copy link

Can this be merged? seems to work for me

@ekohl
Copy link
Member

ekohl commented Nov 21, 2019

This doesn't look correct to me. My impression is that you first need to stop the old sysvinit service and then you can define the new service. Otherwise systemd will just stop the systemd based service but leave sysvinit around.

@asifbadkarma
Copy link
Author

Anything I need to do to improve this and maybe get it merged ?

@ekohl
Copy link
Member

ekohl commented Nov 26, 2019

I think your solution is incorrect. Once the systemd unit file is in place, systemd will use that to stop the service. However, the entire goal of the transition is to stop the service using the sysvinit script before removing that script. Only then can you start to set up systemd based services. While your change may appear to work, I don't think the transition has any effect anymore.

It also breaks the tests.

@vox-pupuli-tasks
Copy link

Dear @asifbadkarma, thanks for the PR!

This is Vox Pupuli Tasks, your friendly Vox Pupuli Github Bot. I noticed that your pull request has CI failures. Can you please have a look at the failing CI jobs?
If you need any help, you can reach out to us on our IRC channel voxpupuli on Freenode or our Slack channel voxpupuli at slack.puppet.com.
You can find my sourcecode at voxpupuli/vox-pupuli-tasks

@ekohl
Copy link
Member

ekohl commented Jun 8, 2020

Closing for inactivity.

@ekohl ekohl closed this Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code ordering issue on Ubuntu 18.04 and Puppet6
3 participants