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

Debian support #1

Closed
sammcj opened this issue Apr 27, 2014 · 4 comments
Closed

Debian support #1

sammcj opened this issue Apr 27, 2014 · 4 comments

Comments

@sammcj
Copy link

sammcj commented Apr 27, 2014

Good work on starting a module for consul.

It would be great if this could support Debian as well as Ubuntu.
Looking at the module, I think it's only in need of an init script to get it off the ground.

If I get time this week I'll submit a pull request.

@solarkennedy
Copy link
Contributor

Totally!

It is hard to "guess" what init variant different distros are using, we probably need to make it configurable :(

Somebody is going to need systemd, some need upstart, and some need plain sysvinit.

@EvanKrall
Copy link
Contributor

Hi @sammcj, I've pushed support for RedHat-style sysvinit scripts and old Ubuntu-style sysvinit scripts (using start-stop-daemon). The "hardy" script might work on Debian -- just pass init_style => 'hardy'.

I'm going to try this out on a Squeeze VM, will let you know.

@EvanKrall
Copy link
Contributor

Well, Squeeze comes with old puppet, so I tried wheezy instead. Looks like it works just fine, so I've made this module use it by default on Debian. Please let me know if anything doesn't work.

@sammcj
Copy link
Author

sammcj commented Jun 13, 2014

Awesome Thanks @EvanKrall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants