-
Notifications
You must be signed in to change notification settings - Fork 280
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
sensu installation fails due to rabbitmq cookbook #585
Comments
I am having a amazon machine which is equivalent to RHEL/Centos 6. In my own cookbook I have made the dependency of sensu cookbook for server and rabbitmq recipe. But then also it not compiling. Why we should explicitly pass any value or change any thing for user.
Through chef its really becoming difficult. |
Amazon is a different distribution than RHEL-family. They have diverged enough that Further, the Sensu has a list of supported platforms in its cookbook metadata and you'll probably have more success using one of those platforms instead. |
As Josh points out the cookbook does not officially support Amazon Linux or Amazon Linux 2. I am open to adding support if you can provide a contribution here and in the upstream rabbitmq cookbook. |
Yes can you add support for Amazon Linux.
May I know what are the steps I need to do ?
Regards
Prakash
…On Mon, Mar 26, 2018 at 12:29 AM, Ben Abrams ***@***.***> wrote:
As Josh points out the cookbook does not officially support Amazon Linux
or Amazon Linux 2. I am open to adding support if you can provide a
contribution here and in the upstream rabbitmq cookbook.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#585 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Acx7D9OsDFmFb2sP-5mQ71Tc4nClcCcNks5th-kOgaJpZM4QMPEb>
.
|
I don't run amazon linux so this is not currently a priority for me to do but essentially you need to figure out what is different from rhel families and amazon linux and add it in a case statement for the platform. For the sensu client, api, and server installer this would be here: https://github.com/sensu/sensu-chef/blob/v4.3.0/recipes/_linux.rb#L67-L91. For the rabbitmq cookbook changes it would need to happen either here or more likely needs to be addressed upstream in the rabbitmq cookbook I would probably start by raising an issue with the rabbitmq cookbook as I'd be willing to bet it will be needed to update the upstream cookbook from my quick review. |
Recipe: sensu::rabbitmq
* group[rabbitmq] action create
- create group rabbitmq
* directory[/etc/rabbitmq/ssl] action create
- create new directory /etc/rabbitmq/ssl
- change mode from '' to '0755'
* file[/etc/rabbitmq/ssl/cacert.pem] action create
- create new file /etc/rabbitmq/ssl/cacert.pem
- update content in file /etc/rabbitmq/ssl/cacert.pem from none to 704c98
- suppressed sensitive resource
- change mode from '' to '0640'
- change group from '' to 'rabbitmq'
* file[/etc/rabbitmq/ssl/cert.pem] action create
- create new file /etc/rabbitmq/ssl/cert.pem
- update content in file /etc/rabbitmq/ssl/cert.pem from none to 3d6db7
- suppressed sensitive resource
- change mode from '' to '0640'
- change group from '' to 'rabbitmq'
* file[/etc/rabbitmq/ssl/key.pem] action create
- create new file /etc/rabbitmq/ssl/key.pem
- update content in file /etc/rabbitmq/ssl/key.pem from none to c79a15
- suppressed sensitive resource
- change mode from '' to '0640'
- change group from '' to 'rabbitmq'
* directory[/etc/rabbitmq/ssl/client] action create
- create new directory /etc/rabbitmq/ssl/client
- change mode from '' to '0755'
* file[/etc/rabbitmq/ssl/client/cert.pem] action create
- create new file /etc/rabbitmq/ssl/client/cert.pem
- update content in file /etc/rabbitmq/ssl/client/cert.pem from none to 4092c4
- suppressed sensitive resource
- change mode from '' to '0640'
- change group from '' to 'rabbitmq'
* file[/etc/rabbitmq/ssl/client/key.pem] action create
- create new file /etc/rabbitmq/ssl/client/key.pem
- update content in file /etc/rabbitmq/ssl/client/key.pem from none to 53aa46
- suppressed sensitive resource
- change mode from '' to '0640'
- change group from '' to 'rabbitmq'
Recipe: rabbitmq::default
* directory[/var/lib/rabbitmq/mnesia] action create
* cannot determine user id for 'rabbitmq', does the user exist on this system?
================================================================================
Error executing action
create
on resource 'directory[/var/lib/rabbitmq/mnesia]'================================================================================
Do we need to pass the user explicitly from our recipe ? Why this is required?
The text was updated successfully, but these errors were encountered: