Giter Club home page Giter Club logo

Comments (9)

shortdudey123 avatar shortdudey123 commented on June 3, 2024 2

Was already working on a PR for this over the weekend actually :)

from chef-stackstorm.

arm4b avatar arm4b commented on June 3, 2024

Awesome!

from chef-stackstorm.

shortdudey123 avatar shortdudey123 commented on June 3, 2024

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.

arm4b avatar arm4b commented on June 3, 2024

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.

shortdudey123 avatar shortdudey123 commented on June 3, 2024

Wasn't expecting something friendly from anything related to EL6 😄

true story

from chef-stackstorm.

shortdudey123 avatar shortdudey123 commented on June 3, 2024

@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.

arm4b avatar arm4b commented on June 3, 2024

@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.

shortdudey123 avatar shortdudey123 commented on June 3, 2024

cool, going to close for now then

from chef-stackstorm.

arm4b avatar arm4b commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.