Comments (9)
Was already working on a PR for this over the weekend actually :)
from chef-stackstorm.
Awesome!
from chef-stackstorm.
Looks like this actually will not work without some tweeking on the stackstorm cookbook side. The rabbitmq cookbook does not support centos 6 since the version it installs requires a newer version of erlang than is in the el6 repo's.
Recipe: rabbitmq::default
* yum_package[socat] action install
- install version 1.7.2.3-1.el6 of package socat
* remote_file[/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm] action create_if_missing
- create new file /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm
- update content in file /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm from none to b68895
(new content is binary, diff output suppressed)
- restore selinux security context
* rpm_package[/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm] action install
================================================================================
Error executing action `install` on resource 'rpm_package[/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of rpm -i /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm ----
STDOUT:
STDERR: warning: /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 056e8e56: NOKEY
error: Failed dependencies:
erlang >= R16B-03 is needed by rabbitmq-server-3.6.1-1.noarch
---- End output of rpm -i /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm ----
Ran rpm -i /tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm returned 1
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action'
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/rabbitmq/recipes/default.rb
121: rpm_package "#{Chef::Config[:file_cache_path]}/#{node['rabbitmq']['rpm_package']}"
122: end
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/rabbitmq/recipes/default.rb:121:in `from_file'
rpm_package("/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm") do
package_name "/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm"
action [:install]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :rpm_package
cookbook_name "rabbitmq"
recipe_name "default"
source "/tmp/kitchen/cache/rabbitmq-server-3.6.1-1.noarch.rpm"
version "3.6.1-1"
end
Platform:
---------
x86_64-linux
from chef-stackstorm.
The rabbitmq cookbook does not support centos 6 since the version it installs requires a newer version of erlang than is in the el6 repo's.
Wasn't expecting something friendly from anything related to EL6
😄
from chef-stackstorm.
Wasn't expecting something friendly from anything related to EL6 😄
true story
from chef-stackstorm.
@armab do we still want this considering it will take some customization to get it to work?
personally, i would say its probably not worth it
from chef-stackstorm.
@shortdudey123 Yeah, I agree with you.
Let's just keep this Issue for informational purposes.
If someone needs CentOS6
/ RHEL6
, we're open to PR contribution :)
from chef-stackstorm.
cool, going to close for now then
from chef-stackstorm.
I mean, let's keep it open for Informational purposes :)
Eg. it's a good thing to add, but doesn't look like a big priority or significance for now.
from chef-stackstorm.
Related Issues (20)
- Use own StackStorm "init" Docker images in Test-Kitchen HOT 4
- Cookbook Cleanup
- EL SELinux check HOT 2
- Add support for full st2.conf
- Release 0.5.0 HOT 3
- Include st2chatops install
- Lint Checks vs Integration Tests in 2 CIs HOT 4
- Missing st2 auth credentials generation in /etc/st2/htpasswd
- Generate ~/.st2/config for CLI auth
- LWRP for st2 pack install HOT 1
- platform_version in Travis HOT 7
- Use encrypted Data Bags HOT 3
- Multiplatform chefspec testing
- Cleanup TravisCI output HOT 1
- CI is broken on CentOS7 HOT 3
- Fix compatibility with Chef 13 HOT 2
- Switch to MongoDB '3.4' since st2 '2.4.0'
- Drop Ubuntu 14 support since st2 v3.1
- CentOS 8 / RHEL 8 Support
- Remove `--always-copy` >=EL7 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-stackstorm.