-
Notifications
You must be signed in to change notification settings - Fork 60
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
service can't be run on CentOS #16
Comments
Which version of CentOS and Puppet do you have? Is it 6? Have a look here: #8 We can't simply use Rather than copying this logic from Puppet we've decided to keep the code as simple as possible, which should ensure compatibility with future releases of RedHat OS. |
Ok. Sorry, makes sense. It is CentOS 6.5 and Puppet 3.6.2 |
If you would insist on this we can add some parameter like |
Puppet 3.6.2 is fairly latest production version. And it doesn't work with it. I would happy if we can introduce change to specify provider ( |
Ok, sure if there's no other workaround we could add it. @wleese what do you think? |
Strange. Has the service script properly been installed into init.d? More details would be great. It looks like init.d isnt used, so if that isnt happening, it d be good to know what puppet is doing. |
@wleese No, the script is placed into |
Ah! Of course. The real issue here is the rpm. It only has an upstart script and doesnt present anything useful for non upstart systems. |
Ok, if I understand it correctly we could fix this by changing mesos packaging: https://github.com/mesosphere/mesos-deb-packaging/blob/master/build_mesos#L204 redhat/6|redhat/6.*|centos/6|centos/6.*)
mkdir -p etc/init
cp "$this"/ubuntu/master.upstart etc/init/mesos-master.conf
cp "$this"/ubuntu/slave.upstart etc/init/mesos-slave.conf ;; RedHat 6 is by default looking into |
Well, the github title says it deals with debian packaging, not redhat.. RedHat supports both upstart and sysvinit (init.d), but really only uses Structural fix would require writing and testing a proper sysvinit script ( Frankly, providing the override provider parameter is the best short term On Mon, Sep 1, 2014 at 10:12 PM, deric notifications@github.com wrote:
|
That repo is a fork of mine repository which was intended as Debian packing. Partially mine fault :) I'll submit an issue to mesosphere repo, until then, you can use |
It looks like there isn't an updated tag for this repo which includes the Therefore I can't use this module from Puppetforge at the moment. Any chance of creating an updated tag? |
Sure, I've tagged it as |
Error: Could not start Service[mesos-slave]: Execution of '/sbin/service mesos-slave start' returned 1: mesos-slave: unrecognized service
Wrapped exception:
specifying
provider => 'upstart'
solves the issueThe text was updated successfully, but these errors were encountered: