Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request (mesos-master) - systemd : After / Wants #80

Closed
tamama opened this issue Sep 3, 2017 · 2 comments
Closed

Feature request (mesos-master) - systemd : After / Wants #80

tamama opened this issue Sep 3, 2017 · 2 comments
Labels

Comments

@tamama
Copy link

tamama commented Sep 3, 2017

Hi there,

May I kindly request if we can have an option to define After and Wants for mesos-master systemd?

Reason: I want it to start after zookeeper-server.service openvpn-client@.service - the latter is because I want to bind everything to the vpn interface only.

Kind regards,
Tamama

@deric
Copy link
Owner

deric commented Sep 4, 2017

Implemented in master branch. Something like:

class{'mesos::master':
  service_provider    => 'systemd',
  manage_service_file => true,
  systemd_wants       => 'network.target zookeeper-server.service',
  systemd_after       => 'network.target zookeeper-service.service',
}

should work.

@tamama
Copy link
Author

tamama commented Sep 5, 2017

Thank you so much.
This works perfectly on my cluster.

Kind regards,
Tamama

@tamama tamama closed this as completed Sep 5, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants