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

service action enable does not work on Linux Mint 17 #2726

Closed
rlipscombe opened this issue Jan 7, 2015 · 4 comments
Closed

service action enable does not work on Linux Mint 17 #2726

rlipscombe opened this issue Jan 7, 2015 · 4 comments

Comments

@rlipscombe
Copy link

When using the 'postgresql' (https://supermarket.chef.io/cookbooks/postgresql) cookbook, chef-solo (v11.16.4) fails with:

Error executing action `enable` on resource 'service[postgresql]'
File '/etc/init/postgresql.conf' does not exist

This is because chef assumes that Linux Mint uses upstart; for the postgresql-9.3 package, it's still using init.d.

So the action [:enable] attribute does the wrong thing.

A similar problem occurs with the 'rabbitmq' cookbook (https://supermarket.chef.io/cookbooks/rabbitmq), which makes me think that this needs fixing in chef, rather than in the individual cookbooks.

@lamont-granquist
Copy link
Contributor

No, those are bugs against the individual cookbooks, they should already have an if statement around the platform_version when the platform is ubuntu and they need another one around the platform_version when the platform is linuxmint.

@rlipscombe
Copy link
Author

Cool, so how do I report a bug against the individual cookbooks? I might be being dim, but I can't find any link from (e.g.) https://supermarket.chef.io/cookbooks/rabbitmq where I might do that.

@lamont-granquist
Copy link
Contributor

There should be a link to the github sources somewhere. If not google github cookbook rabbitmq and its the top hit https://github.com/jjasghar/rabbitmq

@rlipscombe
Copy link
Author

Also chef/supermarket#962.

@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants